Commit fc1780db authored by Judy Hsiao's avatar Judy Hsiao Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sc7280: add DP audio to herobrine rt5682 1-mic dtsi



1. Add DisplayPort sound node and lpass_cpu node.

2. Adjust the dai-link order to make the order to
   be consistent with sc7280-herobrine-audio-rt5682-3mic.dtsi.

Signed-off-by: default avatarJudy Hsiao <judyhsiao@chromium.org>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230118011853.1614566-1-judyhsiao@chromium.org
parent 74d6ed03
Loading
Loading
Loading
Loading
+18 −1
Original line number Diff line number Diff line
@@ -33,9 +33,22 @@
		};

		dai-link@1 {
			link-name = "ALC5682";
			link-name = "DisplayPort";
			reg = <1>;

			cpu {
				sound-dai = <&lpass_cpu LPASS_DP_RX>;
			};

			codec {
				sound-dai = <&mdss_dp>;
			};
		};

		dai-link@2 {
			link-name = "ALC5682";
			reg = <2>;

			cpu {
				sound-dai = <&lpass_cpu MI2S_PRIMARY>;
			};
@@ -92,6 +105,10 @@ hp_i2c: &i2c2 {
		reg = <MI2S_SECONDARY>;
		qcom,playback-sd-lines = <0>;
	};

	dai-link@5 {
		reg = <LPASS_DP_RX>;
	};
};

/* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */