^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) *Imagination Technologies PWM DAC driver
^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: Should be "img,pistachio-pwm"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: Should contain physical base address and length of pwm registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - clocks: Must contain an entry for each entry in clock-names.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) See ../clock/clock-bindings.txt for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - clock-names: Must include the following entries.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - pwm: PWM operating clock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - sys: PWM system interface clock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - #pwm-cells: Should be 2. See pwm.yaml in this directory for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) description of the cells format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - img,cr-periph: Must contain a phandle to the peripheral control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) syscon node which contains PWM control registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) pwm: pwm@18101300 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) compatible = "img,pistachio-pwm";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) reg = <0x18101300 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) clocks = <&pwm_clk>, <&system_clk>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) clock-names = "pwm", "sys";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #pwm-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) img,cr-periph = <&cr_periph>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };