]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.14.67/arm-dts-da850-fix-interrups-property-for-gpio.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.14.67 / arm-dts-da850-fix-interrups-property-for-gpio.patch
1 From foo@baz Wed Aug 22 09:33:46 CEST 2018
2 From: Keerthy <j-keerthy@ti.com>
3 Date: Tue, 5 Jun 2018 15:37:51 +0530
4 Subject: ARM: dts: da850: Fix interrups property for gpio
5
6 From: Keerthy <j-keerthy@ti.com>
7
8 [ Upstream commit 3eb1b955cd7ed1e621ace856710006c2a8a7f231 ]
9
10 The intc #interrupt-cells is equal to 1. Currently gpio
11 node has 2 cells per IRQ which is wrong. Remove the additional
12 cell for each of the interrupts.
13
14 Signed-off-by: Keerthy <j-keerthy@ti.com>
15 Fixes: 2e38b946dc54 ("ARM: davinci: da850: add GPIO DT node")
16 Signed-off-by: Sekhar Nori <nsekhar@ti.com>
17 Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 ---
20 arch/arm/boot/dts/da850.dtsi | 6 +-----
21 1 file changed, 1 insertion(+), 5 deletions(-)
22
23 --- a/arch/arm/boot/dts/da850.dtsi
24 +++ b/arch/arm/boot/dts/da850.dtsi
25 @@ -518,11 +518,7 @@
26 gpio-controller;
27 #gpio-cells = <2>;
28 reg = <0x226000 0x1000>;
29 - interrupts = <42 IRQ_TYPE_EDGE_BOTH
30 - 43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH
31 - 45 IRQ_TYPE_EDGE_BOTH 46 IRQ_TYPE_EDGE_BOTH
32 - 47 IRQ_TYPE_EDGE_BOTH 48 IRQ_TYPE_EDGE_BOTH
33 - 49 IRQ_TYPE_EDGE_BOTH 50 IRQ_TYPE_EDGE_BOTH>;
34 + interrupts = <42 43 44 45 46 47 48 49 50>;
35 ti,ngpio = <144>;
36 ti,davinci-gpio-unbanked = <0>;
37 status = "disabled";