]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dt-bindings: use spi-peripheral-props.yaml
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 27 Jul 2022 16:40:50 +0000 (18:40 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 27 Jul 2022 20:22:02 +0000 (21:22 +0100)
commit1c441093d8a523286bbc6337c69501a4ed579013
treefef3d2850bee51f7e5e56f0991f9258b4410f1b6
parent392a5296899f187e22d03e882cf98ec8784764bd
ASoC: dt-bindings: use spi-peripheral-props.yaml

Instead of listing directly properties typical for SPI peripherals,
reference the spi-peripheral-props.yaml schema.  This allows using all
properties typical for SPI-connected devices, even these which device
bindings author did not tried yet.

Remove the spi-* properties which now come via spi-peripheral-props.yaml
schema, except for the cases when device schema adds some constraints
like maximum frequency.

While changing additionalProperties->unevaluatedProperties, put it in
typical place, just before example DTS.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220727164050.385241-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/adi,adau1977.yaml
Documentation/devicetree/bindings/sound/wlf,wm8731.yaml