devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: da850: Adjust the pinctrl muxing for the NAND on CS3
@ 2016-08-03 17:06 Karl Beldan
  2016-08-04  8:39 ` Karl Beldan
  2016-08-04 20:42 ` Karl Beldan
  0 siblings, 2 replies; 4+ messages in thread
From: Karl Beldan @ 2016-08-03 17:06 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Rob Herring, Mark Rutland, Russell King,
	karl.beldan+oss-Re5JQEeQqe8AvxtiuMwx3w, Karl Beldan, Kevin Hilman

- Adjust the settings to also allow driving EMA_D[8..15] for 16bits
  NANDs. These are shared with GPIO3[0..7] which have no in-tree user.
- Remove the useless CS4 setting

Cc: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
Signed-off-by: Karl Beldan <kbeldan-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
---
 arch/arm/boot/dts/da850.dtsi | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 3a00978..ae5dc18 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -43,16 +43,20 @@
 
 			nand_cs3_pins: pinmux_nand_pins {
 				pinctrl-single,bits = <
-					/* EMA_OE, EMA_WE */
-					0x1c 0x00110000  0x00ff0000
-					/* EMA_CS[4],EMA_CS[3]*/
-					0x1c 0x00000110  0x00000ff0
+					/* EMA_OE, EMA_WE, EMA_CS[3] */
+					0x1c 0x00110010  0x00ff00f0
 					/*
 					 * EMA_D[0], EMA_D[1], EMA_D[2],
 					 * EMA_D[3], EMA_D[4], EMA_D[5],
 					 * EMA_D[6], EMA_D[7]
 					 */
 					0x24 0x11111111  0xffffffff
+					/*
+					 * EMA_D[8],  EMA_D[9],  EMA_D[10],
+					 * EMA_D[11], EMA_D[12], EMA_D[13],
+					 * EMA_D[14], EMA_D[15]
+					 */
+					0x20 0x11111111  0xffffffff
 					/* EMA_A[1], EMA_A[2] */
 					0x30 0x01100000  0x0ff00000
 				>;
-- 
2.9.0.rc1

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

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

* Re: [PATCH] ARM: dts: da850: Adjust the pinctrl muxing for the NAND on CS3
  2016-08-03 17:06 [PATCH] ARM: dts: da850: Adjust the pinctrl muxing for the NAND on CS3 Karl Beldan
@ 2016-08-04  8:39 ` Karl Beldan
  2016-08-04 20:42 ` Karl Beldan
  1 sibling, 0 replies; 4+ messages in thread
From: Karl Beldan @ 2016-08-04  8:39 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel
  Cc: Rob Herring, Mark Rutland, Russell King, karl.beldan+oss,
	Kevin Hilman

On Wed, Aug 03, 2016 at 05:06:27PM +0000, Karl Beldan wrote:
> - Adjust the settings to also allow driving EMA_D[8..15] for 16bits
>   NANDs. These are shared with GPIO3[0..7] which have no in-tree user.
> - Remove the useless CS4 setting
> 

Please drop it, I think it is better to create several pinctrls instead.
 
Karl

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

* Re: [PATCH] ARM: dts: da850: Adjust the pinctrl muxing for the NAND on CS3
  2016-08-03 17:06 [PATCH] ARM: dts: da850: Adjust the pinctrl muxing for the NAND on CS3 Karl Beldan
  2016-08-04  8:39 ` Karl Beldan
@ 2016-08-04 20:42 ` Karl Beldan
       [not found]   ` <CAJaRCXMBi-UQaXkGNaSaKjb6eqoJwhcc9Py8vFEWpVKSn5g5bQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Karl Beldan @ 2016-08-04 20:42 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel
  Cc: Rob Herring, Mark Rutland, Russell King, Karl Beldan, Karl Beldan,
	Kevin Hilman

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

2016-08-03 17:06 GMT+00:00 Karl Beldan <kbeldan@baylibre.com>:

> - Adjust the settings to also allow driving EMA_D[8..15] for 16bits
>   NANDs. These are shared with GPIO3[0..7] which have no in-tree user.
> - Remove the useless CS4 setting
>
> Cc: Kevin Hilman <khilman@baylibre.com>
> Signed-off-by: Karl Beldan <kbeldan@baylibre.com>
> ---
>  arch/arm/boot/dts/da850.dtsi | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> index 3a00978..ae5dc18 100644
> --- a/arch/arm/boot/dts/da850.dtsi
> +++ b/arch/arm/boot/dts/da850.dtsi
> @@ -43,16 +43,20 @@
>
>                         nand_cs3_pins: pinmux_nand_pins {
>                                 pinctrl-single,bits = <
> -                                       /* EMA_OE, EMA_WE */
> -                                       0x1c 0x00110000  0x00ff0000
> -                                       /* EMA_CS[4],EMA_CS[3]*/
> -                                       0x1c 0x00000110  0x00000ff0
> +                                       /* EMA_OE, EMA_WE, EMA_CS[3] */
> +                                       0x1c 0x00110010  0x00ff00f0
>                                         /*
>                                          * EMA_D[0], EMA_D[1], EMA_D[2],
>                                          * EMA_D[3], EMA_D[4], EMA_D[5],
>                                          * EMA_D[6], EMA_D[7]
>                                          */
>                                         0x24 0x11111111  0xffffffff
> +                                       /*
> +                                        * EMA_D[8],  EMA_D[9],  EMA_D[10],
> +                                        * EMA_D[11], EMA_D[12], EMA_D[13],
> +                                        * EMA_D[14], EMA_D[15]
> +                                        */
> +                                       0x20 0x11111111  0xffffffff
>                                         /* EMA_A[1], EMA_A[2] */
>                                         0x30 0x01100000  0x0ff00000
>                                 >;
> --
> 2.9.0.rc1
>
> Please discard this one I think it is better that I make groups for the
NAND.

Karl

[-- Attachment #2: Type: text/html, Size: 3306 bytes --]

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

* Re: [PATCH] ARM: dts: da850: Adjust the pinctrl muxing for the NAND on CS3
       [not found]   ` <CAJaRCXMBi-UQaXkGNaSaKjb6eqoJwhcc9Py8vFEWpVKSn5g5bQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2016-08-04 20:53     ` Karl Beldan
  0 siblings, 0 replies; 4+ messages in thread
From: Karl Beldan @ 2016-08-04 20:53 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Rob Herring, Mark Rutland, Russell King, Karl Beldan,
	Kevin Hilman

On Thu, Aug 04, 2016 at 08:42:19PM +0000, Karl Beldan wrote:
> 2016-08-03 17:06 GMT+00:00 Karl Beldan <kbeldan-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>:
> 
> > - Adjust the settings to also allow driving EMA_D[8..15] for 16bits
> >   NANDs. These are shared with GPIO3[0..7] which have no in-tree user.
> > - Remove the useless CS4 setting
> >
> > Cc: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
> > Signed-off-by: Karl Beldan <kbeldan-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
> > ---
> >  arch/arm/boot/dts/da850.dtsi | 12 ++++++++----
> >  1 file changed, 8 insertions(+), 4 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> > index 3a00978..ae5dc18 100644
> > --- a/arch/arm/boot/dts/da850.dtsi
> > +++ b/arch/arm/boot/dts/da850.dtsi
> > @@ -43,16 +43,20 @@
> >
> >                         nand_cs3_pins: pinmux_nand_pins {
> >                                 pinctrl-single,bits = <
> > -                                       /* EMA_OE, EMA_WE */
> > -                                       0x1c 0x00110000  0x00ff0000
> > -                                       /* EMA_CS[4],EMA_CS[3]*/
> > -                                       0x1c 0x00000110  0x00000ff0
> > +                                       /* EMA_OE, EMA_WE, EMA_CS[3] */
> > +                                       0x1c 0x00110010  0x00ff00f0
> >                                         /*
> >                                          * EMA_D[0], EMA_D[1], EMA_D[2],
> >                                          * EMA_D[3], EMA_D[4], EMA_D[5],
> >                                          * EMA_D[6], EMA_D[7]
> >                                          */
> >                                         0x24 0x11111111  0xffffffff
> > +                                       /*
> > +                                        * EMA_D[8],  EMA_D[9],  EMA_D[10],
> > +                                        * EMA_D[11], EMA_D[12], EMA_D[13],
> > +                                        * EMA_D[14], EMA_D[15]
> > +                                        */
> > +                                       0x20 0x11111111  0xffffffff
> >                                         /* EMA_A[1], EMA_A[2] */
> >                                         0x30 0x01100000  0x0ff00000
> >                                 >;
> > --
> > 2.9.0.rc1
> >
Please discard this one I think it is better that I make groups for the
NAND.
 
Karl

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

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

end of thread, other threads:[~2016-08-04 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 17:06 [PATCH] ARM: dts: da850: Adjust the pinctrl muxing for the NAND on CS3 Karl Beldan
2016-08-04  8:39 ` Karl Beldan
2016-08-04 20:42 ` Karl Beldan
     [not found]   ` <CAJaRCXMBi-UQaXkGNaSaKjb6eqoJwhcc9Py8vFEWpVKSn5g5bQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-04 20:53     ` Karl Beldan

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