Lines Matching +full:shared +full:- +full:pin

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
71 configuration for SDOUT pin of amplifier.
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.
88 Shared boost allows two amplifiers to share a single boost circuit by
91 configured for Sync when shared boost is used. Shared boost is not
93 boost-peak-milliamp, boost-ind-nanohenry and boost-cap-microfarad.
96 2 = Shared Boost Active
97 3 = Shared Boost Passive
102 cirrus,gpio1-polarity-invert:
108 cirrus,gpio1-output-enable:
110 Boolean which specifies whether the GPIO1 pin
112 pin will be configured as an input.
115 cirrus,gpio1-src-select:
117 Configures the function of the GPIO1 pin.
118 Note that the options are different from the GPIO2 pin
127 cirrus,gpio2-polarity-invert:
133 cirrus,gpio2-output-enable:
135 Boolean which specifies whether the GPIO2 pin
137 pin will be configured as an input.
140 cirrus,gpio2-src-select:
142 Configures the function of the GPIO2 pin.
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>;