[PATCH v5 2/2] dt-bindings: sound: tlv320aic3x: Add optional clock and port properties

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Wed Dec 28 16:05:54 CET 2022


On 27/12/2022 09:27, Jai Luthra wrote:
> Describe optional properties for clocks and ports that were missing in
> the original txt binding, to fix warnings like:
> 
> aic33 at 18: 'assigned-clock-parents', 'assigned-clock-rates',
> 	'assigned-clocks' do not match any of the regexes:
> 	'pinctrl-[0-9]+'
> 	arch/arm/boot/dts/omap2420-n810.dtb
> 
> tlv320aic3106 at 1b: 'port' does not match any of the regexes: 'pinctrl-[0-9]+'
> 	arch/arm/boot/dts/am335x-sl50.dtb
> 
> codec at 18: 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+'
> 	arch/arm/boot/dts/imx6dl-gw5903.dtb
> 	arch/arm/boot/dts/imx6q-gw5903.dtb
> 
> Signed-off-by: Jai Luthra <j-luthra at ti.com>
> ---
>  Documentation/devicetree/bindings/sound/ti,tlv320aic3x.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/sound/ti,tlv320aic3x.yaml b/Documentation/devicetree/bindings/sound/ti,tlv320aic3x.yaml
> index f0375bbf4c40..2f9fc76bba55 100644
> --- a/Documentation/devicetree/bindings/sound/ti,tlv320aic3x.yaml
> +++ b/Documentation/devicetree/bindings/sound/ti,tlv320aic3x.yaml
> @@ -110,6 +110,12 @@ properties:
>    '#sound-dai-cells':
>      const: 0
>  
> +  clocks: true

maxItems

> +
> +  port:
> +    description: For DAI connection when the codec is used via graph card
> +    type: object

Instead this should be $ref to graph port

> +
>  required:
>    - compatible
>    - reg

Best regards,
Krzysztof



More information about the Alsa-devel mailing list