diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-12-03 17:04:41 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-05 14:05:43 +0000 |
commit | 58ae9a2aca6f883dd6fd7b8bfc2e1b1b21a2f03e (patch) | |
tree | 2ce7c62e230efc8e7f2575553633df2cf2a402f2 /Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml | |
parent | 3fda85324b8d7aa01ccfa1bb82c46befc6af518f (diff) | |
download | lwn-58ae9a2aca6f883dd6fd7b8bfc2e1b1b21a2f03e.tar.gz lwn-58ae9a2aca6f883dd6fd7b8bfc2e1b1b21a2f03e.zip |
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/google,cros-ec-codec.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml index dea293f403d9..ea69e433bf4c 100644 --- a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml +++ b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml @@ -17,6 +17,9 @@ description: | subnode of a cros-ec node. (see Documentation/devicetree/bindings/mfd/google,cros-ec.yaml). +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: google,cros-ec-codec @@ -42,7 +45,7 @@ required: - compatible - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - | |