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: samsung,sensorhub-rinato: 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>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220816124321.67817-10-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Krzysztof Kozlowski and committed by
Jonathan Cameron
6920f48e efcdb1ab

+5 -4
+5 -4
Documentation/devicetree/bindings/iio/samsung,sensorhub-rinato.yaml
··· 40 40 description: 41 41 Reset the sensorhub. 42 42 43 - spi-max-frequency: true 44 - 45 - additionalProperties: false 46 - 47 43 required: 48 44 - compatible 49 45 - reg ··· 47 51 - ap-mcu-gpios 48 52 - mcu-ap-gpios 49 53 - mcu-reset-gpios 54 + 55 + allOf: 56 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 57 + 58 + unevaluatedProperties: false 50 59 51 60 examples: 52 61 - |