mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
arm64: dts: qcom: x1e80100-crd: add sound card
Add sound card to X1E80100-CRD board and update DMIC supply. Works so far: - Audio playback via speakers or audio jack headset, - DMIC0-3 recording. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240212184403.246299-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
8794916799
commit
4442a67eed
@ -18,7 +18,7 @@
|
||||
serial0 = &uart21;
|
||||
};
|
||||
|
||||
audio-codec {
|
||||
wcd938x: audio-codec {
|
||||
compatible = "qcom,wcd9385-codec";
|
||||
|
||||
pinctrl-names = "default";
|
||||
@ -48,6 +48,94 @@
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
sound {
|
||||
compatible = "qcom,x1e80100-sndcard";
|
||||
model = "X1E80100-CRD";
|
||||
audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT",
|
||||
"TwitterLeft IN", "WSA WSA_SPK2 OUT",
|
||||
"WooferRight IN", "WSA2 WSA_SPK2 OUT",
|
||||
"TwitterRight IN", "WSA2 WSA_SPK2 OUT",
|
||||
"IN1_HPHL", "HPHL_OUT",
|
||||
"IN2_HPHR", "HPHR_OUT",
|
||||
"AMIC2", "MIC BIAS2",
|
||||
"VA DMIC0", "MIC BIAS3",
|
||||
"VA DMIC1", "MIC BIAS3",
|
||||
"VA DMIC2", "MIC BIAS1",
|
||||
"VA DMIC3", "MIC BIAS1",
|
||||
"VA DMIC0", "VA MIC BIAS3",
|
||||
"VA DMIC1", "VA MIC BIAS3",
|
||||
"VA DMIC2", "VA MIC BIAS1",
|
||||
"VA DMIC3", "VA MIC BIAS1",
|
||||
"TX SWR_INPUT1", "ADC2_OUTPUT";
|
||||
|
||||
wcd-playback-dai-link {
|
||||
link-name = "WCD Playback";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
|
||||
};
|
||||
|
||||
platform {
|
||||
sound-dai = <&q6apm>;
|
||||
};
|
||||
};
|
||||
|
||||
wcd-capture-dai-link {
|
||||
link-name = "WCD Capture";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>;
|
||||
};
|
||||
|
||||
platform {
|
||||
sound-dai = <&q6apm>;
|
||||
};
|
||||
};
|
||||
|
||||
wsa-dai-link {
|
||||
link-name = "WSA Playback";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&left_woofer>, <&left_tweeter>,
|
||||
<&swr0 0>, <&lpass_wsamacro 0>,
|
||||
<&right_woofer>, <&right_tweeter>,
|
||||
<&swr3 0>, <&lpass_wsa2macro 0>;
|
||||
};
|
||||
|
||||
platform {
|
||||
sound-dai = <&q6apm>;
|
||||
};
|
||||
};
|
||||
|
||||
va-dai-link {
|
||||
link-name = "VA Capture";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&lpass_vamacro 0>;
|
||||
};
|
||||
|
||||
platform {
|
||||
sound-dai = <&q6apm>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
vph_pwr: vph-pwr-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
@ -494,6 +582,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
&lpass_vamacro {
|
||||
pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
vdd-micb-supply = <&vreg_l1b_1p8>;
|
||||
qcom,dmic-sample-rate = <4800000>;
|
||||
};
|
||||
|
||||
&mdss {
|
||||
status = "okay";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user