devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] ARM: dts: OMAP2+: Enable gpio controller for GPMC and add NAND ready pin
@ 2016-04-07 10:25 Roger Quadros
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

Hi Tony,

We will be adding gpio controller support to GPMC in [1].
The GPIO controller can also be used to provide the Read/Busy#
pin status to the OMAP2+ nand driver.

These patches enable the gpio controller in the gpmc nodes
and add ready pin information to the NAND nodes.

Tested on dra-evm, am437x-gp-evm, beagleboard-c4.

[1] - http://thread.gmane.org/gmane.linux.kernel/2192971

cheers,
-roger

Roger Quadros (13):
  ARM: dts: omap24xx: Enable gpio and interrupt controller for GPMC
  ARM: dts: omap4: Enable gpio and interrupt controller for GPMC
  ARM: dts: omap5: Enable gpio and interrupt controller for GPMC
  ARM: dts: dra7: Enable gpio controller for GPMC
  ARM: dts: am335x: Enable gpio controller for GPMC
  ARM: dts: am4372: Enable gpio controller for GPMC
  ARM: dts: omap3: Enable gpio controller for GPMC
  ARM: dts: dm814x: Enable gpio controller for GPMC
  ARM: dts: dm816x: Enable gpio controller for GPMC
  ARM: dts: dra7x-evm: Provide NAND ready pin
  ARM: dts: am437x: Provide NAND ready pin
  ARM: dts: am335x: Provide NAND ready pin
  ARM: dts: omap3-beagle: Provide NAND ready pin

 arch/arm/boot/dts/am335x-baltos-ir5221.dts | 1 +
 arch/arm/boot/dts/am335x-chilisom.dtsi     | 1 +
 arch/arm/boot/dts/am335x-cm-t335.dts       | 1 +
 arch/arm/boot/dts/am335x-evm.dts           | 1 +
 arch/arm/boot/dts/am335x-igep0033.dtsi     | 1 +
 arch/arm/boot/dts/am335x-phycore-som.dtsi  | 1 +
 arch/arm/boot/dts/am33xx.dtsi              | 2 ++
 arch/arm/boot/dts/am4372.dtsi              | 2 ++
 arch/arm/boot/dts/am437x-gp-evm.dts        | 1 +
 arch/arm/boot/dts/am43x-epos-evm.dts       | 1 +
 arch/arm/boot/dts/dm814x.dtsi              | 2 ++
 arch/arm/boot/dts/dm816x.dtsi              | 2 ++
 arch/arm/boot/dts/dra7-evm.dts             | 1 +
 arch/arm/boot/dts/dra7.dtsi                | 2 ++
 arch/arm/boot/dts/dra72-evm.dts            | 1 +
 arch/arm/boot/dts/omap2420.dtsi            | 4 ++++
 arch/arm/boot/dts/omap2430.dtsi            | 4 ++++
 arch/arm/boot/dts/omap3-beagle.dts         | 1 +
 arch/arm/boot/dts/omap3.dtsi               | 2 ++
 arch/arm/boot/dts/omap4.dtsi               | 4 ++++
 arch/arm/boot/dts/omap5.dtsi               | 4 ++++
 21 files changed, 39 insertions(+)

-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 01/13] ARM: dts: omap24xx: Enable gpio and interrupt controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 02/13] ARM: dts: omap4: " Roger Quadros
                     ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides interrupts and gpio for the GPMC_WAIT pins.
Mark it as gpio and interrupt capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/omap2420.dtsi | 4 ++++
 arch/arm/boot/dts/omap2430.dtsi | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/omap2420.dtsi b/arch/arm/boot/dts/omap2420.dtsi
