Skip to content

Commit e7e85d7

Browse files
foonerdwoqidaideshi
authored andcommitted
overlays: Enable Raspberry Touch 2 rotation with overlay
See: raspberrypi/linux#6480 Signed-off-by: foonerd <foonerd@github.com>
1 parent 8bf24a3 commit e7e85d7

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
@@ -5249,6 +5249,7 @@ Params: sizex Touchscreen size x (default 720)
52495249
invy Touchscreen inverted y axis
52505250
swapxy Touchscreen swapped x y axis
52515251
disable_touch Disables the touch screen overlay driver
5252+
rotation Display rotation {0,90,180,270} (default 0)
52525253
dsi0 Use DSI0 and i2c_csi_dsi0 (rather than
52535254
the default DSI1 and i2c_csi_dsi).
52545255

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)