Skip to content

Commit dd504db

Browse files
akemnadekhilman
authored andcommitted
ARM: dts: ti/omap: omap3-gta04: use proper touchscreen properties
Specify the dimensions of the touchscreen propertly so that no userspace configuration is needed for it. Tested with x11 and weston on Debian bookworm. What is in now is some debris from earlier tries to handle scaling in kernel: https://lore.kernel.org/linux-input/cover.1482936802.git.hns@goldelico.com/ Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Link: https://lore.kernel.org/r/20241205204413.2466775-3-akemnade@kernel.org Signed-off-by: Kevin Hilman <khilman@baylibre.com>
1 parent 3623e10 commit dd504db

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

arch/arm/boot/dts/ti/omap/omap3-gta04.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,10 @@
601601
interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
602602
gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* GPIO_160 */
603603
ti,x-plate-ohms = <600>;
604-
touchscreen-size-x = <480>;
605-
touchscreen-size-y = <640>;
604+
touchscreen-size-x = <0xf00>;
605+
touchscreen-size-y = <0xf00>;
606+
touchscreen-min-x = <0x100>;
607+
touchscreen-min-y = <0x100>;
606608
touchscreen-max-pressure = <1000>;
607609
touchscreen-fuzz-x = <3>;
608610
touchscreen-fuzz-y = <8>;

0 commit comments

Comments
 (0)