Re: [PATCH v3 02/21] ASoC: dt-bindings: cs42l42: Document additional dai-common properties
From: Krzysztof Kozlowski
Date: Mon Oct 19 2026 - 05:00:12 EST
On Sun, Oct 18, 2026 at 03:53:56PM +1000, James Calligeros wrote:
> We may need to define both #sound-dai-cells and sound-name-prefix on some
> machines where this codec is part of a simple DAI. Document them with
> reference to dai-common to keep the style checker happy.
>
> Signed-off-by: James Calligeros <jcalligeros99@xxxxxxxxx>
> ---
> .../bindings/sound/cirrus,cs42l42.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l42.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l42.yaml
> index ab4c7d22dc0e..aba2121ac64a 100644
> --- a/Documentation/devicetree/bindings/sound/cirrus,cs42l42.yaml
> +++ b/Documentation/devicetree/bindings/sound/cirrus,cs42l42.yaml
> @@ -9,6 +9,9 @@ title: Cirrus Logic CS42L42 audio CODEC
> maintainers:
> - patches@xxxxxxxxxxxxxxxxxxxxx
>
> +allOf:
> + - $ref: dai-common.yaml#
> +
> description:
> The CS42L42 is a low-power audio codec designed for portable applications.
> It provides a high-dynamic range, stereo DAC for audio playback and a mono
> @@ -26,6 +29,10 @@ properties:
> The I2C address of the CS42L42.
> maxItems: 1
>
> + '#sound-dai-cells': true
Instead const.
> +
> + sound-name-prefix: true
And drop this one.
Best regards,
Krzysztof