[PATCH] ASoC: dt-bindings: fsl,imx-audio-es8328: Convert to dtschema
Krzysztof Kozlowski
krzk at kernel.org
Sun Jul 21 02:33:17 PDT 2024
On 20/07/2024 12:08, Animesh Agarwal wrote:
> Convert the Freescale i.MX audio complex with ES8328 codec bindings to
> DT schema format.
>
> Cc: Daniel Baluta <daniel.baluta at nxp.com>
> Signed-off-by: Animesh Agarwal <animeshagarwal28 at gmail.com>
> ---
> .../bindings/sound/fsl,imx-audio-es8328.yaml | 111 ++++++++++++++++++
> .../bindings/sound/imx-audio-es8328.txt | 60 ----------
> 2 files changed, 111 insertions(+), 60 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/sound/fsl,imx-audio-es8328.yaml
> delete mode 100644 Documentation/devicetree/bindings/sound/imx-audio-es8328.txt
>
> diff --git a/Documentation/devicetree/bindings/sound/fsl,imx-audio-es8328.yaml b/Documentation/devicetree/bindings/sound/fsl,imx-audio-es8328.yaml
> new file mode 100644
> index 000000000000..5a023c2d73f5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/fsl,imx-audio-es8328.yaml
> @@ -0,0 +1,111 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/fsl,imx-audio-es8328.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Freescale i.MX audio complex with ES8328 codec
> +
> +maintainers:
> + - Shawn Guo <shawnguo at kernel.org>
> + - Sascha Hauer <s.hauer at pengutronix.de>
> +
> +allOf:
> + - $ref: dai-common.yaml#
That's not a DAI but audio card / complex. Drop.
Did you used dai-common in other conversions already?
...
> +
> +unevaluatedProperties: false
additionalProperties instead
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list