Skip to content

Commit c53dafd

Browse files
foonerdpopcornmix
authored andcommitted
overlays: Enable Raspberry Touch 2 rotation with overlay
See: #6480 Signed-off-by: foonerd <foonerd@github.com>
1 parent 28391e8 commit c53dafd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5291,6 +5291,7 @@ Params: sizex Touchscreen size x (default 720)
52915291
invy Touchscreen inverted y axis
52925292
swapxy Touchscreen swapped x y axis
52935293
disable_touch Disables the touch screen overlay driver
5294+
rotation Display rotation {0,90,180,270} (default 0)
52945295
dsi0 Use DSI0 and i2c_csi_dsi0 (rather than
52955296
the default DSI1 and i2c_csi_dsi).
52965297

arch/arm/boot/dts/overlays/vc4-kms-dsi-ili9881-7inch-overlay.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,6 @@
118118
invy = <0>, "+11";
119119
swapxy = <&gt911>,"touchscreen-swapped-x-y?";
120120
disable_touch = <&gt911>, "status=disabled";
121+
rotation = <&dsi_panel>, "rotation:0";
121122
};
122123
};

0 commit comments

Comments
 (0)