From: Vladimir Zapolskiy <vladimir_zapolskiy-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org> To: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>, Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>, Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>, Russell King <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>, Deepak Das <deepak_das-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: [PATCH 5/7] ARM: dts: add gpio-ranges property to iMX6SX GPIO controllers Date: Sat, 20 Aug 2016 01:06:26 +0300 [thread overview] Message-ID: <1471644388-10220-6-git-send-email-vladimir_zapolskiy@mentor.com> (raw) In-Reply-To: <1471644388-10220-1-git-send-email-vladimir_zapolskiy-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org> To establish a connection between GPIO controllers and pin multiplexor controller add gpio-ranges properties to all GPIO controllers found on iMX50 SoC. The change was done after human parsing of output from % gawk -n '{ sub(/.*__/, ""); if ($1 ~ "^GPIO") print $1, $2/4}' imx6sx-pinfunc.h | sort -n Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/imx6sx.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 2863c52be6f5..5ad851a75587 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -438,6 +438,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 5 26>; }; gpio2: gpio@020a0000 { @@ -449,6 +451,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 31 20>; }; gpio3: gpio@020a4000 { @@ -460,6 +464,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 51 29>; }; gpio4: gpio@020a8000 { @@ -471,6 +477,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 80 32>; }; gpio5: gpio@020ac000 { @@ -482,6 +490,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 112 24>; }; gpio6: gpio@020b0000 { @@ -493,6 +503,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 136 12>, <&iomuxc 12 158 11>; }; gpio7: gpio@020b4000 { @@ -504,6 +516,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 148 10>, <&iomuxc 10 169 2>; }; kpp: kpp@020b8000 { -- 2.8.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: vladimir_zapolskiy@mentor.com (Vladimir Zapolskiy) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/7] ARM: dts: add gpio-ranges property to iMX6SX GPIO controllers Date: Sat, 20 Aug 2016 01:06:26 +0300 [thread overview] Message-ID: <1471644388-10220-6-git-send-email-vladimir_zapolskiy@mentor.com> (raw) In-Reply-To: <1471644388-10220-1-git-send-email-vladimir_zapolskiy@mentor.com> To establish a connection between GPIO controllers and pin multiplexor controller add gpio-ranges properties to all GPIO controllers found on iMX50 SoC. The change was done after human parsing of output from % gawk -n '{ sub(/.*__/, ""); if ($1 ~ "^GPIO") print $1, $2/4}' imx6sx-pinfunc.h | sort -n Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> --- arch/arm/boot/dts/imx6sx.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 2863c52be6f5..5ad851a75587 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -438,6 +438,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 5 26>; }; gpio2: gpio at 020a0000 { @@ -449,6 +451,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 31 20>; }; gpio3: gpio at 020a4000 { @@ -460,6 +464,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 51 29>; }; gpio4: gpio at 020a8000 { @@ -471,6 +477,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 80 32>; }; gpio5: gpio at 020ac000 { @@ -482,6 +490,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 112 24>; }; gpio6: gpio at 020b0000 { @@ -493,6 +503,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 136 12>, <&iomuxc 12 158 11>; }; gpio7: gpio at 020b4000 { @@ -504,6 +516,8 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + + gpio-ranges = <&iomuxc 0 148 10>, <&iomuxc 10 169 2>; }; kpp: kpp at 020b8000 { -- 2.8.1
next prev parent reply other threads:[~2016-08-19 22:06 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-08-19 22:06 [PATCH 0/7] ARM: dts: imx: add gpio-ranges properties to some iMX GPIO controllers Vladimir Zapolskiy 2016-08-19 22:06 ` Vladimir Zapolskiy [not found] ` <1471644388-10220-1-git-send-email-vladimir_zapolskiy-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org> 2016-08-19 22:06 ` [PATCH 1/7] ARM: dts: add gpio-ranges property to iMX50 " Vladimir Zapolskiy 2016-08-19 22:06 ` Vladimir Zapolskiy 2016-08-19 22:06 ` [PATCH 2/7] ARM: dts: add gpio-ranges property to iMX6Q/D " Vladimir Zapolskiy 2016-08-19 22:06 ` Vladimir Zapolskiy [not found] ` <1471644388-10220-3-git-send-email-vladimir_zapolskiy-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org> 2016-08-19 22:49 ` Vladimir Zapolskiy 2016-08-19 22:49 ` Vladimir Zapolskiy 2016-08-19 22:06 ` [PATCH 3/7] ARM: dts: add gpio-ranges property to iMX6DL/S " Vladimir Zapolskiy 2016-08-19 22:06 ` Vladimir Zapolskiy 2016-08-19 22:06 ` [PATCH 4/7] ARM: dts: add gpio-ranges property to iMX6SL " Vladimir Zapolskiy 2016-08-19 22:06 ` Vladimir Zapolskiy 2016-08-19 22:06 ` Vladimir Zapolskiy [this message] 2016-08-19 22:06 ` [PATCH 5/7] ARM: dts: add gpio-ranges property to iMX6SX " Vladimir Zapolskiy 2016-08-19 22:06 ` [PATCH 6/7] ARM: dts: add gpio-ranges property to iMX6UL " Vladimir Zapolskiy 2016-08-19 22:06 ` Vladimir Zapolskiy 2016-08-19 22:06 ` [PATCH 7/7] ARM: dts: add gpio-ranges property to iMX7D/S " Vladimir Zapolskiy 2016-08-19 22:06 ` Vladimir Zapolskiy
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=1471644388-10220-6-git-send-email-vladimir_zapolskiy@mentor.com \ --to=vladimir_zapolskiy-nmggyn9qbj3qt0dzr+alfa@public.gmane.org \ --cc=deepak_das-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=fabio.estevam-3arQi8VN3Tc@public.gmane.org \ --cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \ --cc=linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \ --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.