From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 01 Aug 2024 10:31:10 +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 1sZRDK-0054Ys-1S for lore@lore.pengutronix.de; Thu, 01 Aug 2024 10:31:10 +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 1sZRDJ-0004wS-2l; Thu, 01 Aug 2024 10:31:09 +0200 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1sZHv8-0000Cv-HD for distrokit@pengutronix.de; Thu, 01 Aug 2024 00:35:47 +0200 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-367ab76d5e1so2407197f8f.3 for ; Wed, 31 Jul 2024 15:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1722465345; x=1723070145; darn=pengutronix.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Rv0R9ZXQMGgnS7xyz4HkG1fxPBT6+D075HwTZa2QFVg=; b=MCCR6a25q23saR4l6JsgD5I6PSgD8xgIav6JwfD9fVKIRAuEDNteGj6t8uhv9WOvi8 k1UYxj4NmUacGeLZBINRFvvZpwjoOniHxcJxYJ1p6xMgbhP7bc8Q5aN6badLGc2HbIuz cHsOoYynDwMusP2UZpisSKtrvB8uzZVc+XGSqOCdD2RcmCZXIjv6WjfzzXlmXed1x0AE e6TWQxeVBgoWDVKVeagscbi80GbC4KHPHlg3V4WHJ85CQXyYbxVQvygVVHFIJyeJiXNU ReVkFbE20Gqjr0zBvZBvpgcKhd77+zPLKt/PwBIqfu8sAKFMF1C855RzXVBF7Uhhgbgy aksA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722465345; x=1723070145; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Rv0R9ZXQMGgnS7xyz4HkG1fxPBT6+D075HwTZa2QFVg=; b=w2LfVyc++P8sbeX/N+EfYiRWEHaWZ9m5InRuOV1B+d1aC2B+qCmve9wUXaVez8gnSh uEfS5LG8v4B1Z5btwR3NM/VAlO7XYq/lVPnhzJOimch/oQiD8UXA1rzqQU+YhHQhByVl XyUZHCwbQaRzGtjHMm2s0OdDBpQIY+rxXpkPavUBK5jwMtfwp1Bs9Z0kxlxyY2jM7VX3 mLgUI9K6gXw61VdzKsu5U+rbQWtP9DWNUyQ3WTnAjYOQikLilH4BfJSNp1ahG3IRsDqR rdqcqtr06YYfxRmNyWCk0yAIeJNYUpD+nil6auFQs5k2ykMmbNnGmjehpreeZXaM+AC1 4eHA== X-Gm-Message-State: AOJu0YzcF5BOSOjs/hhQZPy9yj7Ug/+rUMiGlzu214p0JK3UVf2XxEX0 hpd4H+YkZygPbbqxMcnyCMSzW9hpCA77LuPITstsMBb3UhxQt1J7FQAIbV3azJbpVEqKc/5IAw9 L X-Google-Smtp-Source: AGHT+IFXr9Uq3C+L8Ij6oSFt5D8sTIv0cfFKOsdRzLRg8Q4ysDlGhOKrhFVQChBdA07STvYnL/sf7Q== X-Received: by 2002:a5d:47af:0:b0:367:8f29:f7ae with SMTP id ffacd0b85a97d-36baaf507cfmr420498f8f.49.1722465345106; Wed, 31 Jul 2024 15:35:45 -0700 (PDT) Received: from localhost ([2a02:8071:b783:6940:e24b:3670:5765:d3ce]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36b367d9859sm17947845f8f.28.2024.07.31.15.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jul 2024 15:35:44 -0700 (PDT) From: "=?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: distrokit@pengutronix.de Date: Thu, 1 Aug 2024 00:35:39 +0200 Message-ID: <20240731223538.3008673-2-uwe@kleine-koenig.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1683; i=uwe@kleine-koenig.org; h=from:subject; bh=pqO5Gm7PIOJk/33cCMI6QwCw8Rk3lzjK1P8XNcXLlwE=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmqrw7fj6CRj5M0FSNDJN3OoZ3cGXTCzgwi+V8w ajkM850aByJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZqq8OwAKCRCPgPtYfRL+ TjYDB/0a6r+3mQnTmgZ2GppQ+wPPkLMDnqBlfsT1KBjoCDO/fF1FFS+XrHfhuTUVSaLG/iCS6Gq Y/cD6OXxqcp8YatiwOAfNZdsyX4TAmAFzeM2YPzQcBpxkxFIjqQbUCBy+ry8pPbT1wyutHI0Tn+ NIfvwjgJAwPqITNfLIoYK+Z5lnJ9007t3/MJnSzc6phYv68kmQmF9J+ZPO2lEcKX34/6cp57mrm Xt4Nfrvrf4BIKW53zcouJoIIguPQPS67QeP3klxSlxh+/I7osQenXNHKrC5UbOsJ79ZMBr+vvfQ BBvGjIYSxX2HT0VC8dNp+EbGR8BKZOaNh63Xd+zqX7alPUj7 X-Developer-Key: i=uwe@kleine-koenig.org; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=4.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Mailman-Approved-At: Thu, 01 Aug 2024 10:31:02 +0200 Subject: [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: =?UTF-8?q?Uwe=20Kleine-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 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