Add mt7629 pwm support
Subsystems (2)
cover Add mt7629 pwm support
A gentle ping on this whole patch series
This adds pwm support for MT7629.
Separate this dtsi update from pwm patches series,
Used:
https://patchwork.kernel.org/patch/11160851/
Related dependent driver updates have been merged into maintainer's kernel source tree.
Sam Shih (1):
arm: dts: mediatek: add mt7629 pwm support
arch/arm/boot/dts/mt7629.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Signature · 7 lines
2.17.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH RESEND 1/1 arm: dts: mediatek: add mt7629 pwm support
This adds pwm support for MT7629.
Used:
https://patchwork.kernel.org/patch/11160851/
--- arch/arm/boot/dts/mt7629.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
arch/arm/boot/dts/mt7629.dtsi +15 -0
@@ -241,6 +241,21 @@ status = "disabled"; }; + pwm: pwm@11006000 { + compatible = "mediatek,mt7629-pwm"; + reg = <0x11006000 0x1000>; + interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>; + clocks = <&topckgen CLK_TOP_PWM_SEL>, + <&pericfg CLK_PERI_PWM_PD>, + <&pericfg CLK_PERI_PWM1_PD>; + clock-names = "top", "main", "pwm1"; + assigned-clocks = <&topckgen CLK_TOP_PWM_SEL>; + assigned-clock-parents = + <&topckgen CLK_TOP_UNIVPLL2_D4>; + num-pwms = <1>; + status = "disabled"; + }; + i2c: i2c@11007000 { compatible = "mediatek,mt7629-i2c", "mediatek,mt2712-i2c";
Signature · 1 line
2.17.1
Matthias Brugger
maintainerRe: [RESEND, PATCH 1/1] arm: dts: mediatek: add mt7629 pwm support
Quoted 19 lines · Sam Shih
This adds pwm support for MT7629.
Used:
https://patchwork.kernel.org/patch/11160851/Signed-off-by Sam Shih <[email protected]>--- arch/arm/boot/dts/mt7629.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)arch/arm/boot/dts/mt7629.dtsi +2
-0@@ -241,6 +241,21 @@ status = "disabled"; }; + pwm: pwm@11006000 { + compatible = "mediatek,mt7629-pwm";
arch/arm/boot/dts/mt7629.dtsi line 255
Quoted 10 lines
arch/arm/boot/dts/mt7629.dtsi +10
-0+ reg = <0x11006000 0x1000>; + interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>; + clocks = <&topckgen CLK_TOP_PWM_SEL>, + <&pericfg CLK_PERI_PWM_PD>, + <&pericfg CLK_PERI_PWM1_PD>; + clock-names = "top", "main", "pwm1"; + assigned-clocks = <&topckgen CLK_TOP_PWM_SEL>; + assigned-clock-parents = + <&topckgen CLK_TOP_UNIVPLL2_D4>; + num-pwms = <1>;
num-pwms is not defined. Did you mean pwm-cells?
Regards,
Matthias
Quoted 7 lines
arch/arm/boot/dts/mt7629.dtsi +3
-0+ status = "disabled"; + }; + i2c: i2c@11007000 { compatible = "mediatek,mt7629-i2c", "mediatek,mt2712-i2c";
Re: [RESEND, PATCH 1/1] arm: dts: mediatek: add mt7629 pwm support
Quoted 37 lines · Matthias Brugger
Quoted 19 lines · Sam Shih
This adds pwm support for MT7629.
Used:
https://patchwork.kernel.org/patch/11160851/Signed-off-by Sam Shih <[email protected]>--- arch/arm/boot/dts/mt7629.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)arch/arm/boot/dts/mt7629.dtsi +2
-0@@ -241,6 +241,21 @@ status = "disabled"; }; + pwm: pwm@11006000 { + compatible = "mediatek,mt7629-pwm";arch/arm/boot/dts/mt7629.dtsi line 255
Quoted 10 lines
arch/arm/boot/dts/mt7629.dtsi +10
-0+ reg = <0x11006000 0x1000>; + interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>; + clocks = <&topckgen CLK_TOP_PWM_SEL>, + <&pericfg CLK_PERI_PWM_PD>, + <&pericfg CLK_PERI_PWM1_PD>; + clock-names = "top", "main", "pwm1"; + assigned-clocks = <&topckgen CLK_TOP_PWM_SEL>; + assigned-clock-parents = + <&topckgen CLK_TOP_UNIVPLL2_D4>; + num-pwms = <1>;num-pwms is not defined. Did you mean pwm-cells?
Regards,
Matthias
Quoted 12 lines
arch/arm/boot/dts/mt7629.dtsi line 261
Quoted 7 lines
arch/arm/boot/dts/mt7629.dtsi +3
-0+ status = "disabled"; + }; + i2c: i2c@11007000 { compatible = "mediatek,mt7629-i2c", "mediatek,mt2712-i2c";_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Sorry for the Late Reply,
The num-pwms field is redundant after we derive it from the compatible string. I forgot to remove it from the device tree.
I will send a new version.
Thanks,
Best Regards,
Sam Shih