Re: [PATCH 4/9] dt-bindings: ASoC: Add it68051

From: Krzysztof Kozlowski
Date: Fri Apr 14 2023 - 13:01:52 EST


On 14/04/2023 16:01, Paweł Anikiel wrote:
> Add binding for it68051 device.
>
> Signed-off-by: Paweł Anikiel <pan@xxxxxxxxxxxx>
> ---
> .../bindings/sound/ite,it68051.yaml | 23 +++++++++++++++++++
> 1 file changed, 23 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/ite,it68051.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/ite,it68051.yaml b/Documentation/devicetree/bindings/sound/ite,it68051.yaml
> new file mode 100644
> index 000000000000..341c171b8a8a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/ite,it68051.yaml
> @@ -0,0 +1,23 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/ite,it68051.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: it68051 audio codec
> +
> +maintainers:
> + - Paweł Anikiel <pan@xxxxxxxxxxxx>
> +
> +properties:
> + compatible:
> + const: ite,it68051
> +

No ref to common DAI properties? No sound-dai-cells? No resources?
Bindings are supposed to be complete.


> +required:
> + - compatible
> +
> +examples:
> + - |
> + it68051: audio-codec {

Drop label, you do not use it here.

> + compatible = "ite,it68051";
> + };

Best regards,
Krzysztof