mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node
@ 2017-05-24 14:01 Keerthy
  2017-05-30 10:50 ` Sekhar Nori
  0 siblings, 1 reply; 2+ messages in thread
From: Keerthy @ 2017-05-24 14:01 UTC (permalink / raw)
  To: nsekhar, linus.walleij
  Cc: j-keerthy, tony, mark.rutland, t-kristo, linux-omap,
	linux-kernel, devicetree, robh+dt, linux-arm-kernel

The gpio node has 144 gpios. Each gpio is capable of generating
an interrupt. Hence add interrupt-controller property to the gpio
node. With this in place one can use interrupts property in device
tree to request for the gpio interrupts.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---

Changes in v2:

  * Added LAKML list.
  * Chaned arm to upper case in $Subject

 arch/arm/boot/dts/da850.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 941d455..2693bd2 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -503,6 +503,8 @@
 			ti,ngpio = <144>;
 			ti,davinci-gpio-unbanked = <0>;
 			status = "disabled";
+			interrupt-controller;
+			#interrupt-cells = <2>;
 		};
 		pinconf: pin-controller@22c00c {
 			compatible = "ti,da850-pupd";
-- 
1.9.1

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

* Re: [PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node
  2017-05-24 14:01 [PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node Keerthy
@ 2017-05-30 10:50 ` Sekhar Nori
  0 siblings, 0 replies; 2+ messages in thread
From: Sekhar Nori @ 2017-05-30 10:50 UTC (permalink / raw)
  To: Keerthy, linus.walleij
  Cc: tony, mark.rutland, t-kristo, linux-omap, linux-kernel,
	devicetree, robh+dt, linux-arm-kernel

On Wednesday 24 May 2017 07:31 PM, Keerthy wrote:
> The gpio node has 144 gpios. Each gpio is capable of generating
> an interrupt. Hence add interrupt-controller property to the gpio
> node. With this in place one can use interrupts property in device
> tree to request for the gpio interrupts.
> 
> Signed-off-by: Keerthy <j-keerthy@ti.com>

Applied to v4.13/dt

Thanks,
Sekhar

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

end of thread, other threads:[~2017-05-30 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-24 14:01 [PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node Keerthy
2017-05-30 10:50 ` Sekhar Nori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®