Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: e654b85a693e ("net: ti: icssg-prueth: Add ICSSG Ethernet driver for AM65x SR1.0 platforms")
Fixes: 511f6c1ae093 ("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>

authored by

Arnd Bergmann and committed by
Jakub Kicinski
9e7477a4 5ace7ef8

+2 -1
+2 -1
drivers/net/ethernet/ti/Kconfig
··· 209 209 depends on PRU_REMOTEPROC 210 210 depends on NET_SWITCHDEV 211 211 depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER 212 + depends on PTP_1588_CLOCK_OPTIONAL 212 213 help 213 214 Support dual Gigabit Ethernet ports over the ICSSG PRU Subsystem. 214 215 This subsystem is available on the AM65 SR1.0 platform. ··· 235 234 depends on PRU_REMOTEPROC 236 235 depends on NET_SWITCHDEV 237 236 select TI_ICSS_IEP 238 - imply PTP_1588_CLOCK 237 + depends on PTP_1588_CLOCK_OPTIONAL 239 238 help 240 239 Some TI SoCs has Programmable Realtime Unit (PRU) cores which can 241 240 support Single or Dual Ethernet ports with the help of firmware code