[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250430084417.GB31028@nxa18884-linux>
Date: Wed, 30 Apr 2025 16:44:17 +0800
From: Peng Fan <peng.fan@....nxp.com>
To: Francesco Dolcini <francesco@...cini.it>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Emanuele Ghidoli <emanuele.ghidoli@...adex.com>,
devicetree@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Francesco Dolcini <francesco.dolcini@...adex.com>
Subject: Re: [PATCH v1 3/4] arm64: dts: freescale: imx8mp-toradex-smarc: add
gpio expander
On Tue, Apr 29, 2025 at 01:31:18PM +0200, Francesco Dolcini wrote:
>From: Emanuele Ghidoli <emanuele.ghidoli@...adex.com>
>
>Add gpio expander node to the device tree and the related nodes.
>
>Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@...adex.com>
>Signed-off-by: Francesco Dolcini <francesco.dolcini@...adex.com>
>---
> .../dts/freescale/imx8mp-toradex-smarc.dtsi | 25 +++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
>diff --git a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi
>index c4ca01ce60d0..de84e7e52efd 100644
>--- a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi
>+++ b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi
>@@ -54,6 +54,13 @@ smarc_key_sleep: key-sleep {
> wakeup-source;
> linux,code = <KEY_SLEEP>;
> };
>+
>+ smarc_switch_lid: switch-lid {
>+ gpios = <&som_ec_gpio_expander 2 GPIO_ACTIVE_LOW>;
>+ label = "SMARC_LID#";
>+ linux,code = <SW_LID>;
>+ linux,input-type = <EV_SW>;
>+ };
> };
>
> reg_usb0_vbus: regulator-usb0-vbus {
>@@ -539,6 +546,24 @@ embedded-controller@28 {
> reg = <0x28>;
> };
>
>+ som_ec_gpio_expander: gpio-expander@29 {
Use "gpio@29" ?
Regards,
Peng
Powered by blists - more mailing lists