index 5b9a376..fb712b9 100644
--- a/arch/arm/boot/dts/omap2420.dtsi
+++ b/arch/arm/boot/dts/omap2420.dtsi
@@ -130,6 +130,10 @@
 			gpmc,num-cs = <8>;
 			gpmc,num-waitpins = <4>;
 			ti,hwmods = "gpmc";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 		};
 
 		mcbsp1: mcbsp@48074000 {
diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi
index 798dda0..5c16a1f 100644
--- a/arch/arm/boot/dts/omap2430.dtsi
+++ b/arch/arm/boot/dts/omap2430.dtsi
@@ -154,6 +154,10 @@
 			gpmc,num-cs = <8>;
 			gpmc,num-waitpins = <4>;
 			ti,hwmods = "gpmc";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 		};
 
 		mcbsp1: mcbsp@48074000 {
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 02/13] ARM: dts: omap4: Enable gpio and interrupt controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
  2016-04-07 10:25   ` [PATCH 01/13] ARM: dts: omap24xx: Enable gpio and interrupt controller for GPMC Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 03/13] ARM: dts: omap5: " Roger Quadros
                     ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides interrupts and gpio for the GPMC_WAIT pins.
Mark it as gpio and interrupt capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/omap4.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index 2bd9c83..5965e89 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -370,6 +370,10 @@
 			ti,no-idle-on-init;
 			clocks = <&l3_div_ck>;
 			clock-names = "fck";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 		};
 
 		uart1: serial@4806a000 {
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 03/13] ARM: dts: omap5: Enable gpio and interrupt controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
  2016-04-07 10:25   ` [PATCH 01/13] ARM: dts: omap24xx: Enable gpio and interrupt controller for GPMC Roger Quadros
  2016-04-07 10:25   ` [PATCH 02/13] ARM: dts: omap4: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 04/13] ARM: dts: dra7: Enable gpio " Roger Quadros
                     ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides interrupts and gpio for the GPMC_WAIT pins.
Mark it as gpio and interrupt capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/omap5.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 38805eb..aecdc69 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -398,6 +398,10 @@
 			ti,hwmods = "gpmc";
 			clocks = <&l3_iclk_div>;
 			clock-names = "fck";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 		};
 
 		i2c1: i2c@48070000 {
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 04/13] ARM: dts: dra7: Enable gpio controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (2 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 03/13] ARM: dts: omap5: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 05/13] ARM: dts: am335x: " Roger Quadros
                     ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides GPI support for the GPMC_WAIT pins.
Mark it gpio controller capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/dra7.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 13ac882..111594e 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -1404,6 +1404,8 @@
 			#size-cells = <1>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 			status = "disabled";
 		};
 
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 05/13] ARM: dts: am335x: Enable gpio controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (3 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 04/13] ARM: dts: dra7: Enable gpio " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 06/13] ARM: dts: am4372: " Roger Quadros
                     ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides GPI support for the GPMC_WAIT pins.
Mark it gpio controller capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am33xx.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 55ca9c7..d4e0414 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -868,6 +868,8 @@
 			#size-cells = <1>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 			status = "disabled";
 		};
 
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 06/13] ARM: dts: am4372: Enable gpio controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (4 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 05/13] ARM: dts: am335x: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 07/13] ARM: dts: omap3: " Roger Quadros
                     ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides GPI support for the GPMC_WAIT pins.
Mark it gpio controller capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am4372.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 6e4f5af..f2cc207 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -896,6 +896,8 @@
 			#size-cells = <1>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 			status = "disabled";
 		};
 
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 07/13] ARM: dts: omap3: Enable gpio controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (5 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 06/13] ARM: dts: am4372: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 08/13] ARM: dts: dm814x: " Roger Quadros
                     ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides GPI support for the GPMC_WAIT pins.
Mark it gpio controller capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/omap3.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index b41d07e..47d1e77 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -725,6 +725,8 @@
 			#size-cells = <1>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 		};
 
 		usb_otg_hs: usb_otg_hs@480ab000 {
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 08/13] ARM: dts: dm814x: Enable gpio controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (6 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 07/13] ARM: dts: omap3: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 09/13] ARM: dts: dm816x: " Roger Quadros
                     ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides GPI support for the GPMC_WAIT pins.
Mark it gpio controller capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/dm814x.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi
index 4a6ce8c..d4537dc 100644
--- a/arch/arm/boot/dts/dm814x.dtsi
+++ b/arch/arm/boot/dts/dm814x.dtsi
@@ -568,6 +568,8 @@
 			#size-cells = <1>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 		};
 	};
 };
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 09/13] ARM: dts: dm816x: Enable gpio controller for GPMC
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (7 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 08/13] ARM: dts: dm814x: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 10/13] ARM: dts: dra7x-evm: Provide NAND ready pin Roger Quadros
                     ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

GPMC driver provides GPI support for the GPMC_WAIT pins.
Mark it gpio controller capable.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/dm816x.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi
index d9309a0..44e39c74 100644
--- a/arch/arm/boot/dts/dm816x.dtsi
+++ b/arch/arm/boot/dts/dm816x.dtsi
@@ -185,6 +185,8 @@
 			gpmc,num-waitpins = <2>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
+			gpio-controller;
+			#gpio-cells = <2>;
 		};
 
 		i2c1: i2c@48028000 {
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 10/13] ARM: dts: dra7x-evm: Provide NAND ready pin
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (8 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 09/13] ARM: dts: dm816x: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 11/13] ARM: dts: am437x: " Roger Quadros
                     ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

On these boards NAND ready pin status is avilable over
GPMC_WAIT0 pin.

Read speed increases from 13768 KiB/ to 17246 KiB/s.
Write speed was unchanged at 7123 KiB/s.
Measured using mtd_speedtest.ko.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/dra7-evm.dts  | 1 +
 arch/arm/boot/dts/dra72-evm.dts | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index d9b8723..c1c6d6f 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -748,6 +748,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>; /* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
 		ti,nand-ecc-opt = "bch8";
 		ti,elm-id = <&elm>;
 		nand-bus-width = <16>;
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts
index 6affe2d..c819724 100644
--- a/arch/arm/boot/dts/dra72-evm.dts
+++ b/arch/arm/boot/dts/dra72-evm.dts
@@ -503,6 +503,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
 		ti,nand-ecc-opt = "bch8";
 		ti,elm-id = <&elm>;
 		nand-bus-width = <16>;
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 11/13] ARM: dts: am437x: Provide NAND ready pin
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (9 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 10/13] ARM: dts: dra7x-evm: Provide NAND ready pin Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 12/13] ARM: dts: am335x: " Roger Quadros
                     ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

On these boards NAND ready pin status is avilable over
GPMC_WAIT0 pin.

For NAND we don't use GPMC wait pin monitoring but
get the NAND Ready/Busy# status using GPIOlib.
GPMC driver provides the WAIT0 pin status over GPIOlib.

Read speed increases from 16516 KiB/ to 18813 KiB/s
and write speed was unchanged at 9941 KiB/s.

Measured using mtd_speedtest.ko.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am437x-gp-evm.dts  | 1 +
 arch/arm/boot/dts/am43x-epos-evm.dts | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 8889be1..5e63e59 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -817,6 +817,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>;	/* gpmc_wait0 */
 		ti,nand-ecc-opt = "bch16";
 		ti,elm-id = <&elm>;
 		nand-bus-width = <8>;
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index 83dfafa..2708f11 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -568,6 +568,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>;	/* gpmc_wait0 */
 		ti,nand-ecc-opt = "bch16";
 		ti,elm-id = <&elm>;
 		nand-bus-width = <8>;
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 12/13] ARM: dts: am335x: Provide NAND ready pin
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (10 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 11/13] ARM: dts: am437x: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-07 10:25   ` [PATCH 13/13] ARM: dts: omap3-beagle: " Roger Quadros
  2016-04-12 21:28   ` [PATCH 00/13] ARM: dts: OMAP2+: Enable gpio controller for GPMC and add " Tony Lindgren
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros, Teresa Remmet,
	Ilya Ledvich, Yegor Yefremov, Rostislav Lisovy,
	Enric Balletbo i Serra

On these boards NAND ready pin status is avilable over
GPMC_WAIT0 pin.

For NAND we don't use GPMC wait pin monitoring but
get the NAND Ready/Busy# status using GPIOlib.
GPMC driver provides the WAIT0 pin status over GPIOlib.

Read speed increases from 7869 KiB/ to 8875 KiB/s
and write speed was unchanged at 5100 KiB/s.

Measured using mtd_speedtest.ko on am335x-evm.

Cc: Teresa Remmet <t.remmet-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
Cc: Ilya Ledvich <ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
Cc: Yegor Yefremov <yegorslists-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Cc: Rostislav Lisovy <lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Enric Balletbo i Serra <eballetbo-VIneJrwqLopBDgjK7y7TUQ@public.gmane.org>
Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am335x-baltos-ir5221.dts | 1 +
 arch/arm/boot/dts/am335x-chilisom.dtsi     | 1 +
 arch/arm/boot/dts/am335x-cm-t335.dts       | 1 +
 arch/arm/boot/dts/am335x-evm.dts           | 1 +
 arch/arm/boot/dts/am335x-igep0033.dtsi     | 1 +
 arch/arm/boot/dts/am335x-phycore-som.dtsi  | 1 +
 6 files changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-baltos-ir5221.dts b/arch/arm/boot/dts/am335x-baltos-ir5221.dts
index 6c667fb..17e92e8 100644
--- a/arch/arm/boot/dts/am335x-baltos-ir5221.dts
+++ b/arch/arm/boot/dts/am335x-baltos-ir5221.dts
@@ -241,6 +241,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		nand-bus-width = <8>;
 		ti,nand-ecc-opt = "bch8";
 		ti,nand-xfer-type = "polled";
diff --git a/arch/arm/boot/dts/am335x-chilisom.dtsi b/arch/arm/boot/dts/am335x-chilisom.dtsi
index 95461a2..e48c282 100644
--- a/arch/arm/boot/dts/am335x-chilisom.dtsi
+++ b/arch/arm/boot/dts/am335x-chilisom.dtsi
@@ -214,6 +214,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		ti,nand-ecc-opt = "bch8";
 		ti,elm-id = <&elm>;
 		nand-bus-width = <8>;
diff --git a/arch/arm/boot/dts/am335x-cm-t335.dts b/arch/arm/boot/dts/am335x-cm-t335.dts
index e835644..817b1de 100644
--- a/arch/arm/boot/dts/am335x-cm-t335.dts
+++ b/arch/arm/boot/dts/am335x-cm-t335.dts
@@ -411,6 +411,7 @@ status = "okay";
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		ti,nand-ecc-opt = "bch8";
 		ti,elm-id = <&elm>;
 		nand-bus-width = <8>;
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 28b9162..516673b 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -524,6 +524,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		ti,nand-ecc-opt = "bch8";
 		ti,elm-id = <&elm>;
 		nand-bus-width = <8>;
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
index 6c3a9bf..df63484 100644
--- a/arch/arm/boot/dts/am335x-igep0033.dtsi
+++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
@@ -135,6 +135,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		nand-bus-width = <8>;
 		ti,nand-ecc-opt = "bch8";
 		gpmc,device-width = <1>;
diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi
index d4b7f3b..86f7731 100644
--- a/arch/arm/boot/dts/am335x-phycore-som.dtsi
+++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi
@@ -171,6 +171,7 @@
 		interrupt-parent = <&gpmc>;
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		nand-bus-width = <8>;
 		ti,nand-ecc-opt = "bch8";
 		gpmc,device-nand = "true";
-- 
2.5.0

--
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] 15+ messages in thread

* [PATCH 13/13] ARM: dts: omap3-beagle: Provide NAND ready pin
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (11 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 12/13] ARM: dts: am335x: " Roger Quadros
@ 2016-04-07 10:25   ` Roger Quadros
  2016-04-12 21:28   ` [PATCH 00/13] ARM: dts: OMAP2+: Enable gpio controller for GPMC and add " Tony Lindgren
  13 siblings, 0 replies; 15+ messages in thread
From: Roger Quadros @ 2016-04-07 10:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

On these boards NAND ready pin status is avilable over
GPMC_WAIT0 pin.

For NAND we don't use GPMC wait pin monitoring but
get the NAND Ready/Busy# status using GPIOlib.
GPMC driver provides the WAIT0 pin status over GPIOlib.

Read speed increases from 13212 KiB/ to 15753 KiB/s
and write speed was unchanged at 4404 KiB/s.

Measured using mtd_speedtest.ko on omap3-beagle-c4.

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/omap3-beagle.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
index 4602866..a4deff0 100644
--- a/arch/arm/boot/dts/omap3-beagle.dts
+++ b/arch/arm/boot/dts/omap3-beagle.dts
@@ -390,6 +390,7 @@
 		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
 			     <1 IRQ_TYPE_NONE>;	/* termcount */
 		ti,nand-ecc-opt = "ham1";
+		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		nand-bus-width = <16>;
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.5.0

--
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] 15+ messages in thread

* Re: [PATCH 00/13] ARM: dts: OMAP2+: Enable gpio controller for GPMC and add NAND ready pin
       [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                     ` (12 preceding siblings ...)
  2016-04-07 10:25   ` [PATCH 13/13] ARM: dts: omap3-beagle: " Roger Quadros
@ 2016-04-12 21:28   ` Tony Lindgren
  13 siblings, 0 replies; 15+ messages in thread
