overlays: Fix pitft28/35-resistive rotate params

The drm drivers uses the property name "rotation", not "rotate" as used
by the fbtft drivers. Fix suggested by notro.

See: https://forums.raspberrypi.com/viewtopic.php?p=1996785#p1996785

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
This commit is contained in:
Phil Elwell
2022-04-24 20:25:34 +01:00
parent a596311f13
commit da91801ca1
2 changed files with 4 additions and 2 deletions

View File

@@ -112,7 +112,8 @@
__overrides__ {
speed = <&pitft>,"spi-max-frequency:0";
rotate = <&pitft>,"rotate:0";
rotate = <&pitft>,"rotate:0", /* fbtft */
<&pitft>,"rotation:0"; /* drm */
fps = <&pitft>,"fps:0";
debug = <&pitft>,"debug:0";
drm = <&pitft>,"compatible=multi-inno,mi0283qt";

View File

@@ -112,7 +112,8 @@
__overrides__ {
speed = <&pitft>,"spi-max-frequency:0";
rotate = <&pitft>,"rotate:0";
rotate = <&pitft>,"rotate:0", /* fbtft */
<&pitft>,"rotation:0"; /* drm */
fps = <&pitft>,"fps:0";
debug = <&pitft>,"debug:0";
drm = <&pitft>,"compatible=adafruit,yx350hv15",