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: gyroscope: 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.

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

authored by

Krzysztof Kozlowski and committed by
Jonathan Cameron
d29c7f8c 00407a68

+8 -2
+4 -1
Documentation/devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml
··· 38 38 - spi-cpol 39 39 - spi-cpha 40 40 41 - additionalProperties: false 41 + allOf: 42 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 43 + 44 + unevaluatedProperties: false 42 45 43 46 examples: 44 47 - |
+4 -1
Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.yaml
··· 56 56 - compatible 57 57 - reg 58 58 59 - additionalProperties: false 59 + allOf: 60 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 61 + 62 + unevaluatedProperties: false 60 63 61 64 examples: 62 65 - |