devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases
@ 2019-03-15 21:14 Alexander Kurz
  2019-03-15 21:14 ` [PATCH 2/3] ARM: dts: i.MX6SL: Add i2c and mmc aliases Alexander Kurz
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Alexander Kurz @ 2019-03-15 21:14 UTC (permalink / raw)
  To: Shawn Guo; +Cc: Sascha Hauer, Fabio Estevam, devicetree, Alexander Kurz

Using aliases, the devices will be enumerated properly.

Signed-off-by: Alexander Kurz <akurz@blala.de>
---
 arch/arm/boot/dts/imx50.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi
index ee1e3e8bf4ec..82e7acd7fc2a 100644
--- a/arch/arm/boot/dts/imx50.dtsi
+++ b/arch/arm/boot/dts/imx50.dtsi
@@ -26,11 +26,20 @@
 		gpio3 = &gpio4;
 		gpio4 = &gpio5;
 		gpio5 = &gpio6;
+		i2c0 = &i2c1;
+		i2c1 = &i2c2;
+		mmc0 = &esdhc1;
+		mmc1 = &esdhc2;
+		mmc2 = &esdhc3;
+		mmc3 = &esdhc4;
 		serial0 = &uart1;
 		serial1 = &uart2;
 		serial2 = &uart3;
 		serial3 = &uart4;
 		serial4 = &uart5;
+		spi0 = &ecspi1;
+		spi1 = &ecspi2;
+		spi2 = &cspi;
 	};
 
 	cpus {
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] ARM: dts: i.MX6SL: Add i2c and mmc aliases
  2019-03-15 21:14 [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases Alexander Kurz
@ 2019-03-15 21:14 ` Alexander Kurz
  2019-03-15 21:14 ` [PATCH 3/3] ARM: dts: i.MX35: " Alexander Kurz
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Alexander Kurz @ 2019-03-15 21:14 UTC (permalink / raw)
  To: Shawn Guo; +Cc: Sascha Hauer, Fabio Estevam, devicetree, Alexander Kurz

Using aliases, the devices will be enumerated properly.

Signed-off-by: Alexander Kurz <akurz@blala.de>
---
 arch/arm/boot/dts/imx6sl.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi
index 4b4813f176cd..6caba5d0f248 100644
--- a/arch/arm/boot/dts/imx6sl.dtsi
+++ b/arch/arm/boot/dts/imx6sl.dtsi
@@ -23,6 +23,13 @@
 		gpio2 = &gpio3;
 		gpio3 = &gpio4;
 		gpio4 = &gpio5;
+		i2c0 = &i2c1;
+		i2c1 = &i2c2;
+		i2c2 = &i2c3;
+		mmc0 = &usdhc1;
+		mmc1 = &usdhc2;
+		mmc2 = &usdhc3;
+		mmc3 = &usdhc4;
 		serial0 = &uart1;
 		serial1 = &uart2;
 		serial2 = &uart3;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] ARM: dts: i.MX35: Add i2c and mmc aliases
  2019-03-15 21:14 [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases Alexander Kurz
  2019-03-15 21:14 ` [PATCH 2/3] ARM: dts: i.MX6SL: Add i2c and mmc aliases Alexander Kurz
