[PATCH v3 01/21] ASoC: dt-bindings: cs42l84: Document sound-name-prefix property

Krzysztof Kozlowski krzk at kernel.org
Mon Oct 19 01:53:34 PDT 2026


On Sun, Oct 18, 2026 at 03:53:55PM +1000, James Calligeros wrote:
> Some consumers may wish to prepend the codec's name with a known value
> to identify a specific codec among many. Enable this with the common
> sound-name-prefix property.
> 
> Signed-off-by: James Calligeros <jcalligeros99 at gmail.com>
> ---
>  .../bindings/sound/cirrus,cs42l84.yaml   | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml
> index 94062c1d9d45..ca137aa57461 100644
> --- a/Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml
> +++ b/Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml
> @@ -9,6 +9,9 @@ title: Cirrus Logic CS42L84 audio CODEC
>  maintainers:
>    - Martin Povišer <povik+lin at cutebit.org>
>  
> +allOf:
> +  - $ref: dai-common.yaml#
> +
>  description: |
>    The CS42L84 is a headphone jack codec made by Cirrus Logic and embedded
>    in personal computers sold by Apple. It was first seen in 2021 Macbook
> @@ -32,6 +35,8 @@ properties:
>    '#sound-dai-cells':
>      const: 0
>  
> +  sound-name-prefix: true

Drop. Repeating myself from v2: just use the same code as others, e.g.
cirrus,cs42l51 or other codecs. You only need ref and unevaluatedProps.

Best regards,
Krzysztof




More information about the Linux-mediatek mailing list