Hi,Yes it's wrongly placed Here. Will remove it.
On Wed, Jul 21, 2021 at 1:42 AM Srinivasa Rao Mandadapu
<srivasam@xxxxxxxxxxxxxx> wrote:
From: V Sujith Kumar Reddy <vsujithk@xxxxxxxxxxxxxx>The `#sound-dai-cells` is not in the bindings. The bindings also say
Add dai link in sc7180-trogdor.dtsi for supporting audio over DP
Signed-off-by: V Sujith Kumar Reddy <vsujithk@xxxxxxxxxxxxxx>
Signed-off-by: Srinivasa Rao Mandadapu <srivasam@xxxxxxxxxxxxxx>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
index 31bf7c698b8f..a4cb9ee567ff 100644
--- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
@@ -288,6 +288,7 @@ sound: sound {
"Headphone Jack", "HPOL",
"Headphone Jack", "HPOR";
+ #sound-dai-cells = <0>;
`additionalProperties: false`. So either your patch is wrong for
including this or the bindings are wrong for omitting it. Which is it?
I notice that downstream we don't have this.
Yes,Here reg as <LPASS_DP_RX> is correct option. Will change accordingly. But It seems dai-link@2 is appropriate as in this platform@@ -314,6 +315,18 @@ sound_multimedia1_codec: codec {Ideally you'll want to rebase to make context clean since the above
sound-dai = <&max98357a>;
got changed from `max98357a` to `max98360a`.
};I am certainly not an expert, but I notice that downstream we have reg
};
+
+ dai-link@2 {
+ link-name = "MultiMedia2";
+ reg = <2>;
as <LPASS_DP_RX>, which makes the node name dai-link@5 instead of @2.
Does that matter?
Yes hdmi@2 is appropriate. will change accordingly.@@ -768,6 +781,10 @@ secondary_mi2s: mi2s@1 {Your node name and `reg` don't match. `LPASS_DP_RX` is 5 so the node
reg = <MI2S_SECONDARY>;
qcom,playback-sd-lines = <0>;
};
+
+ hdmi-primary@0 {
+ reg = <LPASS_DP_RX>;
name should include @5, not @0. I also notice that downstream the node
name is called `hdmi`, not `hdmi-primary`. The downstream `hdmi` seems
more parallel to the sibling nodes, like `mi2s@0` and `mi2s@1`.