File tree Expand file tree Collapse file tree
arch/arm64/boot/dts/apple Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8484 };
8585};
8686
87+ /* Virtual regulator representing the shared shutdown GPIO */
88+ / {
89+ speaker_sdz: fixed-regulator-tas5770-sdz {
90+ compatible = "regulator-fixed";
91+ regulator-name = "tas5770-sdz";
92+ startup-delay-us = <5000>;
93+ gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>;
94+ enable-active-high;
95+ };
96+ };
97+
8798&i2c1 {
8899 speaker_left: codec@31 {
89100 compatible = "ti,tas5770l", "ti,tas2770";
90101 reg = <0x31>;
91- shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH >;
102+ SDZ-supply = <&speaker_sdz >;
92103 #sound-dai-cells = <0>;
93104 sound-name-prefix = "Left";
94105 interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>;
102113 speaker_right: codec@34 {
103114 compatible = "ti,tas5770l", "ti,tas2770";
104115 reg = <0x34>;
105- shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH >;
116+ SDZ-supply = <&speaker_sdz >;
106117 #sound-dai-cells = <0>;
107118 sound-name-prefix = "Right";
108119 interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>;
You can’t perform that action at this time.
0 commit comments