b524c986901d86378b040f75bbf0c24e0ada2932
[openwrt/staging/blogic.git] /
1 From 2c234a34163d9dc20046b7dc5bf8e9fd7460a3a9 Mon Sep 17 00:00:00 2001
2 From: Suriyan Laohaprapanon <suriyant@cloudtronics.com.au>
3 Date: Wed, 11 May 2022 18:00:22 +0100
4 Subject: [PATCH] dtoverlays: Fix incorrect property name for display
5 rotation
6
7 ---
8 arch/arm/boot/dts/overlays/adafruit-st7735r-overlay.dts | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11 --- a/arch/arm/boot/dts/overlays/adafruit-st7735r-overlay.dts
12 +++ b/arch/arm/boot/dts/overlays/adafruit-st7735r-overlay.dts
13 @@ -62,7 +62,7 @@
14 spi-max-frequency = <32000000>;
15 dc-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
16 reset-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
17 - rotate = <90>;
18 + rotation = <90>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&adafruit_pins>;
21 backlight = <&af18_backlight>;
22 @@ -73,7 +73,7 @@
23 __overrides__ {
24 128x128 = <&af18>, "compatible=okaya,rh128128t";
25 speed = <&af18>,"spi-max-frequency:0";
26 - rotate = <&af18>,"rotate:0";
27 + rotate = <&af18>,"rotation:0";
28 dc_pin = <&af18>,"dc-gpios:4", <&adafruit_pins>,"brcm,pins:4";
29 reset_pin = <&af18>,"reset-gpios:4",
30 <&adafruit_pins>,"brcm,pins:0";