[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240110-petty-tabasco-e8d86a751dea@spud>
Date: Wed, 10 Jan 2024 10:56:14 +0000
From: Conor Dooley <conor@...nel.org>
To: Chancel Liu <chancel.liu@....com>
Cc: lgirdwood@...il.com, broonie@...nel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
shengjiu.wang@...il.com, Xiubo.Lee@...il.com, festevam@...il.com,
nicoleotsuka@...il.com, perex@...ex.cz, tiwai@...e.com,
linux-sound@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 3/3] ASoC: dt-bindings: fsl,micfil: Add compatible string
for i.MX95 platform
On Tue, Jan 09, 2024 at 04:55:51PM +0900, Chancel Liu wrote:
> Add compatible string "fsl,imx95-micfil" for i.MX95 platform.
>
> Signed-off-by: Chancel Liu <chancel.liu@....com>
> ---
> .../devicetree/bindings/sound/fsl,micfil.yaml | 15 +++++++++++----
> 1 file changed, 11 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml b/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
> index b7e605835639..f0d3d11d07d2 100644
> --- a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
> +++ b/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
> @@ -15,10 +15,17 @@ description: |
>
> properties:
> compatible:
> - enum:
> - - fsl,imx8mm-micfil
> - - fsl,imx8mp-micfil
> - - fsl,imx93-micfil
> + oneOf:
> + - items:
> + - enum:
> + - fsl,imx95-micfil
> + - const: fsl,imx93-micfil
> +
> + - items:
This items is not needed, as the only item in the list is the enum.
You can just do
properties:
compatible:
oneOf:
- items:
- enum:
- fsl,imx95-micfil
- const: fsl,imx93-micfil
- enum:
- fsl,imx8mm-micfil
- fsl,imx8mp-micfil
- fsl,imx93-micfil
Cheers,
Conor.
> + - enum:
> + - fsl,imx8mm-micfil
> + - fsl,imx8mp-micfil
> + - fsl,imx93-micfil
>
> reg:
> maxItems: 1
> --
> 2.42.0
>
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists