diff mbox series

[v1,4/5] arm: dts: mt7623: add a property "mediatek, num-pwms" for PWM

Message ID b79123453b1eead7a7757bd6e8c0857404c5600b.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/arm/boot/dts/mt7623.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 0253691..9d59c28 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -443,6 +443,7 @@ 
 			 <&pericfg CLK_PERI_PWM5>;
 		clock-names = "top", "main", "pwm1", "pwm2",
 			      "pwm3", "pwm4", "pwm5";
+		mediatek,num-pwms = <5>;
 		status = "disabled";
 	};