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

From: Trevor Wu (吳文良)
Date: Fri Oct 21 2022 - 04:58:44 EST


> >

..snip

> > > + 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

> > > +
> > > +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
> > >
> > >