Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Fei Shao <fshao@chromium.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241105091513.3963102-1-fshao@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Fei Shao and committed by
Mark Brown
9b915776 aaa73822

+7 -1
+7 -1
Documentation/devicetree/bindings/sound/maxim,max98390.yaml
··· 9 9 maintainers: 10 10 - Steve Lee <steves.lee@maximintegrated.com> 11 11 12 + allOf: 13 + - $ref: dai-common.yaml# 14 + 12 15 properties: 13 16 compatible: 14 17 const: maxim,max98390 ··· 35 32 reset-gpios: 36 33 maxItems: 1 37 34 35 + '#sound-dai-cells': 36 + const: 0 37 + 38 38 required: 39 39 - compatible 40 40 - reg 41 41 42 - additionalProperties: false 42 + unevaluatedProperties: false 43 43 44 44 examples: 45 45 - |