Re: [PATCH] ASoC: dt-bindings: tfa9879: Convert to dtschema

From: Krzysztof Kozlowski
Date: Wed Sep 20 2023 - 07:28:11 EST


On 19/09/2023 11:07, Bragatheswaran Manickavel wrote:
> Convert the tfa9879 audio CODEC bindings to DT schema
>

> +required:
> + - compatible
> + - reg
> + - '#sound-dai-cells'
> +
> +additionalProperties: false

Instead:
unevaluatedProperties: false

> +
> +examples:
> + - |
> + i2c1 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + amp: amp@6c {

amplifier@6c

> + compatible: "nxp,tfa9879";
> + reg: <0x6c>;
> + "#sound-dai-cells": <0>;
> + pinctrl-names: "default";
> + pinctrl-0: <&pinctrl_i2c1>;

That's not a DT syntax.

Best regards,
Krzysztof