arm64: dts: qcom: sm8650-mtp: add WSA8845 speakers
Add nodes for WSA8845 speakers on SM8650 MTP board. Cc: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20231204155746.302323-5-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
6a45a90c0c
commit
80627a5d72
@ -434,6 +434,16 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpass_tlmm {
|
||||
spkr_1_sd_n_active: spkr-1-sd-n-active-state {
|
||||
pins = "gpio21";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
&mdss {
|
||||
status = "okay";
|
||||
};
|
||||
@ -580,6 +590,36 @@
|
||||
clock-frequency = <32000>;
|
||||
};
|
||||
|
||||
&swr0 {
|
||||
status = "okay";
|
||||
|
||||
/* WSA8845, Speaker Left */
|
||||
left_spkr: speaker@0,0 {
|
||||
compatible = "sdw20217020400";
|
||||
reg = <0 0>;
|
||||
pinctrl-0 = <&spkr_1_sd_n_active>;
|
||||
pinctrl-names = "default";
|
||||
powerdown-gpios = <&lpass_tlmm 21 GPIO_ACTIVE_LOW>;
|
||||
#sound-dai-cells = <0>;
|
||||
sound-name-prefix = "SpkrLeft";
|
||||
vdd-1p8-supply = <&vreg_l15b_1p8>;
|
||||
vdd-io-supply = <&vreg_l3c_1p2>;
|
||||
};
|
||||
|
||||
/* WSA8845, Speaker Right */
|
||||
right_spkr: speaker@0,1 {
|
||||
compatible = "sdw20217020400";
|
||||
reg = <0 1>;
|
||||
pinctrl-0 = <&spkr_2_sd_n_active>;
|
||||
pinctrl-names = "default";
|
||||
powerdown-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
|
||||
#sound-dai-cells = <0>;
|
||||
sound-name-prefix = "SpkrRight";
|
||||
vdd-1p8-supply = <&vreg_l15b_1p8>;
|
||||
vdd-io-supply = <&vreg_l3c_1p2>;
|
||||
};
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
/* Reserved I/Os for NFC */
|
||||
gpio-reserved-ranges = <32 8>;
|
||||
@ -611,6 +651,14 @@
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
spkr_2_sd_n_active: spkr-2-sd-n-active-state {
|
||||
pins = "gpio77";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
&uart15 {
|
||||
|
Loading…
Reference in New Issue
Block a user