diff mbox series

[v1,3/5] arm64: dts: mt7622: add a property "mediatek, num-pwms" for PWM

Message ID 2c4938513672887dbb9f2571059a2cf7076a0266.1547781007.git.ryder.lee@mediatek.com (mailing list archive)
State New, archived
Headers show
Series [v1,1/5] pwm: mediatek: add a property "mediatek,num-pwms" | expand

Commit Message

Ryder Lee Jan. 18, 2019, 3:24 a.m. UTC
This add a property "mediatek,num-pwms" for PWM controller.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Uwe Kleine-König Jan. 18, 2019, 8:01 a.m. UTC | #1
Hello,

there is a whitespace between the comma and "num-pwms" in the Subject
that should not be there. (But I hope this is resolved by dropping the
vendor prefix from the property.)

Best regards
Uwe
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 8fc4aa7..ab016cf 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
@@ -436,6 +436,7 @@ 
 			 <&pericfg CLK_PERI_PWM6_PD>;
 		clock-names = "top", "main", "pwm1", "pwm2", "pwm3", "pwm4",
 			      "pwm5", "pwm6";
+		mediatek,num-pwms = <6>;
 		status = "disabled";
 	};