diff mbox series

[v2,5/10] arm64: dts: mt7622: add a property "num-pwms" for PWM node

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

Commit Message

Sam Shih (史碩三) Aug. 14, 2019, 10:43 a.m. UTC
From: Ryder Lee <ryder.lee@mediatek.com>

This adds a property "num-pwms" for PWM controller.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Sam Shih <sam.shih@mediatek.com>
---
Changes since v2: use num-pwms instead of mediatek,num-pwms.
---
 arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 8fc4aa7..17e7164 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";
+		num-pwms = <6>;
 		status = "disabled";
 	};