]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.4.45/arm-dts-imx31-fix-clock-control-module-interrupts-description.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.4.45 / arm-dts-imx31-fix-clock-control-module-interrupts-description.patch
CommitLineData
f68557eb
GKH
1From 2e575cbc930901718cc18e084566ecbb9a4b5ebb Mon Sep 17 00:00:00 2001
2From: Vladimir Zapolskiy <vz@mleia.com>
3Date: Mon, 26 Sep 2016 03:03:40 +0300
4Subject: ARM: dts: imx31: fix clock control module interrupts description
5
6From: Vladimir Zapolskiy <vz@mleia.com>
7
8commit 2e575cbc930901718cc18e084566ecbb9a4b5ebb upstream.
9
10The type of AVIC interrupt controller found on i.MX31 is one-cell,
11namely 31 for CCM DVFS and 53 for CCM, however for clock control
12module its interrupts are specified as 3-cells, fix it.
13
14Fixes: ef0e4a606fb6 ("ARM: mx31: Replace clk_register_clkdev with clock DT lookup")
15Acked-by: Rob Herring <robh@kernel.org>
16Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
17Signed-off-by: Shawn Guo <shawnguo@kernel.org>
18Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19
20---
21 Documentation/devicetree/bindings/clock/imx31-clock.txt | 2 +-
22 arch/arm/boot/dts/imx31.dtsi | 2 +-
23 2 files changed, 2 insertions(+), 2 deletions(-)
24
25--- a/Documentation/devicetree/bindings/clock/imx31-clock.txt
26+++ b/Documentation/devicetree/bindings/clock/imx31-clock.txt
27@@ -77,7 +77,7 @@ Examples:
28 clks: ccm@53f80000{
29 compatible = "fsl,imx31-ccm";
30 reg = <0x53f80000 0x4000>;
31- interrupts = <0 31 0x04 0 53 0x04>;
32+ interrupts = <31>, <53>;
33 #clock-cells = <1>;
34 };
35
36--- a/arch/arm/boot/dts/imx31.dtsi
37+++ b/arch/arm/boot/dts/imx31.dtsi
38@@ -114,7 +114,7 @@
39 clks: ccm@53f80000{
40 compatible = "fsl,imx31-ccm";
41 reg = <0x53f80000 0x4000>;
42- interrupts = <0 31 0x04 0 53 0x04>;
43+ interrupts = <31>, <53>;
44 #clock-cells = <1>;
45 };
46 };