Messages in this thread | | | From | Rob Herring <> | Date | Thu, 20 Feb 2020 13:38:46 -0600 | Subject | Re: [PATCH v2] ASoC: dt-bindings: simple-card: switch to yaml base Documentation |
| |
On Wed, Feb 19, 2020 at 9:09 PM Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> wrote: > > > Hi Rob > > > > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> > > > > > > This patch switches from .txt base to .yaml base Document. > > > > > > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> > > > --- > (snip) > > > + dai: > > > + type: object > > > + properties: > > > + sound-dai: > > > + $ref: /schemas/types.yaml#/definitions/phandle-array > > > > This should have a common definition elsewhere which I'd prefer be in > > the dtschema repo. You can just assume there is and do 'maxItems: 1' > > here assuming it's only 1. > > I think dai and/or sound-dai are not common definition. > These are very simple-card specific property.
Qcom platforms also use 'sound-dai' and they aren't simple-card.
Rob
| |