Skip to content

Commit a7aa1bf

Browse files
mwilliams03Phil Elwell
authored and
Phil Elwell
committed
Added optional parameter to set resistance of touch plate(x-plate-ohms)
1 parent 7892fd3 commit a7aa1bf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ Params: speed Display SPI bus speed
329329

330330
debug Debug output level {0-7}
331331

332+
xohms Touchpanel sensitivity (X-plate resistance)
333+
332334

333335
Name: pitft28-resistive
334336
Info: Adafruit PiTFT 2.8" resistive touch screen

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
0x1000029>;
7373
};
7474

75-
piscreen-ts@1 {
75+
piscreen_ts: piscreen-ts@1 {
7676
compatible = "ti,ads7846";
7777
reg = <1>;
7878

@@ -91,5 +91,6 @@
9191
rotate = <&piscreen>,"rotate:0";
9292
fps = <&piscreen>,"fps:0";
9393
debug = <&piscreen>,"debug:0";
94+
xohms = <&piscreen_ts>,"ti,x-plate-ohms;0";
9495
};
9596
};

0 commit comments

Comments
 (0)