ASoC: dt-bindings: simple-card: correct DAI subnodes pattern
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 9 Jan 2023 08:33:01 +0000 (09:33 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Jan 2023 13:05:33 +0000 (13:05 +0000)
commitcbf74baf02219978bfa9c2959eac6bf1d98c32cd
tree99920f9e3141804817dafe895c09794f4781637d
parent05d450b06d6a299bd5a7f209c81db681c3cdbcd9
ASoC: dt-bindings: simple-card: correct DAI subnodes pattern

The simple-audio-card,dai-link node does not allow address/size-cells
thus children (cpu, codec) should come without unit addresses.  For
cases with multiple nodes of same type, require a dash before index
(e.g. cpu-x) and add trailing $ to the pattern to disallow other
characters.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230109083301.76282-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/simple-card.yaml