diff options
| -rw-r--r-- | Documentation/devicetree/bindings/pwm/img-pwm.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/img-pwm.txt b/Documentation/devicetree/bindings/pwm/img-pwm.txt new file mode 100644 index 000000000000..fade5f26fcac --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/img-pwm.txt | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | *Imagination Technologies PWM DAC driver | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Should be "img,pistachio-pwm" | ||
| 5 | - reg: Should contain physical base address and length of pwm registers. | ||
| 6 | - clocks: Must contain an entry for each entry in clock-names. | ||
| 7 | See ../clock/clock-bindings.txt for details. | ||
| 8 | - clock-names: Must include the following entries. | ||
| 9 | - pwm: PWM operating clock. | ||
| 10 | - sys: PWM system interface clock. | ||
| 11 | - #pwm-cells: Should be 2. See pwm.txt in this directory for the | ||
| 12 | description of the cells format. | ||
| 13 | - img,cr-periph: Must contain a phandle to the peripheral control | ||
| 14 | syscon node which contains PWM control registers. | ||
| 15 | |||
| 16 | Example: | ||
| 17 | pwm: pwm@18101300 { | ||
| 18 | compatible = "img,pistachio-pwm"; | ||
| 19 | reg = <0x18101300 0x100>; | ||
| 20 | clocks = <&pwm_clk>, <&system_clk>; | ||
| 21 | clock-names = "pwm", "sys"; | ||
| 22 | #pwm-cells = <2>; | ||
| 23 | img,cr-periph = <&cr_periph>; | ||
| 24 | }; | ||
