From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 07 Jul 2023 12:26:01 +0200 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 1qHif5-001TD7-7m for lore@lore.pengutronix.de; Fri, 07 Jul 2023 12:26:01 +0200 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 1qHif2-0000Fd-S2; Fri, 07 Jul 2023 12:26:00 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qHieu-0000F9-6d; Fri, 07 Jul 2023 12:25:52 +0200 Received: from ore by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1qHiet-0001di-Vp; Fri, 07 Jul 2023 12:25:51 +0200 Date: Fri, 7 Jul 2023 12:25:51 +0200 From: Oleksij Rempel To: Ahmad Fatoum Message-ID: <20230707102551.GA3885@pengutronix.de> References: <20230706114434.1751248-1-o.rempel@pengutronix.de> <20230706114434.1751248-4-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again 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: distrokit@pengutronix.de 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 On Thu, Jul 06, 2023 at 02:51:50PM +0200, Ahmad Fatoum wrote: > On 06.07.23 13:44, Oleksij Rempel wrote: > > DSA KSZ switch related Kconfig symbols was changed at some kernel > > version. So, the switch driver was partially disabled. So, re-enable > > KSZ SPI support and make KSZ9477 EVB work again. > > > > Signed-off-by: Oleksij Rempel > > Reviewed-by: Ahmad Fatoum > > DSA is disabled in barebox. Should we enable it there as well? Good point. I'll do it in a separate patch. > > --- > > configs/platform-v7a_noneon/kernelconfig | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/configs/platform-v7a_noneon/kernelconfig b/configs/platform-v7a_noneon/kernelconfig > > index edd9e50..eb7a92f 100644 > > --- a/configs/platform-v7a_noneon/kernelconfig > > +++ b/configs/platform-v7a_noneon/kernelconfig > > @@ -1121,6 +1121,7 @@ CONFIG_GENERIC_CPU_VULNERABILITIES=y > > CONFIG_SOC_BUS=y > > CONFIG_REGMAP=y > > CONFIG_REGMAP_I2C=y > > +CONFIG_REGMAP_SPI=y > > CONFIG_REGMAP_MMIO=y > > CONFIG_DMA_SHARED_BUFFER=y > > # CONFIG_DMA_FENCE_TRACE is not set > > @@ -1408,7 +1409,7 @@ CONFIG_WIREGUARD=y > > # CONFIG_NET_DSA_MV88E6060 is not set > > CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON=y > > CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C=y > > -# CONFIG_NET_DSA_MICROCHIP_KSZ_SPI is not set > > +CONFIG_NET_DSA_MICROCHIP_KSZ_SPI=y > > CONFIG_NET_DSA_MICROCHIP_KSZ_PTP=y > > CONFIG_NET_DSA_MICROCHIP_KSZ8863_SMI=y > > # CONFIG_NET_DSA_MV88E6XXX is not set > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |