Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Krzysztof Kozlowski and committed by
Bjorn Andersson
a2422d51 9181bb93

+48
+48
arch/arm64/boot/dts/qcom/sm8550-qrd.dts
··· 447 447 <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>; 448 448 }; 449 449 450 + &lpass_tlmm { 451 + spkr_1_sd_n_active: spkr-1-sd-n-active-state { 452 + pins = "gpio17"; 453 + function = "gpio"; 454 + drive-strength = <16>; 455 + bias-disable; 456 + output-low; 457 + }; 458 + 459 + spkr_2_sd_n_active: spkr-2-sd-n-active-state { 460 + pins = "gpio18"; 461 + function = "gpio"; 462 + drive-strength = <16>; 463 + bias-disable; 464 + output-low; 465 + }; 466 + }; 467 + 450 468 &mdss { 451 469 status = "okay"; 452 470 }; ··· 630 612 631 613 &sleep_clk { 632 614 clock-frequency = <32000>; 615 + }; 616 + 617 + &swr0 { 618 + status = "okay"; 619 + 620 + /* WSA8845, Speaker North */ 621 + north_spkr: speaker@0,0 { 622 + compatible = "sdw20217020400"; 623 + reg = <0 0>; 624 + pinctrl-names = "default"; 625 + pinctrl-0 = <&spkr_1_sd_n_active>; 626 + powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 627 + #sound-dai-cells = <0>; 628 + sound-name-prefix = "SpkrLeft"; 629 + vdd-1p8-supply = <&vreg_l15b_1p8>; 630 + vdd-io-supply = <&vreg_l3g_1p2>; 631 + }; 632 + 633 + /* WSA8845, Speaker South */ 634 + south_spkr: speaker@0,1 { 635 + compatible = "sdw20217020400"; 636 + reg = <0 1>; 637 + pinctrl-names = "default"; 638 + pinctrl-0 = <&spkr_2_sd_n_active>; 639 + powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 640 + #sound-dai-cells = <0>; 641 + sound-name-prefix = "SpkrRight"; 642 + vdd-1p8-supply = <&vreg_l15b_1p8>; 643 + vdd-io-supply = <&vreg_l3g_1p2>; 644 + }; 633 645 }; 634 646 635 647 &swr1 {