diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2014-06-21 10:22:07 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2014-07-11 11:01:31 -0400 |
commit | eae266a284f370d40c50dbed7a988a744bab0d44 (patch) | |
tree | f9a13e40af79fd142993e83c3cfbbce10d4f8b6c | |
parent | 101353c82a4435aa2fc5bbd4aebafcd2d388171c (diff) |
pwm: rockchip: document device tree bindings
This adds binding documentation for Rockchip SoC PWM driver.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
-rw-r--r-- | Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt new file mode 100644 index 000000000000..3182126189bf --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | Rockchip PWM controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "rockchip,rk2928-pwm" | ||
5 | - reg: physical base address and length of the controller's registers | ||
6 | - clocks: phandle and clock specifier of the PWM reference clock | ||
7 | - #pwm-cells: should be 2. See pwm.txt in this directory for a | ||
8 | description of the cell format. | ||
9 | |||
10 | Example: | ||
11 | |||
12 | pwm0: pwm@20030000 { | ||
13 | compatible = "rockchip,rk2928-pwm"; | ||
14 | reg = <0x20030000 0x10>; | ||
15 | clocks = <&cru PCLK_PWM01>; | ||
16 | #pwm-cells = <2>; | ||
17 | }; | ||