arm64: dts: qcom: sm8250-mtp: Add wsa8810 audio codec node

SM8250-MTP has WSA8810 via wsa macro for Speaker playback use case.
Add node for this device to be able to use it for sound card device.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211006164712.16078-4-srinivas.kandagatla@linaro.org
This commit is contained in:
Srinivas Kandagatla 2021-10-06 17:47:11 +01:00 committed by Bjorn Andersson
parent 5a263cf629
commit 6fcda0b556

View File

@ -648,6 +648,26 @@
};
};
&swr0 {
left_spkr: wsa8810-right@0,3{
compatible = "sdw10217211000";
reg = <0 3>;
powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>;
#thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrLeft";
#sound-dai-cells = <0>;
};
right_spkr: wsa8810-left@0,4{
compatible = "sdw10217211000";
reg = <0 4>;
powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_HIGH>;
#thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrRight";
#sound-dai-cells = <0>;
};
};
&swr1 {
wcd_rx: wcd9380-rx@0,4 {
compatible = "sdw20217010d00";