* [PATCH] ARM i.MX53: dts: add i2c aliases
@ 2013-04-09 17:18 Philipp Zabel
2013-04-17 0:13 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2013-04-09 17:18 UTC (permalink / raw)
To: linux-arm-kernel
This allows to order the i2c character devices correctly,
so that /dev/i2c-0 corresponds to i2c1, /dev/i2c-1 corresponds
to i2c2, and so on. Currently they are ordered by register
address.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
arch/arm/boot/dts/imx53.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index 845982e..7b9a391 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -27,6 +27,9 @@
gpio4 = &gpio5;
gpio5 = &gpio6;
gpio6 = &gpio7;
+ i2c0 = &i2c1;
+ i2c1 = &i2c2;
+ i2c2 = &i2c3;
};
tzic: tz-interrupt-controller at 0fffc000 {
--
1.8.2.rc2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM i.MX53: dts: add i2c aliases
2013-04-09 17:18 [PATCH] ARM i.MX53: dts: add i2c aliases Philipp Zabel
@ 2013-04-17 0:13 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2013-04-17 0:13 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Apr 09, 2013 at 07:18:47PM +0200, Philipp Zabel wrote:
> This allows to order the i2c character devices correctly,
> so that /dev/i2c-0 corresponds to i2c1, /dev/i2c-1 corresponds
> to i2c2, and so on. Currently they are ordered by register
> address.
>
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Applied, thanks.
> ---
> arch/arm/boot/dts/imx53.dtsi | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
> index 845982e..7b9a391 100644
> --- a/arch/arm/boot/dts/imx53.dtsi
> +++ b/arch/arm/boot/dts/imx53.dtsi
> @@ -27,6 +27,9 @@
> gpio4 = &gpio5;
> gpio5 = &gpio6;
> gpio6 = &gpio7;
> + i2c0 = &i2c1;
> + i2c1 = &i2c2;
> + i2c2 = &i2c3;
> };
>
> tzic: tz-interrupt-controller at 0fffc000 {
> --
> 1.8.2.rc2
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-17 0:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09 17:18 [PATCH] ARM i.MX53: dts: add i2c aliases Philipp Zabel
2013-04-17 0:13 ` Shawn Guo
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).