Lines Matching +full:gpio1 +full:- +full:output +full:- +full:enable
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - david.rhodes@cirrus.com
19 - cirrus,cs35l40
20 - cirrus,cs35l41
28 '#sound-dai-cells':
33 reset-gpios:
36 VA-supply:
39 VP-supply:
42 cirrus,boost-peak-milliamp:
44 Boost-converter peak current limit in mA.
53 cirrus,boost-ind-nanohenry:
61 cirrus,boost-cap-microfarad:
68 cirrus,asp-sdout-hiz:
70 Audio serial port SDOUT Hi-Z control. Sets the Hi-Z
73 1 = Hi-Z during unused slots but logic 0 while all transmit channels disabled
74 2 = (Default) Logic 0 during unused slots, but Hi-Z while all transmit channels disabled
75 3 = Hi-Z during unused slots and while all transmit channels disabled
81 cirrus,boost-type:
84 Internal boost requires boost-peak-milliamp, boost-ind-nanohenry and
85 boost-cap-microfarad.
86 External Boost must have GPIO1 as GPIO output. GPIO1 will be set high to
87 enable boost voltage.
90 circuit using combined data from both amplifiers. GPIO1 should be
93 boost-peak-milliamp, boost-ind-nanohenry and boost-cap-microfarad.
102 cirrus,gpio1-polarity-invert:
104 Boolean which specifies whether the GPIO1
108 cirrus,gpio1-output-enable:
110 Boolean which specifies whether the GPIO1 pin
111 is configured as an output. If this property is not present the
115 cirrus,gpio1-src-select:
117 Configures the function of the GPIO1 pin.
127 cirrus,gpio2-polarity-invert:
133 cirrus,gpio2-output-enable:
136 is configured as an output. If this property is not present the
140 cirrus,gpio2-src-select:
143 Note that the options are different from the GPIO1 pin.
148 4 = Push-pull INTB (active low)
149 5 = Push-pull INT (active high)
155 - compatible
156 - reg
157 - "#sound-dai-cells"
160 - $ref: dai-common.yaml#
161 - if:
163 cirrus,boost-type:
167 - cirrus,boost-peak-milliamp
168 - cirrus,boost-ind-nanohenry
169 - cirrus,boost-cap-microfarad
173 cirrus,boost-type:
177 - cirrus,gpio1-output-enable
178 - cirrus,gpio1-src-select
180 cirrus,boost-peak-milliamp: false
181 cirrus,boost-ind-nanohenry: false
182 cirrus,boost-cap-microfarad: false
183 cirrus,gpio1-src-select:
189 - |
190 #include <dt-bindings/gpio/gpio.h>
193 #address-cells = <1>;
194 #size-cells = <0>;
196 cs35l41: speaker-amp@2 {
197 #sound-dai-cells = <1>;
200 VA-supply = <&dummy_vreg>;
201 VP-supply = <&dummy_vreg>;
202 reset-gpios = <&gpio 110 GPIO_ACTIVE_HIGH>;
204 cirrus,boost-type = <0>;
205 cirrus,boost-peak-milliamp = <4500>;
206 cirrus,boost-ind-nanohenry = <1000>;
207 cirrus,boost-cap-microfarad = <15>;