@ 2019-03-15 21:14 ` Alexander Kurz
  2019-03-22  0:17 ` [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases Shawn Guo
  2019-03-22  1:49 ` Shawn Guo
  3 siblings, 0 replies; 7+ messages in thread
From: Alexander Kurz @ 2019-03-15 21:14 UTC (permalink / raw)
  To: Shawn Guo; +Cc: Sascha Hauer, Fabio Estevam, devicetree, Alexander Kurz

Using aliases, the devices will be enumerated properly.

Signed-off-by: Alexander Kurz <akurz@blala.de>
---
 arch/arm/boot/dts/imx35.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi
index 59cadeee23ed..9cbdc1a15cda 100644
--- a/arch/arm/boot/dts/imx35.dtsi
+++ b/arch/arm/boot/dts/imx35.dtsi
@@ -21,6 +21,12 @@
 		gpio0 = &gpio1;
 		gpio1 = &gpio2;
 		gpio2 = &gpio3;
+		i2c0 = &i2c1;
+		i2c1 = &i2c2;
+		i2c2 = &i2c3;
+		mmc0 = &esdhc1;
+		mmc1 = &esdhc2;
+		mmc2 = &esdhc3;
 		serial0 = &uart1;
 		serial1 = &uart2;
 		serial2 = &uart3;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases
  2019-03-15 21:14 [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases Alexander Kurz
  2019-03-15 21:14 ` [PATCH 2/3] ARM: dts: i.MX6SL: Add i2c and mmc aliases Alexander Kurz
  2019-03-15 21:14 ` [PATCH 3/3] ARM: dts: i.MX35: " Alexander Kurz
@ 2019-03-22  0:17 ` Shawn Guo
  2019-03-22  1:49 ` Shawn Guo
  3 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2019-03-22  0:17 UTC (permalink / raw)
  To: Alexander Kurz; +Cc: Sascha Hauer, Fabio Estevam, devicetree

On Fri, Mar 15, 2019 at 09:14:21PM +0000, Alexander Kurz wrote:
> Using aliases, the devices will be enumerated properly.
> 
> Signed-off-by: Alexander Kurz <akurz@blala.de>

Applied all, thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases
  2019-03-15 21:14 [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases Alexander Kurz
                   ` (2 preceding siblings ...)
  2019-03-22  0:17 ` [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases Shawn Guo
@ 2019-03-22  1:49 ` Shawn Guo
  2019-03-22 12:01   ` Jonathan Neuschäfer
  2019-03-23 16:41   ` Alexander Kurz
  3 siblings, 2 replies; 7+ messages in thread
From: Shawn Guo @ 2019-03-22  1:49 UTC (permalink / raw)
  To: Alexander Kurz, Jonathan Neuschäfer
  Cc: Sascha Hauer, Fabio Estevam, devicetree

On Fri, Mar 15, 2019 at 09:14:21PM +0000, Alexander Kurz wrote:
> Using aliases, the devices will be enumerated properly.
> 
> Signed-off-by: Alexander Kurz <akurz@blala.de>
> ---
>  arch/arm/boot/dts/imx50.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi
> index ee1e3e8bf4ec..82e7acd7fc2a 100644
> --- a/arch/arm/boot/dts/imx50.dtsi
> +++ b/arch/arm/boot/dts/imx50.dtsi
> @@ -26,11 +26,20 @@
>  		gpio3 = &gpio4;
>  		gpio4 = &gpio5;
>  		gpio5 = &gpio6;
> +		i2c0 = &i2c1;
> +		i2c1 = &i2c2;

Reminded by Jonathan's patch, i2c3 is missing here.  I just fixed it up.
Let's me know if you have a reason for not adding i2c3.

Shawn

> +		mmc0 = &esdhc1;
> +		mmc1 = &esdhc2;
> +		mmc2 = &esdhc3;
> +		mmc3 = &esdhc4;
>  		serial0 = &uart1;
>  		serial1 = &uart2;
>  		serial2 = &uart3;
>  		serial3 = &uart4;
>  		serial4 = &uart5;
> +		spi0 = &ecspi1;
> +		spi1 = &ecspi2;
> +		spi2 = &cspi;
>  	};
>  
>  	cpus {
> -- 
> 2.11.0
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases
  2019-03-22  1:49 ` Shawn Guo
@ 2019-03-22 12:01   ` Jonathan Neuschäfer
  2019-03-23 16:41   ` Alexander Kurz
  1 sibling, 0 replies; 7+ messages in thread
From: Jonathan Neuschäfer @ 2019-03-22 12:01 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Alexander Kurz, Jonathan Neuschäfer, Sascha Hauer,
	Fabio Estevam, devicetree

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

On Fri, Mar 22, 2019 at 09:49:29AM +0800, Shawn Guo wrote:
> On Fri, Mar 15, 2019 at 09:14:21PM +0000, Alexander Kurz wrote:
> > Using aliases, the devices will be enumerated properly.
> > 
> > Signed-off-by: Alexander Kurz <akurz@blala.de>
> > ---
> >  arch/arm/boot/dts/imx50.dtsi | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi
> > index ee1e3e8bf4ec..82e7acd7fc2a 100644
> > --- a/arch/arm/boot/dts/imx50.dtsi
> > +++ b/arch/arm/boot/dts/imx50.dtsi
> > @@ -26,11 +26,20 @@
> >  		gpio3 = &gpio4;
> >  		gpio4 = &gpio5;
> >  		gpio5 = &gpio6;
> > +		i2c0 = &i2c1;
> > +		i2c1 = &i2c2;
> 
> Reminded by Jonathan's patch, i2c3 is missing here.  I just fixed it up.
> Let's me know if you have a reason for not adding i2c3.
> 
> Shawn

Thanks. With this addition, Alexander's patch looks good to me.


Jonathan Neuschäfer

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases
  2019-03-22  1:49 ` Shawn Guo
  2019-03-22 12:01   ` Jonathan Neuschäfer
@ 2019-03-23 16:41   ` Alexander Kurz
  1 sibling, 0 replies; 7+ messages in thread
From: Alexander Kurz @ 2019-03-23 16:41 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Jonathan Neuschäfer, Sascha Hauer, Fabio Estevam, devicetree



On Fri, 22 Mar 2019, Shawn Guo wrote:

> On Fri, Mar 15, 2019 at 09:14:21PM +0000, Alexander Kurz wrote:
> > Using aliases, the devices will be enumerated properly.
> > 
> > Signed-off-by: Alexander Kurz <akurz@blala.de>
> > ---
> >  arch/arm/boot/dts/imx50.dtsi | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi
> > index ee1e3e8bf4ec..82e7acd7fc2a 100644
> > --- a/arch/arm/boot/dts/imx50.dtsi
> > +++ b/arch/arm/boot/dts/imx50.dtsi
> > @@ -26,11 +26,20 @@
> >  		gpio3 = &gpio4;
> >  		gpio4 = &gpio5;
> >  		gpio5 = &gpio6;
> > +		i2c0 = &i2c1;
> > +		i2c1 = &i2c2;
> 
> Reminded by Jonathan's patch, i2c3 is missing here.  I just fixed it up.
> Let's me know if you have a reason for not adding i2c3.
I have missed i2c3, thanks for checking and fixing it.
Alexander

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-23 16:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-15 21:14 [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases Alexander Kurz
2019-03-15 21:14 ` [PATCH 2/3] ARM: dts: i.MX6SL: Add i2c and mmc aliases Alexander Kurz
2019-03-15 21:14 ` [PATCH 3/3] ARM: dts: i.MX35: " Alexander Kurz
2019-03-22  0:17 ` [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases Shawn Guo
2019-03-22  1:49 ` Shawn Guo
2019-03-22 12:01   ` Jonathan Neuschäfer
2019-03-23 16:41   ` Alexander Kurz

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).