Lines Matching +full:external +full:- +full:rising
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
21 - $ref: dai-common.yaml#
26 - cirrus,cs42l43
31 vdd-p-supply:
35 vdd-a-supply:
39 vdd-d-supply:
43 vdd-io-supply:
45 Power supply for external interface and internal digital logic.
47 vdd-cp-supply:
51 vdd-amp-supply:
55 reset-gpios:
58 interrupt-controller: true
60 "#interrupt-cells":
66 "#sound-dai-cells":
71 - description: Synchronous audio clock provided on mclk_in.
73 clock-names:
76 cirrus,bias-low:
81 cirrus,bias-sense-microamp:
88 cirrus,bias-ramp-ms:
95 cirrus,detect-us:
102 cirrus,button-automute:
108 cirrus,buttons-ohms:
115 cirrus,tip-debounce-ms:
120 cirrus,tip-invert:
123 Indicates tip detect polarity, inverted implies open-circuit whilst the
126 cirrus,tip-disable-pullup:
131 cirrus,tip-fall-db-ms:
138 cirrus,tip-rise-db-ms:
140 Time in milliseconds a rising edge on the tip detect should be hardware
141 debounced for. Note the rising edge is considered after the invert.
145 cirrus,use-ring-sense:
150 cirrus,ring-invert:
153 Indicates ring detect polarity, inverted implies open-circuit whilst the
156 cirrus,ring-disable-pullup:
161 cirrus,ring-fall-db-ms:
168 cirrus,ring-rise-db-ms:
170 Time in milliseconds a rising edge on the ring detect should be hardware
171 debounced for. Note the rising edge is considered after the invert.
181 gpio-controller: true
183 "#gpio-cells":
186 gpio-ranges:
188 - items:
189 - description: A phandle to the CODEC pinctrl node
191 - const: 0
192 - const: 0
193 - const: 3
196 "-state$":
198 - $ref: "#/$defs/cirrus-cs42l43-state"
199 - patternProperties:
200 "-pins$":
201 $ref: "#/$defs/cirrus-cs42l43-state"
206 $ref: /schemas/spi/spi-controller.yaml#
210 cirrus-cs42l43-state:
214 - $ref: /schemas/pinctrl/pincfg-node.yaml#
215 - $ref: /schemas/pinctrl/pinmux-node.yaml#
218 - required: [ groups ]
219 - required: [ pins ]
235 enum: [ gpio, spdif, irq, mic-shutter, spk-shutter ]
237 drive-strength:
241 input-debounce:
246 - compatible
247 - reg
248 - vdd-p-supply
249 - vdd-a-supply
250 - vdd-io-supply
251 - vdd-cp-supply
256 - |
257 #include <dt-bindings/interrupt-controller/irq.h>
260 #address-cells = <1>;
261 #size-cells = <0>;
267 vdd-p-supply = <&vdd5v0>;
268 vdd-a-supply = <&vdd1v8>;
269 vdd-io-supply = <&vdd1v8>;
270 vdd-cp-supply = <&vdd1v8>;
271 vdd-amp-supply = <&vdd5v0>;
273 reset-gpios = <&gpio 0>;
275 interrupt-controller;
276 #interrupt-cells = <2>;
277 interrupt-parent = <&gpio>;
280 #sound-dai-cells = <1>;
283 clock-names = "mclk";
286 gpio-controller;
287 #gpio-cells = <2>;
288 gpio-ranges = <&cs42l43_pins 0 0 3>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&pinsettings>;
293 pinsettings: default-state {
294 shutter-pins {
296 function = "mic-shutter";
302 #address-cells = <1>;
303 #size-cells = <0>;
305 cs-gpios = <&cs42l43_pins 1 0>;
310 spi-max-frequency = <1400000>;