mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 05:31:17 -04:00
arm64: dts: qcom: sm8550-qrd: add WSA8845 speakers
Add Qualcomm WSA8845 Soundwire smart speaker amplifiers. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230608094323.267278-1-krzysztof.kozlowski@linaro.org
This commit is contained in:
committed by
Bjorn Andersson
parent
9181bb9399
commit
a2422d5106
@@ -447,6 +447,24 @@ &gcc {
|
||||
<&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>;
|
||||
};
|
||||
|
||||
&lpass_tlmm {
|
||||
spkr_1_sd_n_active: spkr-1-sd-n-active-state {
|
||||
pins = "gpio17";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
output-low;
|
||||
};
|
||||
|
||||
spkr_2_sd_n_active: spkr-2-sd-n-active-state {
|
||||
pins = "gpio18";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
&mdss {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -614,6 +632,36 @@ &sleep_clk {
|
||||
clock-frequency = <32000>;
|
||||
};
|
||||
|
||||
&swr0 {
|
||||
status = "okay";
|
||||
|
||||
/* WSA8845, Speaker North */
|
||||
north_spkr: speaker@0,0 {
|
||||
compatible = "sdw20217020400";
|
||||
reg = <0 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spkr_1_sd_n_active>;
|
||||
powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>;
|
||||
#sound-dai-cells = <0>;
|
||||
sound-name-prefix = "SpkrLeft";
|
||||
vdd-1p8-supply = <&vreg_l15b_1p8>;
|
||||
vdd-io-supply = <&vreg_l3g_1p2>;
|
||||
};
|
||||
|
||||
/* WSA8845, Speaker South */
|
||||
south_spkr: speaker@0,1 {
|
||||
compatible = "sdw20217020400";
|
||||
reg = <0 1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spkr_2_sd_n_active>;
|
||||
powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>;
|
||||
#sound-dai-cells = <0>;
|
||||
sound-name-prefix = "SpkrRight";
|
||||
vdd-1p8-supply = <&vreg_l15b_1p8>;
|
||||
vdd-io-supply = <&vreg_l3g_1p2>;
|
||||
};
|
||||
};
|
||||
|
||||
&swr1 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user