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-mtp: 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-2-krzysztof.kozlowski@linaro.org

authored by

Krzysztof Kozlowski and committed by
Bjorn Andersson
edb92fae a2422d51

+48
+48
arch/arm64/boot/dts/qcom/sm8550-mtp.dts
··· 419 419 }; 420 420 }; 421 421 422 + &lpass_tlmm { 423 + spkr_1_sd_n_active: spkr-1-sd-n-active-state { 424 + pins = "gpio17"; 425 + function = "gpio"; 426 + drive-strength = <16>; 427 + bias-disable; 428 + output-low; 429 + }; 430 + 431 + spkr_2_sd_n_active: spkr-2-sd-n-active-state { 432 + pins = "gpio18"; 433 + function = "gpio"; 434 + drive-strength = <16>; 435 + bias-disable; 436 + output-low; 437 + }; 438 + }; 439 + 422 440 &mdss { 423 441 status = "okay"; 424 442 }; ··· 569 551 570 552 &sleep_clk { 571 553 clock-frequency = <32000>; 554 + }; 555 + 556 + &swr0 { 557 + status = "okay"; 558 + 559 + /* WSA8845 */ 560 + left_spkr: speaker@0,0 { 561 + compatible = "sdw20217020400"; 562 + reg = <0 0>; 563 + pinctrl-names = "default"; 564 + pinctrl-0 = <&spkr_1_sd_n_active>; 565 + powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 566 + #sound-dai-cells = <0>; 567 + sound-name-prefix = "SpkrLeft"; 568 + vdd-1p8-supply = <&vreg_l15b_1p8>; 569 + vdd-io-supply = <&vreg_l3g_1p2>; 570 + }; 571 + 572 + /* WSA8845 */ 573 + right_spkr: speaker@0,1 { 574 + compatible = "sdw20217020400"; 575 + reg = <0 1>; 576 + pinctrl-names = "default"; 577 + pinctrl-0 = <&spkr_2_sd_n_active>; 578 + powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 579 + #sound-dai-cells = <0>; 580 + sound-name-prefix = "SpkrRight"; 581 + vdd-1p8-supply = <&vreg_l15b_1p8>; 582 + vdd-io-supply = <&vreg_l3g_1p2>; 583 + }; 572 584 }; 573 585 574 586 &swr1 {