Skip to content

Commit

Permalink
piscreen-overlay: Add invert[x,y] and swapxy
Browse files Browse the repository at this point in the history
Signed-off-by: Satadru Pramanik <[email protected]>
  • Loading branch information
satmandu authored and pelwell committed Sep 4, 2024
1 parent 789af26 commit 31be188
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -3694,6 +3694,12 @@ Params: speed Display SPI bus speed
drm Select the DRM/KMS driver instead of the FBTFT
one

invx Touchscreen inverted x axis

invy Touchscreen inverted y axis

swapxy Touchscreen swapped x y axis


Name: piscreen2r
Info: PiScreen 2 with resistive TP display by OzzMaker.com
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/overlays/piscreen-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,8 @@
xohms = <&piscreen_ts>,"ti,x-plate-ohms;0";
drm = <&piscreen>,"compatible=waveshare,rpi-lcd-35",
<&piscreen>,"reset-gpios:8=",<GPIO_ACTIVE_HIGH>;
invx = <&piscreen_ts>,"touchscreen-inverted-x?";
invy = <&piscreen_ts>,"touchscreen-inverted-y?";
swapxy = <&piscreen_ts>,"touchscreen-swapped-x-y!";
};
};

0 comments on commit 31be188

Please sign in to comment.