[PATCH v4 02/22] ASoC: dt-bindings: cs42l42: Allow referenced dai-common properties

Krzysztof Kozlowski krzk at kernel.org
Wed Nov 4 02:49:06 PST 2026


On Tue, Nov 03, 2026 at 05:39:50PM +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. Allow this by refrencing
> dai-common.yaml and allowing its properties to be used.
> 
> Signed-off-by: James Calligeros <jcalligeros99 at gmail.com>
> ---
>  Documentation/devicetree/bindings/sound/cirrus,cs42l42.yaml | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l42.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l42.yaml
> index ab4c7d22dc0e..4ac0af34c464 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 at opensource.cirrus.com
>  
> +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
> @@ -193,7 +196,7 @@ required:
>    - VL-supply
>    - VA-supply

Missing dai-cells constraint

Best regards,
Krzysztof




More information about the Linux-mediatek mailing list