Skip to content

Commit e6085d3

Browse files
foonerdpopcornmix
authored andcommitted
overlays: Enable Raspberry Touch 2 rotation with overlay
See: #6480 Signed-off-by: foonerd <[email protected]>
1 parent 2a53be9 commit e6085d3

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
@@ -5289,6 +5289,7 @@ Params: sizex Touchscreen size x (default 720)
52895289
invy Touchscreen inverted y axis
52905290
swapxy Touchscreen swapped x y axis
52915291
disable_touch Disables the touch screen overlay driver
5292+
rotation Display rotation {0,90,180,270} (default 0)
52925293
dsi0 Use DSI0 and i2c_csi_dsi0 (rather than
52935294
the default DSI1 and i2c_csi_dsi).
52945295

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)