Lines Matching +full:input +full:- +full:clock
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pwm/pwm-amlogic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Heiner Kallweit <[email protected]>
15 - enum:
16 - amlogic,meson8b-pwm
17 - amlogic,meson-gxbb-pwm
18 - amlogic,meson-gxbb-ao-pwm
19 - amlogic,meson-axg-ee-pwm
20 - amlogic,meson-axg-ao-pwm
21 - amlogic,meson-g12a-ee-pwm
22 - amlogic,meson-g12a-ao-pwm-ab
23 - amlogic,meson-g12a-ao-pwm-cd
25 - items:
26 - const: amlogic,meson-gx-pwm
27 - const: amlogic,meson-gxbb-pwm
29 - items:
30 - const: amlogic,meson-gx-ao-pwm
31 - const: amlogic,meson-gxbb-ao-pwm
33 - items:
34 - const: amlogic,meson8-pwm
35 - const: amlogic,meson8b-pwm
37 - enum:
38 - amlogic,meson8-pwm-v2
39 - amlogic,meson-s4-pwm
40 - items:
41 - enum:
42 - amlogic,c3-pwm
43 - amlogic,meson-a1-pwm
44 - const: amlogic,meson-s4-pwm
45 - items:
46 - enum:
47 - amlogic,meson8b-pwm-v2
48 - amlogic,meson-gxbb-pwm-v2
49 - amlogic,meson-axg-pwm-v2
50 - amlogic,meson-g12-pwm-v2
51 - const: amlogic,meson8-pwm-v2
60 clock-names:
64 power-domains:
67 "#pwm-cells":
71 - compatible
72 - reg
75 - $ref: pwm.yaml#
77 - if:
82 - amlogic,meson8-pwm
83 - amlogic,meson8b-pwm
84 - amlogic,meson-gxbb-pwm
85 - amlogic,meson-gxbb-ao-pwm
86 - amlogic,meson-axg-ee-pwm
87 - amlogic,meson-axg-ao-pwm
88 - amlogic,meson-g12a-ee-pwm
89 - amlogic,meson-g12a-ao-pwm-ab
90 - amlogic,meson-g12a-ao-pwm-cd
93 # The clocks provided here are meant to be matched with the input
94 # known (hard-coded) in the driver and used to select pwm clock
100 clock-names:
102 - items:
103 - enum: [clkin0, clkin1]
104 - items:
105 - const: clkin0
106 - const: clkin1
108 # Newer binding where clock describe the actual clock inputs of the pwm
110 - if:
115 - amlogic,meson8-pwm-v2
121 - description: input clock 0 of the pwm block
122 - description: input clock 1 of the pwm block
123 - description: input clock 2 of the pwm block
124 - description: input clock 3 of the pwm block
125 clock-names: false
127 - clocks
129 # Newer IP block take a single input per channel, instead of 4 inputs
131 - if:
136 - amlogic,meson-s4-pwm
141 - description: input clock of PWM channel A
142 - description: input clock of PWM channel B
143 clock-names: false
145 - clocks
147 - if:
152 - amlogic,meson-a1-pwm
155 - power-domains
160 - |
162 compatible = "amlogic,meson-gxbb-pwm";
165 clock-names = "clkin0", "clkin1";
166 #pwm-cells = <3>;
168 - |
170 compatible = "amlogic,meson8-pwm-v2";
173 #pwm-cells = <3>;
175 - |
177 compatible = "amlogic,meson-s4-pwm";
180 #pwm-cells = <3>;