2023-01-19 06:46:57

by Srinivasa Rao Mandadapu

[permalink] [raw]
Subject: [PATCH 3/3] ASoC: google: dt-bindings: sc7280: Add #sound-dai-cells property

Update sc7280 machine driver bindings with #sound-dai-cells property.
This is to fix dtbs_check errors.

Signed-off-by: Srinivasa Rao Mandadapu <[email protected]>
Tested-by: Ratna Deepthi Kudaravalli <[email protected]>
---
Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
index ccf1b1d..be5c60a 100644
--- a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
+++ b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
@@ -35,6 +35,9 @@ properties:
"#size-cells":
const: 0

+ "#sound-dai-cells":
+ const: 0
+
patternProperties:
"^dai-link@[0-9a-f]$":
description:
--
2.7.4


2023-01-19 12:26:18

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 3/3] ASoC: google: dt-bindings: sc7280: Add #sound-dai-cells property

On 19/01/2023 07:11, Srinivasa Rao Mandadapu wrote:
> Update sc7280 machine driver bindings with #sound-dai-cells property.
> This is to fix dtbs_check errors.
>
> Signed-off-by: Srinivasa Rao Mandadapu <[email protected]>
> Tested-by: Ratna Deepthi Kudaravalli <[email protected]>
> ---
> Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
> index ccf1b1d..be5c60a 100644
> --- a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
> +++ b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
> @@ -35,6 +35,9 @@ properties:
> "#size-cells":
> const: 0
>
> + "#sound-dai-cells":
> + const: 0

That's not correct property for the sound card. Does the sound card
exposes DAIs? Who uses these?

> +
> patternProperties:
> "^dai-link@[0-9a-f]$":
> description:

Best regards,
Krzysztof