|
104 | 104 | }; |
105 | 105 | }; |
106 | 106 |
|
| 107 | +/* Virtual regulator representing the shared shutdown GPIO */ |
| 108 | +/ { |
| 109 | + speaker_sdz: fixed-regulator-tas5770-sdz { |
| 110 | + compatible = "regulator-fixed"; |
| 111 | + regulator-name = "tas5770-sdz"; |
| 112 | + startup-delay-us = <5000>; |
| 113 | + gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>; |
| 114 | + enable-active-high; |
| 115 | + }; |
| 116 | +}; |
| 117 | + |
107 | 118 | &i2c1 { |
108 | 119 | speaker_left_rear: codec@31 { |
109 | 120 | compatible = "ti,tas5770l", "ti,tas2770"; |
110 | 121 | reg = <0x31>; |
111 | | - shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>; |
| 122 | + SDZ-supply = <&speaker_sdz>; |
112 | 123 | #sound-dai-cells = <0>; |
113 | 124 | sound-name-prefix = "Left Rear"; |
114 | 125 | interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>; |
|
119 | 130 | speaker_left_front: codec@32 { |
120 | 131 | compatible = "ti,tas5770l", "ti,tas2770"; |
121 | 132 | reg = <0x32>; |
122 | | - shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>; |
| 133 | + SDZ-supply = <&speaker_sdz>; |
123 | 134 | #sound-dai-cells = <0>; |
124 | 135 | sound-name-prefix = "Left Front"; |
125 | 136 | interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>; |
|
148 | 159 | speaker_right_rear: codec@34 { |
149 | 160 | compatible = "ti,tas5770l", "ti,tas2770"; |
150 | 161 | reg = <0x34>; |
151 | | - shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>; |
| 162 | + SDZ-supply = <&speaker_sdz>; |
152 | 163 | #sound-dai-cells = <0>; |
153 | 164 | sound-name-prefix = "Right Rear"; |
154 | 165 | interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>; |
|
159 | 170 | speaker_right_front: codec@35 { |
160 | 171 | compatible = "ti,tas5770l", "ti,tas2770"; |
161 | 172 | reg = <0x35>; |
162 | | - shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>; |
| 173 | + SDZ-supply = <&speaker_sdz>; |
163 | 174 | #sound-dai-cells = <0>; |
164 | 175 | sound-name-prefix = "Right Front"; |
165 | 176 | interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>; |
|
0 commit comments