mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:04:24 +00:00
ARM: dts: add support for wsa883x kalama platform
Add audio support for wsa883x kalama platform. Change-Id: I229e0a2a38d4c786472b3e0c63eb1d3ab0e19a62
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
df48cf253c
commit
18a902f385
1
Kbuild
1
Kbuild
@@ -1,6 +1,7 @@
|
||||
|
||||
dtbo-y += kalama-audio.dtbo \
|
||||
kalama-audio-cdp.dtbo \
|
||||
kalama-audio-wsa883x-cdp.dtbo \
|
||||
kalama-audio-mtp.dtbo \
|
||||
kalama-audio-mtp-nfc.dtbo \
|
||||
kalama-audio-qrd.dtbo \
|
||||
|
||||
10
kalama-audio-wsa883x-cdp.dts
Normal file
10
kalama-audio-wsa883x-cdp.dts
Normal file
@@ -0,0 +1,10 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "kalama-audio-wsa883x-cdp.dtsi"
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. Kalama CDP - WSA883X";
|
||||
compatible = "qcom,kalama-cdp", "qcom,kalama", "qcom,cdp";
|
||||
qcom,msm-id = <519 0x10000>, <536 0x10000>;
|
||||
qcom,board-id = <0x1010001 0>;
|
||||
};
|
||||
87
kalama-audio-wsa883x-cdp.dtsi
Normal file
87
kalama-audio-wsa883x-cdp.dtsi
Normal file
@@ -0,0 +1,87 @@
|
||||
#include "kalama-audio-cdp.dtsi"
|
||||
|
||||
&kalama_snd {
|
||||
qcom,model = "kalama-cdp-wsa883x-snd-card";
|
||||
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||
<&wcd938x_codec>, <&swr_haptics>,
|
||||
<&wsa883x_0221>, <&wsa883x_0222>;
|
||||
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
|
||||
"wcd938x_codec", "swr-haptics",
|
||||
"wsa-codec1", "wsa-codec2";
|
||||
};
|
||||
|
||||
&wsa_macro {
|
||||
qcom,wsa-bat-cfgs= <0>, <0>;
|
||||
};
|
||||
|
||||
&wsa884x_0220 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&wsa884x_0221 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&swr0 {
|
||||
wsa883x_0221: wsa883x@02170221 {
|
||||
compatible = "qcom,wsa883x";
|
||||
reg = <0x2 0x2170221>;
|
||||
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||
cdc-vdd-1p8-supply = <&L15B>;
|
||||
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||
qcom,cdc-vdd-1p8-current = <20000>;
|
||||
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||
sound-name-prefix = "SpkrLeft";
|
||||
};
|
||||
|
||||
wsa883x_0222: wsa883x@02170222 {
|
||||
compatible = "qcom,wsa883x";
|
||||
reg = <0x2 0x2170222>;
|
||||
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||
cdc-vdd-1p8-supply = <&L15B>;
|
||||
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||
qcom,cdc-vdd-1p8-current = <20000>;
|
||||
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||
sound-name-prefix = "SpkrRight";
|
||||
};
|
||||
};
|
||||
|
||||
&wsa2_macro {
|
||||
qcom,wsa-bat-cfgs= <0>, <0>;
|
||||
};
|
||||
|
||||
&wsa884x_2_0220 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&wsa884x_2_0221 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&swr3 {
|
||||
wsa883x_2_0221: wsa883x@02170221 {
|
||||
compatible = "qcom,wsa883x_2";
|
||||
reg = <0x2 0x2170221>;
|
||||
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||
cdc-vdd-1p8-supply = <&L15B>;
|
||||
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||
qcom,cdc-vdd-1p8-current = <20000>;
|
||||
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||
sound-name-prefix = "Spkr2Left";
|
||||
};
|
||||
|
||||
wsa883x_2_0222: wsa883x@02170222 {
|
||||
compatible = "qcom,wsa883x";
|
||||
reg = <0x2 0x2170222>;
|
||||
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||
cdc-vdd-1p8-supply = <&L15B>;
|
||||
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||
qcom,cdc-vdd-1p8-current = <20000>;
|
||||
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||
sound-name-prefix = "Spkr2Right";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user