ARM: dts: exynos5: add missing interrupts for pwm node
Subsystems (2)
PATCH 1/1 ARM: dts: exynos5: add missing interrupts for pwm node
Add missing GIC interrupts property for pwm nodes.
--- arch/arm/boot/dts/exynos5.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos5.dtsi +5 -0
@@ -169,6 +169,11 @@ pwm: pwm at 12dd0000 { compatible = "samsung,exynos4210-pwm"; reg = <0x12DD0000 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; samsung,pwm-outputs = <0>, <1>, <2>, <3>; #pwm-cells = <3>; };
Signature · 1 line
2.7.4
Krzysztof Kozlowski
maintainerQuoted 12 lines · Anand Moon
Add missing GIC interrupts property for pwm nodes.
Signed-off-by Anand Moon <[email protected]>--- arch/arm/boot/dts/exynos5.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/exynos5.dtsi +0
-0
arch/arm/boot/dts/exynos5.dtsi line 173
Quoted 5 lines
arch/arm/boot/dts/exynos5.dtsi +2
-0@@ -169,6 +169,11 @@ pwm: pwm at 12dd0000 { compatible = "samsung,exynos4210-pwm"; reg = <0x12DD0000 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
Indentation here looks weird - spaces used after tabs but not aligned with first entry. Please indent it properly and align it.
Best regards,
Krzysztof
Quoted 9 lines
arch/arm/boot/dts/exynos5.dtsi +3
-1+ <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; samsung,pwm-outputs = <0>, <1>, <2>, <3>; #pwm-cells = <3>; }; --2.7.4
Hi
Quoted 22 lines · Krzysztof Kozlowski
Quoted 12 lines · Anand Moon
Add missing GIC interrupts property for pwm nodes.
Signed-off-by Anand Moon <[email protected]>--- arch/arm/boot/dts/exynos5.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/exynos5.dtsi +0
-0arch/arm/boot/dts/exynos5.dtsi line 173
Quoted 5 lines
arch/arm/boot/dts/exynos5.dtsi +2
-0@@ -169,6 +169,11 @@ pwm: pwm at 12dd0000 { compatible = "samsung,exynos4210-pwm"; reg = <0x12DD0000 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,Indentation here looks weird - spaces used after tabs but not aligned with first entry. Please indent it properly and align it.
Quoted 2 lines
Best regards,
Krzysztof
I ram checkpatch before I submit this patch it shown no error.
# scripts/checkpatch.pl --no-signoff -q 0001-ARM-dts-exynos5-add-missing-interrupts-for-pwm-node.patch
Best Regards
-Anand
Quoted 10 lines
Quoted 10 lines
arch/arm/boot/dts/exynos5.dtsi +3
-1+ <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; samsung,pwm-outputs = <0>, <1>, <2>, <3>; #pwm-cells = <3>; }; --2.7.4
Krzysztof Kozlowski
maintainerQuoted 25 lines · Anand Moon
Hi
Quoted 22 lines · Krzysztof Kozlowski
Quoted 12 lines · Anand Moon
Add missing GIC interrupts property for pwm nodes.
Signed-off-by Anand Moon <[email protected]>--- arch/arm/boot/dts/exynos5.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/exynos5.dtsi +0
-0arch/arm/boot/dts/exynos5.dtsi line 173
Quoted 5 lines
arch/arm/boot/dts/exynos5.dtsi +2
-0@@ -169,6 +169,11 @@ pwm: pwm at 12dd0000 { compatible = "samsung,exynos4210-pwm"; reg = <0x12DD0000 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,Indentation here looks weird - spaces used after tabs but not aligned with first entry. Please indent it properly and align it.
Quoted 7 lines
Quoted 2 lines
Best regards,
KrzysztofI ram checkpatch before I submit this patch it shown no error.
# scripts/checkpatch.pl --no-signoff -q 0001-ARM-dts-exynos5-add-missing-interrupts-for-pwm-node.patch
That's good, thank you. Still when I look at it in patchwork the indentation is wrong:
https://patchwork.kernel.org/patch/10531753/
However it can be patchwork's fault, so are you sure that this is properly indented and aligned?
BR,
Krzysztof
Hi Krzysztof,
Quoted 34 lines · Krzysztof Kozlowski
Quoted 25 lines · Anand Moon
Hi
Quoted 22 lines · Krzysztof Kozlowski
Quoted 12 lines · Anand Moon
Add missing GIC interrupts property for pwm nodes.
Signed-off-by Anand Moon <[email protected]>--- arch/arm/boot/dts/exynos5.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/exynos5.dtsi +0
-0arch/arm/boot/dts/exynos5.dtsi line 173
Quoted 5 lines
arch/arm/boot/dts/exynos5.dtsi +2
-0@@ -169,6 +169,11 @@ pwm: pwm at 12dd0000 { compatible = "samsung,exynos4210-pwm"; reg = <0x12DD0000 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,Indentation here looks weird - spaces used after tabs but not aligned with first entry. Please indent it properly and align it.
Quoted 7 lines
Quoted 2 lines
Best regards,
KrzysztofI ram checkpatch before I submit this patch it shown no error.
# scripts/checkpatch.pl --no-signoff -q 0001-ARM-dts-exynos5-add-missing-interrupts-for-pwm-node.patch
Quoted 8 lines
That's good, thank you. Still when I look at it in patchwork the indentation is wrong:
https://patchwork.kernel.org/patch/10531753/
However it can be patchwork's fault, so are you sure that this is properly indented and aligned?BR,
Krzysztof
I prefer vim and I use following plugin
https://github.com/vivien/vim-linux-coding-style
root at odroidxu4:/usr/src/odroidxu4-4kr-devel# wget -nv
https://patchwork.kernel.org/patch/10531753/mbox/ -O pwm.patch 2018-07-18 10:48:09 URL:https://patchwork.kernel.org/patch/10531753/mbox/ [1460] -> "pwm.patch" [1]
root at odroidxu4:/usr/src/odroidxu4-4kr-devel#
root at odroidxu4:/usr/src/odroidxu4-4kr-devel# scripts/checkpatch.pl --no-signoff -q pwm.patch
root at odroidxu4:/usr/src/odroidxu4-4kr-devel#
Is their any other way to test checkpatch please let me know.
Best Regards
-Anand
Krzysztof Kozlowski
maintainerQuoted 60 lines · Anand Moon
Hi Krzysztof,
Quoted 34 lines · Krzysztof Kozlowski
Quoted 25 lines · Anand Moon
Hi
Quoted 22 lines · Krzysztof Kozlowski
Quoted 12 lines · Anand Moon
Add missing GIC interrupts property for pwm nodes.
Signed-off-by Anand Moon <[email protected]>--- arch/arm/boot/dts/exynos5.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/exynos5.dtsi +0
-0arch/arm/boot/dts/exynos5.dtsi line 173
Quoted 5 lines
arch/arm/boot/dts/exynos5.dtsi +2
-0@@ -169,6 +169,11 @@ pwm: pwm at 12dd0000 { compatible = "samsung,exynos4210-pwm"; reg = <0x12DD0000 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,Indentation here looks weird - spaces used after tabs but not aligned with first entry. Please indent it properly and align it.
Quoted 7 lines
Quoted 2 lines
Best regards,
KrzysztofI ram checkpatch before I submit this patch it shown no error.
# scripts/checkpatch.pl --no-signoff -q 0001-ARM-dts-exynos5-add-missing-interrupts-for-pwm-node.patchQuoted 8 lines
That's good, thank you. Still when I look at it in patchwork the indentation is wrong:
https://patchwork.kernel.org/patch/10531753/
However it can be patchwork's fault, so are you sure that this is properly indented and aligned?BR,
KrzysztofI prefer vim and I use following plugin
https://github.com/vivien/vim-linux-coding-style
root at odroidxu4:/usr/src/odroidxu4-4kr-devel# wget -nv
https://patchwork.kernel.org/patch/10531753/mbox/ -O pwm.patch 2018-07-18 10:48:09 URL:https://patchwork.kernel.org/patch/10531753/mbox/ [1460] -> "pwm.patch" [1]
root at odroidxu4:/usr/src/odroidxu4-4kr-devel#
root at odroidxu4:/usr/src/odroidxu4-4kr-devel#scripts/checkpatch.pl--no-signoff -q pwm.patch
root at odroidxu4:/usr/src/odroidxu4-4kr-devel#
Quoted 1 line
Is their any other way to test checkpatch please let me know.
This is trivial thing and should be fixed after my first reply. But clearly we need to waste some more time... so I applied the patch to check whether patchwork shows it properly or not... and it is the same. Indentation is wrong.
Please fix the weird alignment. You have existing examples in the DTSI file (rtc node) how to do it. Current indentation is clearly wrong - why using spaces after tab if this is not aligned properly?
Best regards,
Krzysztof
Hi Krzysztof
Quoted 68 lines · Krzysztof Kozlowski
Quoted 60 lines · Anand Moon
Hi Krzysztof,
Quoted 34 lines · Krzysztof Kozlowski
Quoted 25 lines · Anand Moon
Hi
Quoted 22 lines · Krzysztof Kozlowski
Quoted 12 lines · Anand Moon
Add missing GIC interrupts property for pwm nodes.
Signed-off-by Anand Moon <[email protected]>--- arch/arm/boot/dts/exynos5.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/exynos5.dtsi +0
-0arch/arm/boot/dts/exynos5.dtsi line 173
Quoted 5 lines
arch/arm/boot/dts/exynos5.dtsi +2
-0@@ -169,6 +169,11 @@ pwm: pwm at 12dd0000 { compatible = "samsung,exynos4210-pwm"; reg = <0x12DD0000 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,Indentation here looks weird - spaces used after tabs but not aligned with first entry. Please indent it properly and align it.
Quoted 7 lines
Quoted 2 lines
Best regards,
KrzysztofI ram checkpatch before I submit this patch it shown no error.
# scripts/checkpatch.pl --no-signoff -q 0001-ARM-dts-exynos5-add-missing-interrupts-for-pwm-node.patchQuoted 8 lines
That's good, thank you. Still when I look at it in patchwork the indentation is wrong:
https://patchwork.kernel.org/patch/10531753/
However it can be patchwork's fault, so are you sure that this is properly indented and aligned?BR,
KrzysztofI prefer vim and I use following plugin
https://github.com/vivien/vim-linux-coding-style
root at odroidxu4:/usr/src/odroidxu4-4kr-devel# wget -nv
https://patchwork.kernel.org/patch/10531753/mbox/ -O pwm.patch 2018-07-18 10:48:09 URL:https://patchwork.kernel.org/patch/10531753/mbox/ [1460] -> "pwm.patch" [1]
root at odroidxu4:/usr/src/odroidxu4-4kr-devel#
root at odroidxu4:/usr/src/odroidxu4-4kr-devel#scripts/checkpatch.pl--no-signoff -q pwm.patch
root at odroidxu4:/usr/src/odroidxu4-4kr-devel#Quoted 1 line
Is their any other way to test checkpatch please let me know.
This is trivial thing and should be fixed after my first reply. But clearly we need to waste some more time... so I applied the patch to check whether patchwork shows it properly or not... and it is the same. Indentation is wrong.
Quoted 6 lines
Please fix the weird alignment. You have existing examples in the DTSI file (rtc node) how to do it. Current indentation is clearly wrong - why using spaces after tab if this is not aligned properly?
Best regards,
Krzysztof
Opps sorry I have send v2 patch
https://patchwork.kernel.org/patch/10532443/ with proper fix.
I will do strict check next time before sending the patch.
Best Regards
-Anand