Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1649650
| From | Keerthy <j-keerthy@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node |
| Date | 2017-05-24 16:10 +0200 |
| Message-ID | <tKF98-3ma-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node Keerthy <j-keerthy@ti.com> - 2017-05-24 16:10 +0200 Re: [PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node Sekhar Nori <nsekhar@ti.com> - 2017-05-30 13:00 +0200
csiph-web