Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1649587 > unrolled thread

[PATCH] arm: dts: da850: Add interrupt-controller property to gpio node

Started byKeerthy <j-keerthy@ti.com>
First post2017-05-24 14:50 +0200
Last post2017-05-24 15:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] arm: dts: da850: Add interrupt-controller property to gpio node Keerthy <j-keerthy@ti.com> - 2017-05-24 14:50 +0200
    Re: [PATCH] arm: dts: da850: Add interrupt-controller property to  gpio node Sekhar Nori <nsekhar@ti.com> - 2017-05-24 15:50 +0200

#1649587 — [PATCH] arm: dts: da850: Add interrupt-controller property to gpio node

FromKeerthy <j-keerthy@ti.com>
Date2017-05-24 14:50 +0200
Subject[PATCH] arm: dts: da850: Add interrupt-controller property to gpio node
Message-ID<tKDTI-2pQ-15@gated-at.bofh.it>
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>
---
 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

[toc] | [next] | [standalone]


#1649633 — Re: [PATCH] arm: dts: da850: Add interrupt-controller property to gpio node

FromSekhar Nori <nsekhar@ti.com>
Date2017-05-24 15:50 +0200
SubjectRe: [PATCH] arm: dts: da850: Add interrupt-controller property to gpio node
Message-ID<tKEPM-2YG-27@gated-at.bofh.it>
In reply to#1649587
On Wednesday 24 May 2017 06:18 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>

Can you please resend with LAKML copied. Thats the right list to use for
TI DaVinci patches (of course, please keep device tree lists and
maintainers copied too for DT patches).

I will fix the MAINTAINERS entry for TI DaVinci device-tree source files.

Thanks,
Sekhar

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web