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.

dt-bindings: iio: resolver: adi,ad2s90: use spi-peripheral-props.yaml

For devices connectable by SPI bus (e.g. already using
"spi-max-frequency" property), reference the "spi-peripheral-props.yaml"
schema to allow using all SPI device properties, even these which device
bindings author did not tried yet.

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221004115642.63749-8-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Krzysztof Kozlowski and committed by
Jonathan Cameron
85250a24 e91d4021

+5 -2
+5 -2
Documentation/devicetree/bindings/iio/resolver/adi,ad2s90.yaml
··· 33 33 34 34 spi-cpha: true 35 35 36 - additionalProperties: false 37 - 38 36 required: 39 37 - compatible 40 38 - reg ··· 40 42 dependencies: 41 43 spi-cpol: [ spi-cpha ] 42 44 spi-cpha: [ spi-cpol ] 45 + 46 + allOf: 47 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 48 + 49 + unevaluatedProperties: false 43 50 44 51 examples: 45 52 - |