DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v2] v7a: kernel: Enable I/O expander driver for STM32MP135F-DK
@ 2024-07-31 22:35 Uwe Kleine-König
  2024-08-01  9:50 ` Ahmad Fatoum
  2024-08-14  7:25 ` Robert Schwebel
  0 siblings, 2 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2024-07-31 22:35 UTC (permalink / raw)
  To: distrokit; +Cc: Uwe Kleine-König

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-14  7:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-31 22:35 [DistroKit] [PATCH v2] v7a: kernel: Enable I/O expander driver for STM32MP135F-DK 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox