diff mbox series

ASoC: dt-bindings: google,sc7180-trogdor: allow up to four codec DAIs

Message ID 20230507174543.264987-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit 853a954bf506c42c91b2d2b0d57be891a659ee5a
Headers show
Series ASoC: dt-bindings: google,sc7180-trogdor: allow up to four codec DAIs | expand

Commit Message

Krzysztof Kozlowski May 7, 2023, 5:45 p.m. UTC
SC7180 Trogdor sound cards come with multiple audio amplifiers, so allow
up to four of them to fix dtbs_check warnings like:

  sc7180-trogdor-homestar-r3.dtb: sound: dai-link@1:codec:sound-dai: [[275], [276], [277], [278]] is too long

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/sound/google,sc7180-trogdor.yaml       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Conor Dooley May 7, 2023, 9:11 p.m. UTC | #1
On Sun, May 07, 2023 at 07:45:43PM +0200, Krzysztof Kozlowski wrote:
> SC7180 Trogdor sound cards come with multiple audio amplifiers, so allow
> up to four of them to fix dtbs_check warnings like:
> 
>   sc7180-trogdor-homestar-r3.dtb: sound: dai-link@1:codec:sound-dai: [[275], [276], [277], [278]] is too long
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Given Rob is on leave & the sender of this patch...
Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> ---
>  .../devicetree/bindings/sound/google,sc7180-trogdor.yaml       | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml b/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
> index 67ccddd44489..666a95ac22c8 100644
> --- a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
> +++ b/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
> @@ -74,7 +74,8 @@ patternProperties:
>  
>          properties:
>            sound-dai:
> -            maxItems: 1
> +            minItems: 1
> +            maxItems: 4
>  
>      required:
>        - link-name
> -- 
> 2.34.1
>
Mark Brown May 9, 2023, 6:38 a.m. UTC | #2
On Sun, 07 May 2023 19:45:43 +0200, Krzysztof Kozlowski wrote:
> SC7180 Trogdor sound cards come with multiple audio amplifiers, so allow
> up to four of them to fix dtbs_check warnings like:
> 
>   sc7180-trogdor-homestar-r3.dtb: sound: dai-link@1:codec:sound-dai: [[275], [276], [277], [278]] is too long
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: dt-bindings: google,sc7180-trogdor: allow up to four codec DAIs
      commit: 853a954bf506c42c91b2d2b0d57be891a659ee5a

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml b/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
index 67ccddd44489..666a95ac22c8 100644
--- a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
+++ b/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
@@ -74,7 +74,8 @@  patternProperties:
 
         properties:
           sound-dai:
-            maxItems: 1
+            minItems: 1
+            maxItems: 4
 
     required:
       - link-name