|
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>; |
|
120 | 131 | speaker_left_front: codec@32 { |
121 | 132 | compatible = "ti,tas5770l", "ti,tas2770"; |
122 | 133 | reg = <0x32>; |
123 | | - shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>; |
| 134 | + SDZ-supply = <&speaker_sdz>; |
124 | 135 | #sound-dai-cells = <0>; |
125 | 136 | sound-name-prefix = "Left Front"; |
126 | 137 | interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>; |
|
150 | 161 | speaker_right_rear: codec@34 { |
151 | 162 | compatible = "ti,tas5770l", "ti,tas2770"; |
152 | 163 | reg = <0x34>; |
153 | | - shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>; |
| 164 | + SDZ-supply = <&speaker_sdz>; |
154 | 165 | #sound-dai-cells = <0>; |
155 | 166 | sound-name-prefix = "Right Rear"; |
156 | 167 | interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>; |
|
162 | 173 | speaker_right_front: codec@35 { |
163 | 174 | compatible = "ti,tas5770l", "ti,tas2770"; |
164 | 175 | reg = <0x35>; |
165 | | - shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>; |
| 176 | + SDZ-supply = <&speaker_sdz>; |
166 | 177 | #sound-dai-cells = <0>; |
167 | 178 | sound-name-prefix = "Right Front"; |
168 | 179 | interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>; |
|
0 commit comments