Re: [PATCH] spi/panel: dt-bindings: drop 3-wire from common properties

From: Rob Herring
Date: Fri Aug 12 2022 - 13:03:53 EST


On Wed, 10 Aug 2022 16:13:11 +0300, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>
> ---
> .../bindings/display/panel/kingdisplay,kd035g6-54nt.yaml | 2 ++
> .../bindings/display/panel/leadtek,ltk035c5444t.yaml | 2 ++
> .../devicetree/bindings/display/panel/samsung,s6e63m0.yaml | 4 ++++
> Documentation/devicetree/bindings/spi/spi-controller.yaml | 5 +++++
> .../devicetree/bindings/spi/spi-peripheral-props.yaml | 5 -----
> 5 files changed, 13 insertions(+), 5 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>