Thread (26 messages) 26 messages, 4 authors, 2022-10-28

Re: [PATCH 12/12] dt-bindings: mediatek: mt8188: add mt8188-mt6359 document

From: Trevor Wu (吳文良) <hidden>
Date: 2022-10-21 08:58:44
Also in: alsa-devel, linux-devicetree, linux-mediatek, lkml

quoted
..snip
quoted
quoted
+    description: The phandle of MT8188 ASoC platform.
+
+  mediatek,dptx-codec:
+    $ref: "/schemas/types.yaml#/definitions/phandle"
+    description: The phandle of MT8188 Display Port Tx codec
node.
+
+  mediatek,hdmi-codec:
+    $ref: "/schemas/types.yaml#/definitions/phandle"
+    description: The phandle of MT8188 HDMI codec node.
+
+  mediatek,dai-link:
+    $ref: /schemas/types.yaml#/definitions/string-array
+    description:
+      A list of the desired dai-links in the sound card. Each
entry is a
+      name defined in the machine driver.
Names have to be defined here.
OK, I will add enum here for listing all available dai-links.

Thanks,
Trevor
Hi Rob,

I found the implementation of "mediatek,dai-link" is not included in
the series, so I remove the item in V2.
I will add enum when I add the item in the future.

Thansk,
Trevor
quoted
quoted
+
+additionalProperties: false
+
+required:
+  - compatible
+  - mediatek,platform
+
+examples:
+  - |
+
+    sound: mt8188-sound {
+        compatible = "mediatek,mt8188-sound";
+        mediatek,platform = <&afe>:
+        pinctrl-names = "default";
+        pinctrl-0 = <&aud_pins_default>;
+        audio-routing =
+            "Headphone", "Headphone L",
+            "Headphone", "Headphone R",
+            "AIN1", "Headset Mic";
+    };
+
+...
-- 
2.18.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help