[PATCH v5 08/13] dt-bindings: pwm: update bindings for MT7628 SoC
Sam Shih
sam.shih at mediatek.com
Wed Aug 21 23:58:38 PDT 2019
This updates bindings for MT7628 pwm controller.
Signed-off-by: Sam Shih <sam.shih at mediatek.com>
---
Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt
index ea95b490a913..93980e3da261 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt
+++ b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt
@@ -21,6 +21,10 @@ Required properties:
See pinctrl/pinctrl-bindings.txt for details of the property values.
- num-pwms: the number of PWM channels.
+
+ Optional properties:
+ - clock-frequency: fix clock frequency, this is only used in MT7628 SoC
+ for period calculation. This SoC has no complex clock tree.
Example:
pwm0: pwm at 11006000 {
compatible = "mediatek,mt7623-pwm";
--
2.17.1
More information about the Linux-mediatek
mailing list