From nobody Sun Feb 8 13:17:12 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D7A02DC771; Wed, 30 Apr 2025 09:42:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006123; cv=none; b=Vrh6imdgcR5UGJpaRGtoozQ2oIf2JBCqhPLe3X80bzc1aGlUeCAoL0sSceHnUq81zSrovQNbWbxGDwym1F8PcDZ+U09qt866EqP0NlMr+EVC60bWGCpI+oyvWm/HnDH0YWQ4KfR5y4c36iRz1RYsc4MRHkYjTDYzx069Gha/9Fk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006123; c=relaxed/simple; bh=fzSvUu61XhKjmnGZmVyO0QUaZR+/121r+Z8tAdHf29Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CsAo1KnYWE4m4nU4+K9lqPIUpBRQEL4OV96cz2lIBEI68Zk3gPt6dEKU7sbO8EjUYOn6lfkr/mRFav5CZU/yhWmSsfQISu6T/dN2++Y1TUdDE36GosvEOecFJ9Gu7BkFsXxU9ZS6OzpWYClciU2jxwVGwZu9NGB1bbin1nAH8LU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=GD4bpCiv; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="GD4bpCiv" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id A2F231FC2D; Wed, 30 Apr 2025 11:41:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1746006119; bh=ntln+YOGpHmhFRt+vk8RW2Ng5oNX6WD2cK51HZdX7ck=; h=From:To:Subject; b=GD4bpCivljCnPyud/dxbHRcmv3iRa5N2NOk5X+AZ0/LAgNHPPDTQO0+u/u5ZQAUUj X8ySqMlB7gJWLQ26lFyOWLzSuV/wQFPnOPnYY6E2lXCZiUzW6sThDOHuW8gNIPQ834 9Xn5zoRMjnN3EsVcKQO+TjzaYwU+kWQQOao3SFMc11O8DEXjV6EVjKKxn0A66wL9tT ar8JqaN5iaLjuMEoj3sluzqPfwRVa/MHOBL/pc88ekepxGahCOSjmb0KEpAfca2JXI bEO6C2c1SbD+jlOpXmXwzNiA6TE0SxvmrVjloPgcg8ReNSKDvgBNWw2Jombmta9EKu dPyMWUR2EZMsA== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Catalin Marinas , Will Deacon Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH v2 1/5] arm64: dts: freescale: imx8mp-toradex-smarc: add fan PWM configuration Date: Wed, 30 Apr 2025 11:41:47 +0200 Message-Id: <20250430094151.98079-2-francesco@dolcini.it> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250430094151.98079-1-francesco@dolcini.it> References: <20250430094151.98079-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Dolcini Configure correctly the FAN pwm output (inverted). Reviewed-by: Peng Fan Signed-off-by: Francesco Dolcini --- v2: add r-b peng --- .../boot/dts/freescale/imx8mp-toradex-smarc-dev.dts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts b/a= rch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts index 581f221323b7..55b8c5c14fb4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts @@ -3,6 +3,8 @@ =20 /dts-v1/; =20 +#include + #include "imx8mp-toradex-smarc.dtsi" =20 / { @@ -205,9 +207,14 @@ &i2c6 { status =3D "okay"; =20 /* Fan controller */ - fan@18 { + fan_controller: fan@18 { compatible =3D "ti,amc6821"; reg =3D <0x18>; + #pwm-cells =3D <2>; + + fan { + pwms =3D <&fan_controller 40000 PWM_POLARITY_INVERTED>; + }; }; =20 /* Current measurement into module VDD */ --=20 2.39.5 From nobody Sun Feb 8 13:17:12 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98E0921C19D; Wed, 30 Apr 2025 09:42:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006124; cv=none; b=FwjBN4DLMnT8p+R15w0c3eHWjq2W+FeAeNnvOrqYfamRpD6jxcaKydc22ubWXC8+g0SXNb84MjOoI5jQrZhib6+SAQPTCKBXQLiMyu83CYaF1xXOMbLA2m/3Aab1zZKXpqLYBxJRdTD2iGe+70oP7jfoOs2GdS+tS88rNDJMxJA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006124; c=relaxed/simple; bh=iu/VMNMQmoQnwo/lSa87IsrAqt4Hvm3sc+mB7QVA7WY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AqmWpZP6q6/GVKXQCPB9BWOU00mZKfu7iqpbznIkI/wtTvhbOKmv2iSr5TzNsJRrNHnCKmYN+v7npOmQ+Jcyx/MMgJeaUc/enPAUXpTvDVIgK+aBrSEJe/ibVzfgrlnOjgZYZl+2J+lHh3MZagGWTuQjiuAf2H2+bpFjgjbyDi0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=pCpo3arA; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="pCpo3arA" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 5A2781FC12; Wed, 30 Apr 2025 11:41:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1746006119; bh=BDF8Z3RJZY5FcXZfk/EqiMQX/cKRyGAP1fzBEqQurz8=; h=From:To:Subject; b=pCpo3arAcXqLGP+7qpvoxOq5GWTB0NR5nTdNKIHbkx4GXYmPO64QZQU/Kj4pdWMWO x2OZ6VreGd6g+f1OyID5sNPedzR+NfFqRJY9P6PwxHjBlreHMBgbh+NZNNB12z2Jh+ YA+lZNZucnqFBeJvwjBhsoEISeCcev6p2mRREPINXaFR35d3N6PugzbXyBe3mH092Y 0I/g+JIRaxv/EGXEG8RRLYtTu+juk1Z3OG8qQbtZjOY6PiRT/7V4OeUVh+z43vx2bZ 4HGVx0HyTC7/CFHx1x6A6HAgr4XlPGgwA/e6QOPmOh/b7nrRcmn1BnjSxa9+eX1dor E8igKrGaBTMkA== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Catalin Marinas , Will Deacon Cc: Emanuele Ghidoli , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Francesco Dolcini Subject: [PATCH v2 2/5] arm64: dts: freescale: imx8mp-toradex-smarc: add embedded controller Date: Wed, 30 Apr 2025 11:41:48 +0200 Message-Id: <20250430094151.98079-3-francesco@dolcini.it> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250430094151.98079-1-francesco@dolcini.it> References: <20250430094151.98079-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Emanuele Ghidoli Add the embedded controller node to the device tree, this is required for reset and power-off functionalities. Reviewed-by: Peng Fan Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- v2: add r-b peng --- arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi b/arch= /arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi index 0a8b9eee5ed9..c4ca01ce60d0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi @@ -534,6 +534,11 @@ reg_sd_3v3_1v8: LDO5 { }; }; =20 + embedded-controller@28 { + compatible =3D "toradex,smarc-imx8mp-ec", "toradex,smarc-ec"; + reg =3D <0x28>; + }; + rtc_i2c: rtc@32 { compatible =3D "epson,rx8130"; reg =3D <0x32>; --=20 2.39.5 From nobody Sun Feb 8 13:17:12 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C538231856; Wed, 30 Apr 2025 09:42:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006125; cv=none; b=YJfSb2El1M62EkTpSwBM+cc/jTHijIVAJu+lMaSImz14TMQFd2mJjAEc2nE79+5IXsxh0HwBxFlQn1GOiVsSHBEc7CVRi3bIUphYMmVF8ZuUfBhk6hE7Zr1bJUo//aNaUaGK9SZ4BEBH67KOsga10lbu4czE9spsiCOUaU1JU1U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006125; c=relaxed/simple; bh=7D2Ep9acFCW0yu0dO3CNwljDZn0Z+jApxognHWwVa/w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qwdcU3G7XHxx1tX+maT/HSazYISeWOV76VLmBMpd8Yt8BcP1uUc2TCXQ8vKHkHg0ttwzgxuaxr8LnmUBQTXSHH3r51j+y8RyFiHECvnI+f8+N1Y6H5eMgJrLv1WRBSlk3HnCWmdownsNDBvcbs/BsMVVNNV4HjatVU2zg8ehqjA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=DIgppJcl; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="DIgppJcl" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 1529B1FC7A; Wed, 30 Apr 2025 11:42:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1746006120; bh=7NIEIJ/FCUKFcAXMy0195R/aYRKztB8r29LUVtuIC4k=; h=From:To:Subject; b=DIgppJclgxz+jRLz+hPnq/w1eBK/hGiuWLT1jcSZNz2IbfcdfjsrB+Y67ZbWjsRNk UYj7mL/pzrEo06n6N55Qzy+HCNoI0Wd/moeM92WeOxN6LyoUoKK2RX0duadI/jhHa5 L7rd6jFTt5nwpM6KkoYKHsnkSy6j2A7zEfSOzKSj5gUJXx69ZnpQq/lmO/bktq6X5U MOol6nJ84zmLOAjCRR8b/GT0qn6rD/rFd1Xx/NtC7UG98z3IXSTX63Cr0LHYdgyfhT fDlD2oyHdMn4FQcROxN8GiO4MFXW3guUqyd1aTPIq+S92JCnHBOunWKpcoTDjcu0GE uMvLqAHhVs6xQ== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Catalin Marinas , Will Deacon Cc: Emanuele Ghidoli , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Francesco Dolcini Subject: [PATCH v2 3/5] arm64: dts: freescale: imx8mp-toradex-smarc: add gpio expander Date: Wed, 30 Apr 2025 11:41:49 +0200 Message-Id: <20250430094151.98079-4-francesco@dolcini.it> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250430094151.98079-1-francesco@dolcini.it> References: <20250430094151.98079-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Emanuele Ghidoli Add gpio expander node to the device tree and the related nodes. Reviewed-by: Peng Fan Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- v2: add r-b peng, use generic gpio node name --- .../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..0cd04c3c96bb 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 =3D ; }; + + smarc_switch_lid: switch-lid { + gpios =3D <&som_ec_gpio_expander 2 GPIO_ACTIVE_LOW>; + label =3D "SMARC_LID#"; + linux,code =3D ; + linux,input-type =3D ; + }; }; =20 reg_usb0_vbus: regulator-usb0-vbus { @@ -539,6 +546,24 @@ embedded-controller@28 { reg =3D <0x28>; }; =20 + som_ec_gpio_expander: gpio@29 { + compatible =3D "toradex,ecgpiol16", "nxp,pcal6416"; + reg =3D <0x29>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_mcu_int>; + #interrupt-cells =3D <2>; + interrupt-controller; + interrupt-parent =3D <&gpio3>; + interrupts =3D <8 IRQ_TYPE_LEVEL_LOW>; + #gpio-cells =3D <2>; + gpio-controller; + gpio-line-names =3D + "SMARC_CHARGER_PRSNT#", + "SMARC_CHARGING#", + "SMARC_LID#", + "SMARC_BATLOW#"; + }; + rtc_i2c: rtc@32 { compatible =3D "epson,rx8130"; reg =3D <0x32>; --=20 2.39.5 From nobody Sun Feb 8 13:17:12 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EBCEE1C5489; Wed, 30 Apr 2025 09:42:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006124; cv=none; b=LVTYx+kMK7q6qWmuh8YuuEm25ACgiDsBVnkY6nMbzBfyL/nfVv6oY9ah9z1Bux/GPFgAcELGv7EplGoYRJI6apAslhr1HxfN2eA6k8rZBHCkWou9L7qF3u2J0cL5cWbp0mwheY/zj8v9DrGsUiubqSbwlMRyvmuS6M5T27JDyeo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006124; c=relaxed/simple; bh=gIvbXLGEwA78U8BzxWzcHss4Rbgz466/h4fDKeOfrhQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HcrkB6jPQbQDKbvCV3OuNAT5ys/OqDtr6Uh9pBZNhQlHASlmkqMnZB1tbOtzA4gsizD3nFq2BCeUql4XWozZHZ7KTn1cILkhPMQJ/xfHfodcu6p7e/UZmsJaSfSXzRBMkSBZ6S5ePKj2Ns7NPOV+XUrOTCw+XSZLvZTmOSUP4aU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=KXMc4Jon; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="KXMc4Jon" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id C45121FC78; Wed, 30 Apr 2025 11:42:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1746006121; bh=Lx02G64ppy0lrZvVfG9pprG+9x/MBOLftogqYbGMsNU=; h=From:To:Subject; b=KXMc4JonHkbvrSI3vKjMUrbKqsdlwC7PlEQMhbgpLObXrXcVA9HDk16ZIrg/F1B1P 7RgrpKefrn+HcSK1v9Z9ZyJImbNdicIEfA48nXWyGnMzj4fsq+d1BiNje3qywywo7D 4ANPDFus5TjRFex8OYWgqvKX6IdAPy76Wr3pR0gGLzEwmhSJgR4Uk8IwY7KGhnAD/v aKJkJRlVEgyCeVDvYc2SXJ9r+NidlEoJ6P/qdpyAQ/laFAA+keACbh0TJaxUxQgOFu oG+ozv1JyiW6AKdmgqIW3PyY+mzN1Mcs4AS9j9pFQ9XyAHbTDzHQE6DH9+UDQJSYw7 fe7NpgnSoQoZA== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Catalin Marinas , Will Deacon Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] arm64: dts: freescale: imx8mp-toradex-smarc: use generic gpio node name Date: Wed, 30 Apr 2025 11:41:50 +0200 Message-Id: <20250430094151.98079-5-francesco@dolcini.it> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250430094151.98079-1-francesco@dolcini.it> References: <20250430094151.98079-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Dolcini Use generic node name for the SoM GPIO expander, following the Devicetree Specification generic node names recommendation. Signed-off-by: Francesco Dolcini --- v2: new patch --- arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi b/arch= /arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi index 0cd04c3c96bb..22f6daabdb90 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi @@ -434,7 +434,7 @@ &i2c1 { single-master; status =3D "okay"; =20 - som_gpio_expander: gpio-expander@21 { + som_gpio_expander: gpio@21 { compatible =3D "nxp,pcal6408"; reg =3D <0x21>; pinctrl-names =3D "default"; --=20 2.39.5 From nobody Sun Feb 8 13:17:12 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95BAD236445; Wed, 30 Apr 2025 09:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006127; cv=none; b=t6Q87VgTZvGpJmVZhSyloG0yMzsIlUijn4NtfHpPX7m06Oj706PZYvOChOZ3XmOvIEvilKgOYJcCK2MDHwLGqs7QN2whXaJU/Uvuw6QEeekBKJ3E9R+GAUVHDz+bQRIVU0K8rl4gik1oMgS4pyG0k7XQwkAtxacLWBCXL2/wmWY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746006127; c=relaxed/simple; bh=pJbxGcz29I8juMZ+j5FeolmzTLNPWS2iU+EiN+lbjCo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pdJ+1MBlwJpUiLz16bBaMr1PD732vjkjn3kn2NFTeg6l6wvO1IxFmfNxB4pmV9nS+eAW+Kiuqp8YVsmOwx3eny9GmLq5GwranO0SpnS6Q311hhh1+BAPobtyYSJAe6mwEr1lMXmvC7Zr/AdH1Eqank5b/tDU4JKSUFWG3G4xvQo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=jY81Mv2I; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="jY81Mv2I" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 7F14A1F918; Wed, 30 Apr 2025 11:42:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1746006122; bh=67GVbn8v+Aat7A9f88pD3XUMhZlnrRNaXl+Zw0hEn0w=; h=From:To:Subject; b=jY81Mv2Izus9srgofcJ+JLTlzd+7JoWzKRLELU5z+EvosNVFGAxtml3gpXO3LtdyO YLNM1PrINC1JAc5+BWagf25NeR8P4VJVtIdtUsDV7D4+oLZOlKpW4QzV1Ljh5ZfmFm pwu6+n9VMYNFBWG4kssm2fdYVJvzyVoOPZe4IaJetduMgHwu/gPsNkND3RaLQZl91e /bju1Q/jOSTvaI0RMTaF4Nkq6iQPUsE1dUKWjC2+6pnK9ukHx5xhKgTr7WAP2lVXO4 0wN14IVef8lHEUL89USAbHom0vx6RIcK3CgSwYahW0bzg4ylnSbOgYQG9vuSbwjohd cQGFIEaz7NsVg== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Catalin Marinas , Will Deacon Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH v2 5/5] arm64: defconfig: Add Toradex Embedded Controller config Date: Wed, 30 Apr 2025 11:41:51 +0200 Message-Id: <20250430094151.98079-6-francesco@dolcini.it> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250430094151.98079-1-francesco@dolcini.it> References: <20250430094151.98079-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Dolcini Enable config for Toradex SMARC Embedded Controller, this is required for proper reset and power-off functionalities on Toradex SMARC iMX8M Plus. Reviewed-by: Peng Fan Signed-off-by: Francesco Dolcini --- v2: add r-b peng --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index a92c4122a8b9..d4f1230250fa 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -680,6 +680,7 @@ CONFIG_GPIO_SL28CPLD=3Dm CONFIG_GPIO_AGGREGATOR=3Dm CONFIG_POWER_RESET_MSM=3Dy CONFIG_POWER_RESET_QCOM_PON=3Dm +CONFIG_POWER_RESET_TORADEX_EC=3Dm CONFIG_POWER_RESET_XGENE=3Dy CONFIG_POWER_RESET_SYSCON=3Dy CONFIG_POWER_RESET_SYSCON_POWEROFF=3Dy --=20 2.39.5