From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 08 Jan 2022 08:57:34 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n66bW-00EJpf-Pl for lore@lore.pengutronix.de; Sat, 08 Jan 2022 08:57:34 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1n66bV-0006Nh-Uz; Sat, 08 Jan 2022 08:57:33 +0100 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n66bN-0006Me-HA; Sat, 08 Jan 2022 08:57:25 +0100 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1n66bN-001oU6-2D; Sat, 08 Jan 2022 08:57:25 +0100 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Sat, 8 Jan 2022 08:57:22 +0100 Message-Id: <20220108075723.432333-2-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220108075723.432333-1-a.fatoum@pengutronix.de> References: <20220108075723.432333-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 1/2] v7a: kernel: enable new TI CPSW switchdev driver X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false The kernel now has two CPSW drivers and the device tree has two device tree nodes, where one or the other may be enabled. The upstream device tree was switched to new switchdev-based CPSW in v5.15-rc1. Update our kernelconfig to enable the appropriate driver to get networking working again on the Beaglebone Black. Fixes: 6ec9f5202c28 ("platform-v7a: kernel: version bump v5.14 -> v5.15") Signed-off-by: Ahmad Fatoum --- P.S.: Beaglebone tests should probably include testing Ethernet link --- configs/platform-v7a/kernelconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig index b7b1793467f0..dea31bfe298c 100644 --- a/configs/platform-v7a/kernelconfig +++ b/configs/platform-v7a/kernelconfig @@ -1086,7 +1086,7 @@ CONFIG_DNS_RESOLVER=y # CONFIG_MPLS is not set # CONFIG_NET_NSH is not set # CONFIG_HSR is not set -# CONFIG_NET_SWITCHDEV is not set +CONFIG_NET_SWITCHDEV=y # CONFIG_NET_L3_MASTER_DEV is not set # CONFIG_QRTR is not set # CONFIG_NET_NCSI is not set @@ -1131,6 +1131,7 @@ CONFIG_DST_CACHE=y CONFIG_GRO_CELLS=y CONFIG_NET_SELFTESTS=y CONFIG_NET_SOCK_MSG=y +CONFIG_NET_DEVLINK=y CONFIG_PAGE_POOL=y # CONFIG_FAILOVER is not set CONFIG_ETHTOOL_NETLINK=y @@ -1479,6 +1480,7 @@ CONFIG_FEC=y # CONFIG_FSL_PQ_MDIO is not set # CONFIG_FSL_XGMAC_MDIO is not set # CONFIG_GIANFAR is not set +# CONFIG_FSL_DPAA2_SWITCH is not set # CONFIG_FSL_ENETC_IERB is not set CONFIG_NET_VENDOR_GOOGLE=y # CONFIG_NET_VENDOR_HISILICON is not set @@ -1519,8 +1521,9 @@ CONFIG_DWMAC_IMX8=y # CONFIG_NET_VENDOR_SYNOPSYS is not set CONFIG_NET_VENDOR_TI=y CONFIG_TI_DAVINCI_MDIO=y -CONFIG_TI_CPSW_PHY_SEL=y -CONFIG_TI_CPSW=y +# CONFIG_TI_CPSW_PHY_SEL is not set +# CONFIG_TI_CPSW is not set +CONFIG_TI_CPSW_SWITCHDEV=y CONFIG_TI_CPTS=y # CONFIG_NET_VENDOR_VIA is not set # CONFIG_NET_VENDOR_WIZNET is not set -- 2.30.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de