Back to home page

OSCL-LXR

 
 

    


0001 *Imagination Technologies PWM DAC driver
0002 
0003 Required properties:
0004   - compatible: Should be "img,pistachio-pwm"
0005   - reg: Should contain physical base address and length of pwm registers.
0006   - clocks: Must contain an entry for each entry in clock-names.
0007         See ../clock/clock-bindings.txt for details.
0008   - clock-names: Must include the following entries.
0009     - pwm: PWM operating clock.
0010     - sys: PWM system interface clock.
0011   - #pwm-cells: Should be 2. See pwm.yaml in this directory for the
0012         description of the cells format.
0013   - img,cr-periph: Must contain a phandle to the peripheral control
0014         syscon node which contains PWM control registers.
0015 
0016 Example:
0017         pwm: pwm@18101300 {
0018                 compatible = "img,pistachio-pwm";
0019                 reg = <0x18101300 0x100>;
0020                 clocks = <&pwm_clk>, <&system_clk>;
0021                 clock-names = "pwm", "sys";
0022                 #pwm-cells = <2>;
0023                 img,cr-periph = <&cr_periph>;
0024         };