* [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support
@ 2025-03-13 9:54 Sascha Hauer
2025-03-13 9:54 ` [PATCH 2/2] ARM: multi_v8_defconfig: enable k3 drivers Sascha Hauer
2025-03-14 16:13 ` [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer
0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2025-03-13 9:54 UTC (permalink / raw)
To: Barebox List
The am65-cpsw-nuss needs DMA functions provided by CONFIG_DMADEVICES, so
we must depend on this option to avoid linker errors. As the am65-cpsw-nuss
is useless without the DMA hardware driver depend on CONFIG_TI_K3_UDMA
instead which implies CONFIG_DMADEVICES.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/net/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 5c436a05cc..0099845096 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -68,6 +68,7 @@ config DRIVER_NET_DAVINCI_EMAC
config DRIVER_NET_TI_K3_AM65_CPSW_NUSS
bool "TI K3 AM654x/J721E CPSW Ethernet driver"
depends on ARCH_K3 || COMPILE_TEST
+ depends on TI_K3_UDMA
select DRIVER_NET_TI_DAVINCI_MDIO
select PHYLIB
help
--
2.39.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: multi_v8_defconfig: enable k3 drivers
2025-03-13 9:54 [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer
@ 2025-03-13 9:54 ` Sascha Hauer
2025-03-14 16:13 ` [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2025-03-13 9:54 UTC (permalink / raw)
To: Barebox List
The K3 architecture is enabled in multi_v8_defconfig. Enable the K3
specific drivers to make it more usable.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/configs/multi_v8_defconfig | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/configs/multi_v8_defconfig b/arch/arm/configs/multi_v8_defconfig
index b1e66e85f4..78964990a9 100644
--- a/arch/arm/configs/multi_v8_defconfig
+++ b/arch/arm/configs/multi_v8_defconfig
@@ -155,6 +155,7 @@ CONFIG_DRIVER_SERIAL_NS16550=y
CONFIG_DRIVER_SERIAL_CADENCE=y
CONFIG_DRIVER_SERIAL_LPUART32=y
CONFIG_VIRTIO_CONSOLE=y
+CONFIG_DRIVER_NET_TI_K3_AM65_CPSW_NUSS=y
CONFIG_DRIVER_NET_DESIGNWARE_IMX8=y
CONFIG_DRIVER_NET_DESIGNWARE_ROCKCHIP=y
CONFIG_DRIVER_NET_FEC_IMX=y
@@ -180,6 +181,7 @@ CONFIG_DRIVER_SPI_IMX=y
CONFIG_SPI_NXP_FLEXSPI=y
CONFIG_I2C_GPIO=y
CONFIG_I2C_IMX=y
+CONFIG_I2C_OMAP=y
CONFIG_I2C_RK3X=y
CONFIG_I2C_MUX=y
CONFIG_I2C_MUX_PCA954x=y
@@ -207,10 +209,11 @@ CONFIG_SOUND=y
CONFIG_MCI=y
CONFIG_MCI_MMC_BOOT_PARTITIONS=y
CONFIG_MCI_DW=y
-CONFIG_MCI_ROCKCHIP_DWCMSHC=y
CONFIG_MCI_SUNXI_SMHC=y
+CONFIG_MCI_ROCKCHIP_DWCMSHC=y
CONFIG_MCI_IMX_ESDHC=y
CONFIG_MCI_ARASAN=y
+CONFIG_MCI_AM654=y
CONFIG_COMMON_CLK_SCMI=y
CONFIG_MFD_ACT8846=y
CONFIG_RAVE_SP_CORE=y
@@ -230,8 +233,11 @@ CONFIG_WATCHDOG_DW=y
CONFIG_WATCHDOG_IMX=y
CONFIG_WATCHDOG_IMXULP=y
CONFIG_RAVE_SP_WATCHDOG=y
+CONFIG_K3_RTI_WDT=y
CONFIG_HWRNG=y
CONFIG_HW_RANDOM_VIRTIO=y
+CONFIG_DMADEVICES=y
+CONFIG_TI_K3_UDMA=y
CONFIG_GPIO_PCA953X=y
CONFIG_GPIO_ZYNQ=y
CONFIG_PINCTRL_SINGLE=y
--
2.39.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support
2025-03-13 9:54 [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer
2025-03-13 9:54 ` [PATCH 2/2] ARM: multi_v8_defconfig: enable k3 drivers Sascha Hauer
@ 2025-03-14 16:13 ` Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2025-03-14 16:13 UTC (permalink / raw)
To: Barebox List, Sascha Hauer
On Thu, 13 Mar 2025 10:54:41 +0100, Sascha Hauer wrote:
> The am65-cpsw-nuss needs DMA functions provided by CONFIG_DMADEVICES, so
> we must depend on this option to avoid linker errors. As the am65-cpsw-nuss
> is useless without the DMA hardware driver depend on CONFIG_TI_K3_UDMA
> instead which implies CONFIG_DMADEVICES.
>
>
Applied, thanks!
[1/2] net: am65-cpsw-nuss: depends on DMA support
https://git.pengutronix.de/cgit/barebox/commit/?id=3c8f3959650e (link may not be stable)
[2/2] ARM: multi_v8_defconfig: enable k3 drivers
https://git.pengutronix.de/cgit/barebox/commit/?id=a7d2d53f3e2f (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-14 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-13 9:54 [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer
2025-03-13 9:54 ` [PATCH 2/2] ARM: multi_v8_defconfig: enable k3 drivers Sascha Hauer
2025-03-14 16:13 ` [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox