linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: Shenwei Wang <shenwei.wang@nxp.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Linus Walleij <linus.walleij@linaro.org>,
	Bartosz Golaszewski <brgl@bgdev.pl>,
	Dong Aisheng <aisheng.dong@nxp.com>, Jacky Bai <ping.bai@nxp.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, imx@lists.linux.dev
Subject: Re: [PATCH v3 1/5] arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property
Date: Wed, 26 Oct 2022 16:25:30 +0800	[thread overview]
Message-ID: <20221026082530.GC18160@linux-1xn6> (raw)
In-Reply-To: <20221025183244.615318-2-shenwei.wang@nxp.com>

On Tue, Oct 25, 2022 at 01:32:40PM -0500, Shenwei Wang wrote:
>add gpio-ranges property for imx8dxl soc.
>
>Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
>---
> .../boot/dts/freescale/imx8dxl-ss-lsio.dtsi   | 41 +++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
>diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi
>index 815bd987b09b..5306d2b3fc3f 100644
>--- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi
>+++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi
>@@ -6,41 +6,82 @@
> &lsio_gpio0 {
> 	compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio";
> 	interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
>+	gpio-ranges = <&iomuxc 0 47 13>,
>+		      <&iomuxc 13 61 4>,
>+		      <&iomuxc 19 67 4>,
>+		      <&iomuxc 24 72 1>;
> };
> 
> &lsio_gpio1 {
> 	compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio";
> 	interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
>+	gpio-ranges = <&iomuxc 4 74 5>,
>+		      <&iomuxc 9 80 16>;
> };
> 
> &lsio_gpio2 {
> 	compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio";
> 	interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
>+	gpio-ranges = <&iomuxc 1 98 2>,
>+		      <&iomuxc 3 101 1>,
>+		      <&iomuxc 5 107 8>;
> };
> 
> &lsio_gpio3 {
> 	compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio";
> 	interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
>+	gpio-ranges = <&iomuxc 0 115 4>,
>+		      <&iomuxc 9 121 1>,
>+		      <&iomuxc 10 120 1>,
>+		      <&iomuxc 11 123 1>,
>+		      <&iomuxc 12 122 1>,
>+		      <&iomuxc 13 125 1>,
>+		      <&iomuxc 14 124 1>,
>+		      <&iomuxc 16 126 1>,
>+		      <&iomuxc 17 128 1>,
>+		      <&iomuxc 18 131 1>,
>+		      <&iomuxc 19 130 1>,
>+		      <&iomuxc 20 133 1>,
>+		      <&iomuxc 21 132 1>,
>+		      <&iomuxc 22 129 1>,
>+		      <&iomuxc 23 134 1>;
> };
> 
> &lsio_gpio4 {
> 	compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio";
> 	interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
>+	gpio-ranges = <&iomuxc 0 0 3>,
>+		      <&iomuxc 3 4 4>,
>+		      <&iomuxc 7 9 12>,
>+		      <&iomuxc 19 22 2>,
>+		      <&iomuxc 21 25 2>,
>+		      <&iomuxc 29 29 3>;
> };
> 
> &lsio_gpio5 {
> 	compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio";
> 	interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
>+	gpio-ranges = <&iomuxc 0 32 3>,
>+		      <&iomuxc 3 36 6>,
>+		      <&iomuxc 9 43 3>;
> };
> 
> &lsio_gpio6 {
> 	compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio";
> 	interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
>+	gpio-ranges = <&iomuxc 0 53 7>,
>+		      <&iomuxc 8 86 10>,
>+		      <&iomuxc 19 107 8>;
> };
> 
> &lsio_gpio7 {
> 	compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio";
> 	interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
>+	gpio-ranges = <&iomuxc 0 0 3>,
>+		      <&iomuxc 3 4 4>,
>+		      <&iomuxc 8 22 2>,
>+		      <&iomuxc 10 25 2>,
>+		      <&iomuxc 16 44 2>;
> };
> 
> &lsio_mu0 {

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

>-- 
>2.34.1
>

-- 

  reply	other threads:[~2022-10-26  7:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-25 18:32 [PATCH v3 0/5] add suspend/resume support for i.mx8x SoCs Shenwei Wang
2022-10-25 18:32 ` [PATCH v3 1/5] arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property Shenwei Wang
2022-10-26  8:25   ` Peng Fan [this message]
2022-10-25 18:32 ` [PATCH v3 2/5] arm64: dts: imx8qm-ss-lsio: " Shenwei Wang
2022-10-26  8:26   ` Peng Fan
2022-10-25 18:32 ` [PATCH v3 3/5] arm64: dts: imx8qxp-ss-lsio: " Shenwei Wang
2022-10-26  8:27   ` Peng Fan
2022-10-25 18:32 ` [PATCH v3 4/5] pinctrl: freescale: add pad wakeup config Shenwei Wang
2022-10-26  3:56   ` kernel test robot
2022-10-26  8:21   ` Peng Fan
2022-10-25 18:32 ` [PATCH v3 5/5] gpio: mxc: enable pad wakeup on i.MX8x platforms Shenwei Wang
2022-10-26  6:20   ` Peng Fan
2022-10-27  2:27     ` Shenwei Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221026082530.GC18160@linux-1xn6 \
    --to=peng.fan@nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=brgl@bgdev.pl \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ping.bai@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=shenwei.wang@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).