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

Krzysztof Kozlowski krzk at kernel.org
Fri Oct 9 00:09:11 PDT 2026


On Sun, Oct 04, 2026 at 04:03:28PM +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   | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml
> index 94062c1d9d45..2637aa5f4326 100644
> --- a/Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml
> +++ b/Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml
> @@ -32,6 +32,9 @@ properties:
>    '#sound-dai-cells':
>      const: 0
>  
> +  sound-name-prefix:
> +    $ref: component-common.yaml#/properties/sound-name-prefix

That's a codec device, so why aren't you just using dai-common.yaml
($ref) like others?

Best regards,
Krzysztof




More information about the Linux-mediatek mailing list