Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pwm / pxa-pwm.txt
blob5ae9f1e3c33896b3f305de8d727b9b859a706b11
1 Marvell PWM controller
3 Required properties:
4 - compatible: should be one or more of:
5   - "marvell,pxa250-pwm"
6   - "marvell,pxa270-pwm"
7   - "marvell,pxa168-pwm"
8   - "marvell,pxa910-pwm"
9 - reg: Physical base address and length of the registers used by the PWM channel
10   Note that one device instance must be created for each PWM that is used, so the
11   length covers only the register window for one PWM output, not that of the
12   entire PWM controller.  Currently length is 0x10 for all supported devices.
13 - #pwm-cells: Should be 1.  This cell is used to specify the period in
14   nanoseconds.
16 Example PWM device node:
18 pwm0: pwm@40b00000 {
19         compatible = "marvell,pxa250-pwm";
20         reg = <0x40b00000 0x10>;
21         #pwm-cells = <1>;
24 Example PWM client node:
26 backlight {
27         compatible = "pwm-backlight";
28         pwms = <&pwm0 5000000>;
29         ...