Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 23 additions & 7 deletions arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -743,21 +743,37 @@
};

&lpass_tlmm {
spkr_01_sd_n_active: spkr-01-sd-n-active-state {
spkr0_sd_n_active: spkr0-sd-n-active-state {
pins = "gpio12";
function = "gpio";
drive-strength = <16>;
bias-disable;
output-low;
};

spkr_23_sd_n_active: spkr-23-sd-n-active-state {
spkr1_sd_n_active: spkr1-sd-n-active-state {
pins = "gpio13";
function = "gpio";
drive-strength = <16>;
bias-disable;
output-low;
};

spkr2_sd_n_active: spkr2-sd-n-active-state {
pins = "gpio17";
function = "gpio";
drive-strength = <16>;
bias-disable;
output-low;
};

spkr3_sd_n_active: spkr3-sd-n-active-state {
pins = "gpio18";
function = "gpio";
drive-strength = <16>;
bias-disable;
output-low;
};
};

&lpass_vamacro {
Expand Down Expand Up @@ -908,7 +924,7 @@
&swr0 {
status = "okay";

pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>;
pinctrl-0 = <&wsa_swr_active>, <&spkr0_sd_n_active>, <&spkr1_sd_n_active>;
pinctrl-names = "default";

/* WSA8845, Left Woofer */
Expand All @@ -927,7 +943,7 @@
left_tweeter: speaker@0,1 {
compatible = "sdw20217020400";
reg = <0 1>;
reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
#sound-dai-cells = <0>;
sound-name-prefix = "TweeterLeft";
vdd-1p8-supply = <&vreg_l15b_1p8>;
Expand Down Expand Up @@ -961,14 +977,14 @@
&swr3 {
status = "okay";

pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>;
pinctrl-0 = <&wsa2_swr_active>, <&spkr2_sd_n_active>, <&spkr3_sd_n_active>;
pinctrl-names = "default";

/* WSA8845, Right Woofer */
right_woofer: speaker@0,0 {
compatible = "sdw20217020400";
reg = <0 0>;
reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
reset-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>;
#sound-dai-cells = <0>;
sound-name-prefix = "WooferRight";
vdd-1p8-supply = <&vreg_l15b_1p8>;
Expand All @@ -980,7 +996,7 @@
right_tweeter: speaker@0,1 {
compatible = "sdw20217020400";
reg = <0 1>;
reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
reset-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>;
#sound-dai-cells = <0>;
sound-name-prefix = "TweeterRight";
vdd-1p8-supply = <&vreg_l15b_1p8>;
Expand Down