]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: nfc: use spi-peripheral-props.yaml
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 27 Jul 2022 16:41:29 +0000 (18:41 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Jul 2022 05:26:52 +0000 (22:26 -0700)
commit7eb83e187708252ae2fa24968a4f1d40c8eabcb2
treef57ddb4f75e3156051753c74bbf791ba34a7d259
parente9881526d7b4d7dbcd72de8d306ed4b422590617
dt-bindings: nfc: 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: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220727164130.385411-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/nfc/marvell,nci.yaml
Documentation/devicetree/bindings/net/nfc/st,st-nci.yaml
Documentation/devicetree/bindings/net/nfc/st,st95hf.yaml
Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml