2023-08-04 12:02:57

by Michael Riesch

[permalink] [raw]
Subject: [PATCH v3 3/3] dt-bindings: display: add rotation property to sitronix,st7789v

The sitronix-st7789v driver now considers the rotation property.
Add the property to the documentation.

Acked-by: Conor Dooley <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Signed-off-by: Michael Riesch <[email protected]>
---
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
index 905c064cd106..0da4c7e05097 100644
--- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
+++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
@@ -25,6 +25,7 @@ properties:
power-supply: true
backlight: true
port: true
+ rotation: true

spi-cpha: true
spi-cpol: true
@@ -58,6 +59,7 @@ examples:
reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>;
backlight = <&pwm_bl>;
power-supply = <&power>;
+ rotation = <180>;
spi-max-frequency = <100000>;
spi-cpol;
spi-cpha;

--
2.37.2