Back to home page

OSCL-LXR

 
 

    


0001 * OMAP PWM for dual-mode timers
0002 
0003 Required properties:
0004 - compatible: Shall contain "ti,omap-dmtimer-pwm".
0005 - ti,timers: phandle to PWM capable OMAP timer. See timer/ti,timer-dm.yaml for info
0006   about these timers.
0007 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
0008   the cells format.
0009 
0010 Optional properties:
0011 - ti,prescaler: Should be a value between 0 and 7, see the timers datasheet
0012 - ti,clock-source: Set dmtimer parent clock, values between 0 and 2:
0013   - 0x00 - high-frequency system clock (timer_sys_ck)
0014   - 0x01 - 32-kHz always-on clock (timer_32k_ck)
0015   - 0x02 - external clock (timer_ext_ck, OMAP2 only)
0016 
0017 Example:
0018         pwm9: dmtimer-pwm@9 {
0019                 compatible = "ti,omap-dmtimer-pwm";
0020                 ti,timers = <&timer9>;
0021                 #pwm-cells = <3>;
0022         };