|
95 | 95 | }; |
96 | 96 | }; |
97 | 97 |
|
| 98 | +/* Virtual regulator representing the shared shutdown GPIO */ |
| 99 | +/ { |
| 100 | + speaker_sdz: fixed-regulator-sn012776-sdz { |
| 101 | + compatible = "regulator-fixed"; |
| 102 | + regulator-name = "sn012776-sdz"; |
| 103 | + startup-delay-us = <5000>; |
| 104 | + gpios = <&pinctrl_ap 88 GPIO_ACTIVE_HIGH>; |
| 105 | + enable-active-high; |
| 106 | + }; |
| 107 | +}; |
| 108 | + |
98 | 109 | &i2c1 { |
99 | 110 | speaker_left_woof: codec@38 { |
100 | 111 | compatible = "ti,sn012776", "ti,tas2764"; |
101 | 112 | reg = <0x38>; |
102 | | - shutdown-gpios = <&pinctrl_ap 88 GPIO_ACTIVE_HIGH>; |
| 113 | + SDZ-supply = <&speaker_sdz>; |
103 | 114 | #sound-dai-cells = <0>; |
104 | 115 | sound-name-prefix = "Left Woofer"; |
105 | 116 | interrupts-extended = <&pinctrl_ap 11 IRQ_TYPE_LEVEL_LOW>; |
|
111 | 122 | speaker_left_tweet: codec@39 { |
112 | 123 | compatible = "ti,sn012776", "ti,tas2764"; |
113 | 124 | reg = <0x39>; |
114 | | - shutdown-gpios = <&pinctrl_ap 88 GPIO_ACTIVE_HIGH>; |
| 125 | + SDZ-supply = <&speaker_sdz>; |
115 | 126 | #sound-dai-cells = <0>; |
116 | 127 | sound-name-prefix = "Left Tweeter"; |
117 | 128 | interrupts-extended = <&pinctrl_ap 11 IRQ_TYPE_LEVEL_LOW>; |
|
124 | 135 | speaker_right_woof: codec@3b { |
125 | 136 | compatible = "ti,sn012776", "ti,tas2764"; |
126 | 137 | reg = <0x3b>; |
127 | | - shutdown-gpios = <&pinctrl_ap 88 GPIO_ACTIVE_HIGH>; |
| 138 | + SDZ-supply = <&speaker_sdz>; |
128 | 139 | #sound-dai-cells = <0>; |
129 | 140 | sound-name-prefix = "Right Woofer"; |
130 | 141 | interrupts-extended = <&pinctrl_ap 11 IRQ_TYPE_LEVEL_LOW>; |
|
136 | 147 | speaker_right_tweet: codec@3c { |
137 | 148 | compatible = "ti,sn012776", "ti,tas2764"; |
138 | 149 | reg = <0x3c>; |
139 | | - shutdown-gpios = <&pinctrl_ap 88 GPIO_ACTIVE_HIGH>; |
| 150 | + SDZ-supply = <&speaker_sdz>; |
140 | 151 | #sound-dai-cells = <0>; |
141 | 152 | sound-name-prefix = "Right Tweeter"; |
142 | 153 | interrupts-extended = <&pinctrl_ap 11 IRQ_TYPE_LEVEL_LOW>; |
|
0 commit comments