From: "Uwe Kleine-König" <ukleinek@baylibre.com>
To: distrokit@pengutronix.de
Cc: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Subject: [DistroKit] [PATCH v2] v7a: kernel: Enable I/O expander driver for STM32MP135F-DK
Date: Thu, 1 Aug 2024 00:35:39 +0200 [thread overview]
Message-ID: <20240731223538.3008673-2-uwe@kleine-koenig.org> (raw)
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
next reply other threads:[~2024-08-01 8:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 22:35 Uwe Kleine-König [this message]
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
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=20240731223538.3008673-2-uwe@kleine-koenig.org \
--to=ukleinek@baylibre.com \
--cc=distrokit@pengutronix.de \
--cc=u.kleine-koenig@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