arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 3.0/3.1

Enable rx, tx and va macro codecs and soundwire nodes for
CRD rev5+ (aka CRD 3.0/3.1) boards.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1657200184-29565-4-git-send-email-quic_srivasam@quicinc.com
This commit is contained in:
Srinivasa Rao Mandadapu
2022-07-07 18:52:55 +05:30
committed by Bjorn Andersson
parent d3219de8bc
commit d5a959f96b
2 changed files with 44 additions and 0 deletions

View File

@@ -5,6 +5,28 @@
* Copyright (c) 2022, The Linux Foundation. All rights reserved.
*/
/* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
&lpass_rx_macro {
status = "okay";
};
&lpass_tx_macro {
status = "okay";
};
&lpass_va_macro {
status = "okay";
};
&swr0 {
status = "okay";
};
&swr1 {
status = "okay";
};
/* PINCTRL */
&lpass_dmic01_clk {

View File

@@ -310,6 +310,10 @@
modem-init;
};
&lpass_va_macro {
vdd-micb-supply = <&vreg_bob>;
};
/* NOTE: Not all Qcards have eDP connector stuffed */
&mdss_edp {
aux-bus {
@@ -379,6 +383,24 @@
no-sdio;
};
&swr0 {
wcd_rx: codec@0,4 {
compatible = "sdw20217010d00";
reg = <0 4>;
#sound-dai-cells = <1>;
qcom,rx-port-mapping = <1 2 3 4 5>;
};
};
&swr1 {
wcd_tx: codec@0,3 {
compatible = "sdw20217010d00";
reg = <0 3>;
#sound-dai-cells = <1>;
qcom,tx-port-mapping = <1 2 3 4>;
};
};
uart_dbg: &uart5 {
compatible = "qcom,geni-debug-uart";
status = "okay";