spi/panel: dt-bindings: drop 3-wire from common properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 10 Aug 2022 13:13:11 +0000 (16:13 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 11:18:43 +0000 (12:18 +0100)
commit41f53a65444997f55c82c67f71a9cff05c1dee31
tree46222a9b34b14ba69d9f1c30a758745250b57ea6
parent0df874c6712d9aa8f43c50ec887a21f7b86fc917
spi/panel: dt-bindings: drop 3-wire from common properties

The spi-3wire property is device specific and should be accepted only if
device really needs them.  Drop it from common spi-peripheral-props.yaml
schema, mention in few panel drivers which use it and include instead in
the SPI controller bindings.  The controller bindings will provide
spi-3wire type validation and one place for description.  Each device
schema must list the property if it is applicable.

The Samsung S6E63M0 panel uses also spi-cpha/cpol properties on at least
one board (ste-ux500-samsung-janice/dts), so add also these to the
panel's bindings.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220810131311.428645-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml
Documentation/devicetree/bindings/display/panel/leadtek,ltk035c5444t.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml
Documentation/devicetree/bindings/spi/spi-controller.yaml
Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml