ARM: DT: Exynos5250: fix number of interrupt-cells in mct node
Subsystems (2)
PATCH 1/1 ARM: DT: Exynos5250: fix number of interrupt-cells in mct node
Two cells were used to specify interrupts in mct node, while second cell always remains unused. Hence use only one cell.
Suggested by Tomasz Figa.
---
changes in v2:
- Drop Changes for Exynos4 as done in separate patch by Tomasz
arch/arm/boot/dts/exynos5250.dtsi | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
arch/arm/boot/dts/exynos5250.dtsi +9 -10
@@ -102,23 +102,22 @@ compatible = "samsung,exynos4210-mct"; reg = <0x101C0000 0x800>; interrupt-controller; - #interrups-cells = <2>; + #interrups-cells = <1>; interrupt-parent = <&mct_map>; - interrupts = <0 0>, <1 0>, <2 0>, <3 0>, - <4 0>, <5 0>; + interrupts = <0>, <1>, <2>, <3>, <4>, <5>; clocks = <&clock 1>, <&clock 335>; clock-names = "fin_pll", "mct"; mct_map: mct-map { - #interrupt-cells = <2>; + #interrupt-cells = <1>; #address-cells = <0>; #size-cells = <0>; - interrupt-map = <0x0 0 &combiner 23 3>, - <0x1 0 &combiner 23 4>, - <0x2 0 &combiner 25 2>, - <0x3 0 &combiner 25 3>, - <0x4 0 &gic 0 120 0>, - <0x5 0 &gic 0 121 0>; + interrupt-map = <0 &combiner 23 3>, + <1 &combiner 23 4>, + <2 &combiner 25 2>, + <3 &combiner 25 3>, + <4 &gic 0 120 0>, + <5 &gic 0 121 0>; }; };
Signature · 1 line
1.7.9.5
PATCH 1/1 ARM: DT: Exynos5250: fix number of interrupt-cells in mct node
Hi Chander,
Quoted 17 lines · On Wednesday 28 of August 2013 16:30:41 Chander Kashyap wrote:
Two cells were used to specify interrupts in mct node, while second cell always remains unused. Hence use only one cell.
Suggested by Tomasz Figa.Signed-off-by Chander Kashyap <[email protected]>---
changes in v2:
- Drop Changes for Exynos4 as done in separate patch by Tomaszarch/arm/boot/dts/exynos5250.dtsi | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)(quoted diff) +0
-0
b/arch/arm/boot/dts/exynos5250.dtsiindex ef57277..f2f178a 100644
arch/arm/boot/dts/exynos5250.dtsi line 105
Quoted 5 lines
arch/arm/boot/dts/exynos5250.dtsi +1
-1@@ -102,23 +102,22 @@ compatible = "samsung,exynos4210-mct"; reg = <0x101C0000 0x800>; interrupt-controller; - #interrups-cells = <2>; + #interrups-cells = <1>;
Those two properties above are unused and in fact incorrect, because MCT is not an interrupt controller, so they could be removed in a follow-up patch.
You can also check out the clean-up series I mentioned for other things that could be cleaned up in Exynos 5 dtsi files.
Quoted 16 lines
arch/arm/boot/dts/exynos5250.dtsi +2
-7interrupt-parent = <&mct_map>; - interrupts = <0 0>, <1 0>, <2 0>, <3 0>, - <4 0>, <5 0>; + interrupts = <0>, <1>, <2>, <3>, <4>, <5>; clocks = <&clock 1>, <&clock 335>; clock-names = "fin_pll", "mct"; mct_map: mct-map { - #interrupt-cells = <2>; + #interrupt-cells = <1>; #address-cells = <0>; #size-cells = <0>; - interrupt-map = <0x0 0 &combiner 23 3>, - <0x1 0 &combiner 23 4>, - <0x2 0 &combiner 25 2>, - <0x3 0 &combiner 25 3>,
arch/arm/boot/dts/exynos5250.dtsi line 122
Quoted 10 lines
arch/arm/boot/dts/exynos5250.dtsi +6
-2- <0x4 0 &gic 0 120 0>, - <0x5 0 &gic 0 121 0>; + interrupt-map = <0 &combiner 23 3>, + <1 &combiner 23 4>, + <2 &combiner 25 2>, + <3 &combiner 25 3>, + <4 &gic 0 120 0>, + <5 &gic 0 121 0>; }; };
Otherwise, looks fine. Thanks.
Best regards,
Tomasz
PATCH 1/1 ARM: DT: Exynos5250: fix number of interrupt-cells in mct node
Quoted 15 lines · Tomasz Figa
Hi Chander,
Quoted 12 lines · On Wednesday 28 of August 2013 16:30:41 Chander Kashyap wrote:
Two cells were used to specify interrupts in mct node, while second cell always remains unused. Hence use only one cell.
Suggested by Tomasz Figa.Signed-off-by Chander Kashyap <[email protected]>---
changes in v2:
- Drop Changes for Exynos4 as done in separate patch by Tomaszarch/arm/boot/dts/exynos5250.dtsi | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
Quoted 13 lines
arch/arm/boot/dts/exynos5250.dtsi line 105
Quoted 10 lines
(quoted diff) +0
-0
b/arch/arm/boot/dts/exynos5250.dtsiindex ef57277..f2f178a 100644arch/arm/boot/dts/exynos5250.dtsi +1
-1@@ -102,23 +102,22 @@ compatible = "samsung,exynos4210-mct"; reg = <0x101C0000 0x800>; interrupt-controller; - #interrups-cells = <2>; + #interrups-cells = <1>;Those two properties above are unused and in fact incorrect, because MCT is not an interrupt controller, so they could be removed in a follow-up patch.
Thanks for the correction. I will remove them.
Quoted 3 lines
You can also check out the clean-up series I mentioned for other things that could be cleaned up in Exynos 5 dtsi files.
ok
Quoted 28 lines
Quoted 17 lines
arch/arm/boot/dts/exynos5250.dtsi +2
-7interrupt-parent = <&mct_map>; - interrupts = <0 0>, <1 0>, <2 0>, <3 0>, - <4 0>, <5 0>; + interrupts = <0>, <1>, <2>, <3>, <4>, <5>; clocks = <&clock 1>, <&clock 335>; clock-names = "fin_pll", "mct"; mct_map: mct-map { - #interrupt-cells = <2>; + #interrupt-cells = <1>; #address-cells = <0>; #size-cells = <0>; - interrupt-map = <0x0 0 &combiner 23 3>, - <0x1 0 &combiner 23 4>, - <0x2 0 &combiner 25 2>, - <0x3 0 &combiner 25 3>,arch/arm/boot/dts/exynos5250.dtsi line 122
Quoted 10 lines
arch/arm/boot/dts/exynos5250.dtsi +6
-2- <0x4 0 &gic 0 120 0>, - <0x5 0 &gic 0 121 0>; + interrupt-map = <0 &combiner 23 3>, + <1 &combiner 23 4>, + <2 &combiner 25 2>, + <3 &combiner 25 3>, + <4 &gic 0 120 0>, + <5 &gic 0 121 0>; }; };
Quoted 1 line
Otherwise, looks fine. Thanks.
Thanks
Quoted 4 lines
Best regards,
Tomasz
Signature · 2 lines
with warm regards, Chander Kashyap
PATCH 1/1 ARM: DT: Exynos5250: fix number of interrupt-cells in mct node
Ki Kukjin,
Quoted 66 lines · Chander Kashyap
Quoted 15 lines · Tomasz Figa
Hi Chander,
Quoted 12 lines · On Wednesday 28 of August 2013 16:30:41 Chander Kashyap wrote:
Two cells were used to specify interrupts in mct node, while second cell always remains unused. Hence use only one cell.
Suggested by Tomasz Figa.Signed-off-by Chander Kashyap <[email protected]>---
changes in v2:
- Drop Changes for Exynos4 as done in separate patch by Tomaszarch/arm/boot/dts/exynos5250.dtsi | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)Quoted 13 lines
arch/arm/boot/dts/exynos5250.dtsi line 105
Quoted 10 lines
(quoted diff) +0
-0
b/arch/arm/boot/dts/exynos5250.dtsiindex ef57277..f2f178a 100644arch/arm/boot/dts/exynos5250.dtsi +1
-1@@ -102,23 +102,22 @@ compatible = "samsung,exynos4210-mct"; reg = <0x101C0000 0x800>; interrupt-controller; - #interrups-cells = <2>; + #interrups-cells = <1>;Those two properties above are unused and in fact incorrect, because MCT is not an interrupt controller, so they could be removed in a follow-up patch.
Thanks for the correction. I will remove them.
Quoted 3 lines
You can also check out the clean-up series I mentioned for other things that could be cleaned up in Exynos 5 dtsi files.
ok
Quoted 28 lines
Quoted 27 lines
arch/arm/boot/dts/exynos5250.dtsi +8
-9interrupt-parent = <&mct_map>; - interrupts = <0 0>, <1 0>, <2 0>, <3 0>, - <4 0>, <5 0>; + interrupts = <0>, <1>, <2>, <3>, <4>, <5>; clocks = <&clock 1>, <&clock 335>; clock-names = "fin_pll", "mct"; mct_map: mct-map { - #interrupt-cells = <2>; + #interrupt-cells = <1>; #address-cells = <0>; #size-cells = <0>; - interrupt-map = <0x0 0 &combiner 23 3>, - <0x1 0 &combiner 23 4>, - <0x2 0 &combiner 25 2>, - <0x3 0 &combiner 25 3>, - <0x4 0 &gic 0 120 0>, - <0x5 0 &gic 0 121 0>; + interrupt-map = <0 &combiner 23 3>, + <1 &combiner 23 4>, + <2 &combiner 25 2>, + <3 &combiner 25 3>, + <4 &gic 0 120 0>, + <5 &gic 0 121 0>; }; };
Quoted 4 lines
Quoted 1 line
Otherwise, looks fine. Thanks.
Thanks
Kindly Ignore this patch, i will send it with another patch series.
Quoted 10 lines
Quoted 4 lines
Best regards,
Tomasz--
with warm regards,
Chander Kashyap
Signature · 2 lines
with warm regards, Chander Kashyap