^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * OMAP PWM for dual-mode timers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: Shall contain "ti,omap-dmtimer-pwm".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - ti,timers: phandle to PWM capable OMAP timer. See timer/ti,timer.txt for info
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) about these timers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) the cells format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - ti,prescaler: Should be a value between 0 and 7, see the timers datasheet
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - ti,clock-source: Set dmtimer parent clock, values between 0 and 2:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - 0x00 - high-frequency system clock (timer_sys_ck)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - 0x01 - 32-kHz always-on clock (timer_32k_ck)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - 0x02 - external clock (timer_ext_ck, OMAP2 only)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) pwm9: dmtimer-pwm@9 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) compatible = "ti,omap-dmtimer-pwm";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ti,timers = <&timer9>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #pwm-cells = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) };