|
185 | 185 | }; |
186 | 186 | }; |
187 | 187 |
|
| 188 | +/* Virtual regulator representing the shared shutdown GPIO */ |
| 189 | +/ { |
| 190 | + speaker_sdz: fixed-regulator-sn012776-sdz { |
| 191 | + compatible = "regulator-fixed"; |
| 192 | + regulator-name = "sn012776-sdz"; |
| 193 | + startup-delay-us = <5000>; |
| 194 | + gpios = <&pinctrl_ap 178 GPIO_ACTIVE_HIGH>; |
| 195 | + enable-active-high; |
| 196 | + }; |
| 197 | +}; |
| 198 | + |
188 | 199 | &i2c1 { |
189 | 200 | status = "okay"; |
190 | 201 |
|
191 | 202 | speaker_left_tweet: codec@3a { |
192 | 203 | compatible = "ti,sn012776", "ti,tas2764"; |
193 | 204 | reg = <0x3a>; |
194 | | - shutdown-gpios = <&pinctrl_ap 178 GPIO_ACTIVE_HIGH>; |
| 205 | + SDZ-supply = <&speaker_sdz>; |
195 | 206 | #sound-dai-cells = <0>; |
196 | 207 | sound-name-prefix = "Left Tweeter"; |
197 | 208 | interrupts-extended = <&pinctrl_ap 179 IRQ_TYPE_LEVEL_LOW>; |
|
202 | 213 | speaker_left_woof1: codec@38 { |
203 | 214 | compatible = "ti,sn012776", "ti,tas2764"; |
204 | 215 | reg = <0x38>; |
205 | | - shutdown-gpios = <&pinctrl_ap 178 GPIO_ACTIVE_HIGH>; |
| 216 | + SDZ-supply = <&speaker_sdz>; |
206 | 217 | #sound-dai-cells = <0>; |
207 | 218 | sound-name-prefix = "Left Woofer 1"; |
208 | 219 | interrupts-extended = <&pinctrl_ap 179 IRQ_TYPE_LEVEL_LOW>; |
|
214 | 225 | speaker_left_woof2: codec@39 { |
215 | 226 | compatible = "ti,sn012776", "ti,tas2764"; |
216 | 227 | reg = <0x39>; |
217 | | - shutdown-gpios = <&pinctrl_ap 178 GPIO_ACTIVE_HIGH>; |
| 228 | + SDZ-supply = <&speaker_sdz>; |
218 | 229 | #sound-dai-cells = <0>; |
219 | 230 | sound-name-prefix = "Left Woofer 2"; |
220 | 231 | interrupts-extended = <&pinctrl_ap 179 IRQ_TYPE_LEVEL_LOW>; |
|
242 | 253 | speaker_right_tweet: codec@3d { |
243 | 254 | compatible = "ti,sn012776", "ti,tas2764"; |
244 | 255 | reg = <0x3d>; |
245 | | - shutdown-gpios = <&pinctrl_ap 178 GPIO_ACTIVE_HIGH>; |
| 256 | + SDZ-supply = <&speaker_sdz>; |
246 | 257 | #sound-dai-cells = <0>; |
247 | 258 | sound-name-prefix = "Right Tweeter"; |
248 | 259 | interrupts-extended = <&pinctrl_ap 179 IRQ_TYPE_LEVEL_LOW>; |
|
253 | 264 | speaker_right_woof1: codec@3b { |
254 | 265 | compatible = "ti,sn012776", "ti,tas2764"; |
255 | 266 | reg = <0x3b>; |
256 | | - shutdown-gpios = <&pinctrl_ap 178 GPIO_ACTIVE_HIGH>; |
| 267 | + SDZ-supply = <&speaker_sdz>; |
257 | 268 | #sound-dai-cells = <0>; |
258 | 269 | sound-name-prefix = "Right Woofer 1"; |
259 | 270 | interrupts-extended = <&pinctrl_ap 179 IRQ_TYPE_LEVEL_LOW>; |
|
265 | 276 | speaker_right_woof2: codec@3c { |
266 | 277 | compatible = "ti,sn012776", "ti,tas2764"; |
267 | 278 | reg = <0x3c>; |
268 | | - shutdown-gpios = <&pinctrl_ap 178 GPIO_ACTIVE_HIGH>; |
| 279 | + SDZ-supply = <&speaker_sdz>; |
269 | 280 | #sound-dai-cells = <0>; |
270 | 281 | sound-name-prefix = "Right Woofer 2"; |
271 | 282 | interrupts-extended = <&pinctrl_ap 179 IRQ_TYPE_LEVEL_LOW>; |
|
0 commit comments