spi/panel: dt-bindings: drop CPHA and CPOL from common properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 22 Jul 2022 19:15:39 +0000 (21:15 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 26 Jul 2022 11:17:23 +0000 (12:17 +0100)
commit233363aba72ac638dda6838f8e817c46d36c2431
treeea6d69b9ca0d897f8e0a188a6a74550b1f1c8997
parent89fcdd53c2528b8f0ed34553aaf9826fe63848b5
spi/panel: dt-bindings: drop CPHA and CPOL from common properties

The spi-cpha and spi-cpol properties are device specific and should be
accepted only if device really needs them.  Drop them from common
spi-peripheral-props.yaml schema, mention in few panel drivers which use
them and include instead in the SPI controller bindings.  The controller
bindings will provide CPHA/CPOL type validation and one place for
description.  Each device schema must list the properties if they are
applicable.

Suggested-by: Jonathan Cameron <jic23@kernel.org>
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220722191539.90641-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml
Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
Documentation/devicetree/bindings/display/panel/tpo,td.yaml
Documentation/devicetree/bindings/spi/spi-controller.yaml
Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml