From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 14 Aug 2024 09:25:34 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1se8Ny-009SeK-0l for lore@lore.pengutronix.de; Wed, 14 Aug 2024 09:25:34 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1se8Nx-0003Hl-8w; Wed, 14 Aug 2024 09:25:33 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1se8Nr-0003HJ-Re; Wed, 14 Aug 2024 09:25:27 +0200 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1se8Nr-000J6R-D3; Wed, 14 Aug 2024 09:25:27 +0200 Received: from rsc by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1se8Nr-002SZt-0x; Wed, 14 Aug 2024 09:25:27 +0200 Date: Wed, 14 Aug 2024 09:25:27 +0200 From: Robert Schwebel To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Message-ID: References: <20240731223538.3008673-2-uwe@kleine-koenig.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240731223538.3008673-2-uwe@kleine-koenig.org> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH v2] v7a: kernel: Enable I/O expander driver for STM32MP135F-DK 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, Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false applied to next On Thu, Aug 01, 2024 at 12:35:39AM +0200, Uwe Kleine-König wrote: > From: Uwe Kleine-König > > The i2c I/O expander MCP23S08 provides GPIOs to reset various components > (ethernet phy, display bridge, camera). The I/O expander is configured > as built-in as it is needed for nfs-root operation (once the kernel > contains the needed adaptions for the stmmac to support the stm32mp13x). > > Signed-off-by: Uwe Kleine-König > --- > Hello, > > (implicit) v1 of this patch had a different subject as some more drivers > were enabled, see > https://lore.pengutronix.de/distrokit/20240730150915.2397723-2-u.kleine-koenig@baylibre.com/ > . Ahmad requested to only enable the I/O expander as display and camera > are not supported in Distrokit userspace anyhow. > > Best regards > Uwe > > configs/platform-v7a/kernelconfig | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig > index e6fadf500da3..5f12b549580c 100644 > --- a/configs/platform-v7a/kernelconfig > +++ b/configs/platform-v7a/kernelconfig > @@ -1208,6 +1208,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_REGMAP_IRQ=y > CONFIG_DMA_SHARED_BUFFER=y > @@ -2100,7 +2101,9 @@ CONFIG_GENERIC_PINCONF=y > CONFIG_PINCTRL_AT91=y > CONFIG_PINCTRL_AT91PIO4=y > # CONFIG_PINCTRL_CY8C95X0 is not set > -# CONFIG_PINCTRL_MCP23S08 is not set > +CONFIG_PINCTRL_MCP23S08_I2C=y > +CONFIG_PINCTRL_MCP23S08_SPI=y > +CONFIG_PINCTRL_MCP23S08=y > # CONFIG_PINCTRL_MICROCHIP_SGPIO is not set > # CONFIG_PINCTRL_OCELOT is not set > # CONFIG_PINCTRL_PALMAS is not set > > base-commit: 747926d7f2936451c93f72b8dc0cfc58c7bb3122 > -- > 2.43.0 > > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |