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: frequency: adf4371: 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-6-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Krzysztof Kozlowski and committed by
Jonathan Cameron
3e03f90f 25d04699

+4 -3
+4 -3
Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
··· 40 40 output stage will shut down until the ADF4371/ADF4372 achieves lock as 41 41 measured by the digital lock detect circuitry. 42 42 43 - spi-max-frequency: true 44 - 45 43 required: 46 44 - compatible 47 45 - reg 48 46 - clocks 49 47 - clock-names 50 48 51 - additionalProperties: false 49 + allOf: 50 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 51 + 52 + unevaluatedProperties: false 52 53 53 54 examples: 54 55 - |