From: Robert Schwebel <r.schwebel@pengutronix.de>
To: "Uwe Kleine-König" <ukleinek@baylibre.com>
Cc: distrokit@pengutronix.de,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Subject: Re: [DistroKit] [PATCH v2] v7a: kernel: Enable I/O expander driver for STM32MP135F-DK
Date: Wed, 14 Aug 2024 09:25:27 +0200 [thread overview]
Message-ID: <Zrxb53Su6DM73uI5@pengutronix.de> (raw)
In-Reply-To: <20240731223538.3008673-2-uwe@kleine-koenig.org>
applied to next
On Thu, Aug 01, 2024 at 12:35:39AM +0200, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
>
> 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 <u.kleine-koenig@baylibre.com>
> ---
> 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 |
prev parent reply other threads:[~2024-08-14 7:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 22:35 Uwe Kleine-König
2024-08-01 9:50 ` Ahmad Fatoum
2024-08-01 10:12 ` Uwe Kleine-König
2024-08-01 10:13 ` Ahmad Fatoum
2024-08-14 7:25 ` Robert Schwebel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zrxb53Su6DM73uI5@pengutronix.de \
--to=r.schwebel@pengutronix.de \
--cc=distrokit@pengutronix.de \
--cc=u.kleine-koenig@baylibre.com \
--cc=ukleinek@baylibre.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox