Back to home page

OSCL-LXR

 
 

    


0001 Amlogic Meson PWM Controller
0002 ============================
0003 
0004 Required properties:
0005 - compatible: Shall contain "amlogic,meson8b-pwm"
0006                          or "amlogic,meson-gxbb-pwm"
0007                          or "amlogic,meson-gxbb-ao-pwm"
0008                          or "amlogic,meson-axg-ee-pwm"
0009                          or "amlogic,meson-axg-ao-pwm"
0010                          or "amlogic,meson-g12a-ee-pwm"
0011                          or "amlogic,meson-g12a-ao-pwm-ab"
0012                          or "amlogic,meson-g12a-ao-pwm-cd"
0013 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
0014   the cells format.
0015 
0016 Optional properties:
0017 - clocks: Could contain one or two parents clocks phandle for each of the two
0018   PWM channels.
0019 - clock-names: Could contain at least the "clkin0" and/or "clkin1" names.
0020 
0021 Example:
0022 
0023         pwm_ab: pwm@8550 {
0024                 compatible = "amlogic,meson-gxbb-pwm";
0025                 reg = <0x0 0x08550 0x0 0x10>;
0026                 #pwm-cells = <3>;
0027                 clocks = <&xtal>, <&xtal>;
0028                 clock-names = "clkin0", "clkin1";
0029         }