lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221026082608.GD18160@linux-1xn6>
Date:   Wed, 26 Oct 2022 16:26:08 +0800
From:   Peng Fan <peng.fan@....com>
To:     Shenwei Wang <shenwei.wang@....com>
Cc:     Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Shawn Guo <shawnguo@...nel.org>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Linus Walleij <linus.walleij@...aro.org>,
        Bartosz Golaszewski <brgl@...ev.pl>,
        Dong Aisheng <aisheng.dong@....com>,
        Jacky Bai <ping.bai@....com>,
        Pengutronix Kernel Team <kernel@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        NXP Linux Team <linux-imx@....com>,
        devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org, imx@...ts.linux.dev
Subject: Re: [PATCH v3 2/5] arm64: dts: imx8qm-ss-lsio: add gpio-ranges
 property

On Tue, Oct 25, 2022 at 01:32:41PM -0500, Shenwei Wang wrote:
>add gpio-ranges property for imx8qm soc.
>
>Signed-off-by: Shenwei Wang <shenwei.wang@....com>
>---
> .../boot/dts/freescale/imx8qm-ss-lsio.dtsi    | 38 +++++++++++++++++++
> 1 file changed, 38 insertions(+)
>
>diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi
>index 669aa14ce9f7..b483134f84d1 100644
>--- a/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi
>+++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi
>@@ -6,30 +6,68 @@
> 
> &lsio_gpio0 {
> 	compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 0 6>,
>+		      <&iomuxc 6 7 22>,
>+		      <&iomuxc 28 36 4>;
> };
> 
> &lsio_gpio1 {
> 	compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 40 4>,
>+		      <&iomuxc 4 50 12>,
>+		      <&iomuxc 16 63 8>,
>+		      <&iomuxc 24 72 8>;
> };
> 
> &lsio_gpio2 {
> 	compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 80 4>,
>+		      <&iomuxc 4 85 18>,
>+		      <&iomuxc 22 104 10>;
> };
> 
> &lsio_gpio3 {
> 	compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 114 2>,
>+		      <&iomuxc 2 117 16>,
>+		      <&iomuxc 18 141 1>,
>+		      <&iomuxc 19 140 1>,
>+		      <&iomuxc 20 139 1>,
>+		      <&iomuxc 21 138 1>,
>+		      <&iomuxc 22 137 1>,
>+		      <&iomuxc 23 136 1>,
>+		      <&iomuxc 24 135 1>,
>+		      <&iomuxc 25 134 1>,
>+		      <&iomuxc 26 142 3>,
>+		      <&iomuxc 29 146 3>;
> };
> 
> &lsio_gpio4 {
> 	compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 149 3>,
>+		      <&iomuxc 3 153 4>,
>+		      <&iomuxc 7 158 6>,
>+		      <&iomuxc 13 165 6>,
>+		      <&iomuxc 19 172 8>,
>+		      <&iomuxc 27 198 5>;
> };
> 
> &lsio_gpio5 {
> 	compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 203 1>,
>+		      <&iomuxc 1 205 2>,
>+		      <&iomuxc 3 210 11>,
>+		      <&iomuxc 14 223 3>,
>+		      <&iomuxc 17 227 2>,
>+		      <&iomuxc 19 230 5>,
>+		      <&iomuxc 24 236 6>,
>+		      <&iomuxc 30 243 2>;
> };
> 
> &lsio_gpio6 {
> 	compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 245 10>,
>+		      <&iomuxc 10 256 12>;
> };
> 
> &lsio_gpio7 {

Reviewed-by: Peng Fan <peng.fan@....com>

>-- 
>2.34.1
>

-- 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