[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d40f02f-529b-45ac-aa31-c4342f6f4f55@kernel.org>
Date: Mon, 8 Jul 2024 09:37:58 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Animesh Agarwal <animeshagarwal28@...il.com>
Cc: Daniel Baluta <daniel.baluta@....com>,
David Rhodes <david.rhodes@...rus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, patches@...nsource.cirrus.com,
alsa-devel@...a-project.org, linux-sound@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: dt-bindings: cirrus,cs4270: Convert to dtschema
On 07/07/2024 08:26, Animesh Agarwal wrote:
> +
> + reg:
> + maxItems: 1
> +
> + reset-gpios:
> + description:
> + This pin will be deasserted before communication to the codec starts.
> + maxItems: 1
> +
> + va-supply:
> + description: Voltage regulator phandle for the VA supply.
Your description is redundant: you did not say anything more than it is
already said in the property name. This could be in such case just:
": true"
Please keep this feedback for any future work (I feel I already said it
once...).
> +
> + vd-supply:
> + description: Voltage regulator phandle for the VD supply.
> +
> + vlc-supply:
> + description: Voltage regulator phandle for the VLC supply.
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
This won't validate DTS... test the DTS. You miss dai-common.
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + codec: cs4270@48 {
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
e.g. audio-codec or codec
And drop unused label "codec:"
Best regards,
Krzysztof
Powered by blists - more mailing lists