diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-12-03 19:04:41 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-05 17:05:43 +0300 |
commit | 58ae9a2aca6f883dd6fd7b8bfc2e1b1b21a2f03e (patch) | |
tree | 2ce7c62e230efc8e7f2575553633df2cf2a402f2 /Documentation/devicetree/bindings/sound/rockchip-spdif.yaml | |
parent | 3fda85324b8d7aa01ccfa1bb82c46befc6af518f (diff) | |
download | linux-58ae9a2aca6f883dd6fd7b8bfc2e1b1b21a2f03e.tar.xz |
ASoC: dt-bindings: Reference common DAI properties
Reference in all sound components which have '#sound-dai-cells' the
dai-common.yaml schema, which allows to use 'sound-name-prefix'
property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Acked-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Link: https://lore.kernel.org/r/20221203160442.69594-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rockchip-spdif.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/sound/rockchip-spdif.yaml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml b/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml index d0a24bf928d6..4f51b2fa82db 100644 --- a/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml +++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml @@ -75,17 +75,18 @@ required: - dma-names - "#sound-dai-cells" -if: - properties: - compatible: - contains: - const: rockchip,rk3288-spdif - -then: - required: - - rockchip,grf - -additionalProperties: false +allOf: + - $ref: dai-common.yaml# + - if: + properties: + compatible: + contains: + const: rockchip,rk3288-spdif + then: + required: + - rockchip,grf + +unevaluatedProperties: false examples: - | |