1 *Imagination Technologies PWM DAC driver 1 *Imagination Technologies PWM DAC driver 2 2 3 Required properties: 3 Required properties: 4 - compatible: Should be "img,pistachio-pwm" 4 - compatible: Should be "img,pistachio-pwm" 5 - reg: Should contain physical base address 5 - reg: Should contain physical base address and length of pwm registers. 6 - clocks: Must contain an entry for each ent 6 - clocks: Must contain an entry for each entry in clock-names. 7 See ../clock/clock-bindings.txt for de 7 See ../clock/clock-bindings.txt for details. 8 - clock-names: Must include the following en 8 - clock-names: Must include the following entries. 9 - pwm: PWM operating clock. 9 - pwm: PWM operating clock. 10 - sys: PWM system interface clock. 10 - sys: PWM system interface clock. 11 - #pwm-cells: Should be 2. See pwm.yaml in t !! 11 - #pwm-cells: Should be 2. See pwm.txt in this directory for the 12 description of the cells format. 12 description of the cells format. 13 - img,cr-periph: Must contain a phandle to t 13 - img,cr-periph: Must contain a phandle to the peripheral control 14 syscon node which contains PWM control 14 syscon node which contains PWM control registers. 15 15 16 Example: 16 Example: 17 pwm: pwm@18101300 { 17 pwm: pwm@18101300 { 18 compatible = "img,pistachio-pw 18 compatible = "img,pistachio-pwm"; 19 reg = <0x18101300 0x100>; 19 reg = <0x18101300 0x100>; 20 clocks = <&pwm_clk>, <&system_ 20 clocks = <&pwm_clk>, <&system_clk>; 21 clock-names = "pwm", "sys"; 21 clock-names = "pwm", "sys"; 22 #pwm-cells = <2>; 22 #pwm-cells = <2>; 23 img,cr-periph = <&cr_periph>; 23 img,cr-periph = <&cr_periph>; 24 }; 24 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.