Skip to content

Commit 9e7477a

Browse files
arndbkuba-moo
authored andcommitted
net: ti: icssg-prueth: add PTP_1588_CLOCK_OPTIONAL dependency
The new icssg-prueth driver needs the same dependency as the other parts that use the ptp-1588: WARNING: unmet direct dependencies detected for TI_ICSS_IEP Depends on [m]: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_TI [=y] && PTP_1588_CLOCK_OPTIONAL [=m] && TI_PRUSS [=y] Selected by [y]: - TI_PRUETH [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_TI [=y] && PRU_REMOTEPROC [=y] && NET_SWITCHDEV [=y] Add the correct dependency on the two drivers missing it, and remove the pointless 'imply' in the process. Fixes: e654b85 ("net: ti: icssg-prueth: Add ICSSG Ethernet driver for AM65x SR1.0 platforms") Fixes: 511f6c1 ("net: ti: icssm-prueth: Adds ICSSM Ethernet driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Link: https://patch.msgid.link/20251204100138.1034175-1-arnd@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 5ace7ef commit 9e7477a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/ti/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ config TI_ICSSG_PRUETH_SR1
209209
depends on PRU_REMOTEPROC
210210
depends on NET_SWITCHDEV
211211
depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER
212+
depends on PTP_1588_CLOCK_OPTIONAL
212213
help
213214
Support dual Gigabit Ethernet ports over the ICSSG PRU Subsystem.
214215
This subsystem is available on the AM65 SR1.0 platform.
@@ -234,7 +235,7 @@ config TI_PRUETH
234235
depends on PRU_REMOTEPROC
235236
depends on NET_SWITCHDEV
236237
select TI_ICSS_IEP
237-
imply PTP_1588_CLOCK
238+
depends on PTP_1588_CLOCK_OPTIONAL
238239
help
239240
Some TI SoCs has Programmable Realtime Unit (PRU) cores which can
240241
support Single or Dual Ethernet ports with the help of firmware code

0 commit comments

Comments
 (0)