From: Tony Lindgren @ 2016-04-12 21:28 UTC (permalink / raw)
  To: Roger Quadros
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, fcooper-l0cyMroinI0,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA

* Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org> [160407 03:26]:
> Hi Tony,
> 
> We will be adding gpio controller support to GPMC in [1].
> The GPIO controller can also be used to provide the Read/Busy#
> pin status to the OMAP2+ nand driver.
> 
> These patches enable the gpio controller in the gpmc nodes
> and add ready pin information to the NAND nodes.

Thanks applying all into omap-for-v4.7/dt.

Tony
--
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] 15+ messages in thread

end of thread, other threads:[~2016-04-12 21:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07 10:25 [PATCH 00/13] ARM: dts: OMAP2+: Enable gpio controller for GPMC and add NAND ready pin Roger Quadros
     [not found] ` <1460024740-19716-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2016-04-07 10:25   ` [PATCH 01/13] ARM: dts: omap24xx: Enable gpio and interrupt controller for GPMC Roger Quadros
2016-04-07 10:25   ` [PATCH 02/13] ARM: dts: omap4: " Roger Quadros
2016-04-07 10:25   ` [PATCH 03/13] ARM: dts: omap5: " Roger Quadros
2016-04-07 10:25   ` [PATCH 04/13] ARM: dts: dra7: Enable gpio " Roger Quadros
2016-04-07 10:25   ` [PATCH 05/13] ARM: dts: am335x: " Roger Quadros
2016-04-07 10:25   ` [PATCH 06/13] ARM: dts: am4372: " Roger Quadros
2016-04-07 10:25   ` [PATCH 07/13] ARM: dts: omap3: " Roger Quadros
2016-04-07 10:25   ` [PATCH 08/13] ARM: dts: dm814x: " Roger Quadros
2016-04-07 10:25   ` [PATCH 09/13] ARM: dts: dm816x: " Roger Quadros
2016-04-07 10:25   ` [PATCH 10/13] ARM: dts: dra7x-evm: Provide NAND ready pin Roger Quadros
2016-04-07 10:25   ` [PATCH 11/13] ARM: dts: am437x: " Roger Quadros
2016-04-07 10:25   ` [PATCH 12/13] ARM: dts: am335x: " Roger Quadros
2016-04-07 10:25   ` [PATCH 13/13] ARM: dts: omap3-beagle: " Roger Quadros
2016-04-12 21:28   ` [PATCH 00/13] ARM: dts: OMAP2+: Enable gpio controller for GPMC and add " Tony Lindgren

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