Unverified Commit 9b915776 authored by Fei Shao's avatar Fei Shao Committed by Mark Brown
Browse files

ASoC: dt-bindings: maxim,max98390: Reference common DAI properties



MAX98390 is a smart amplifier and exposes one DAI, so '#sound-dai-cells'
property is needed for describing the DAI links.

Reference the dai-common.yaml schema to allow '#sound-dai-cells' to be
used.

This fixes dtbs_check error:
  '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: default avatarFei Shao <fshao@chromium.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241105091513.3963102-1-fshao@chromium.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent aaa73822
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -9,6 +9,9 @@ title: Maxim Integrated MAX98390 Speaker Amplifier with Integrated Dynamic Speak
maintainers:
  - Steve Lee <steves.lee@maximintegrated.com>

allOf:
  - $ref: dai-common.yaml#

properties:
  compatible:
    const: maxim,max98390
@@ -32,11 +35,14 @@ properties:
  reset-gpios:
    maxItems: 1

  '#sound-dai-cells':
    const: 0

required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

examples:
  - |