Skip to content

Commit 31be188

Browse files
satmandupelwell
authored andcommitted
piscreen-overlay: Add invert[x,y] and swapxy
Signed-off-by: Satadru Pramanik <[email protected]>
1 parent 789af26 commit 31be188

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3694,6 +3694,12 @@ Params: speed Display SPI bus speed
36943694
drm Select the DRM/KMS driver instead of the FBTFT
36953695
one
36963696

3697+
invx Touchscreen inverted x axis
3698+
3699+
invy Touchscreen inverted y axis
3700+
3701+
swapxy Touchscreen swapped x y axis
3702+
36973703

36983704
Name: piscreen2r
36993705
Info: PiScreen 2 with resistive TP display by OzzMaker.com

arch/arm/boot/dts/overlays/piscreen-overlay.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,8 @@
103103
xohms = <&piscreen_ts>,"ti,x-plate-ohms;0";
104104
drm = <&piscreen>,"compatible=waveshare,rpi-lcd-35",
105105
<&piscreen>,"reset-gpios:8=",<GPIO_ACTIVE_HIGH>;
106+
invx = <&piscreen_ts>,"touchscreen-inverted-x?";
107+
invy = <&piscreen_ts>,"touchscreen-inverted-y?";
108+
swapxy = <&piscreen_ts>,"touchscreen-swapped-x-y!";
106109
};
107110
};

0 commit comments

Comments
 (0)