Re: [PATCH v2 2/5] Input: hynitron-cst816x: respect touchscreen DT properties
From: Oleh Kuzhylnyi
Date: Sun Oct 04 2026 - 16:30:23 EST
On Fri Oct 2, 2026 at 2:47 PM CEST, Daniel Golle wrote:
> Parse common touchscreen properties and use touchscreen_report_pos()
> instead of reporting raw absolute position.
>
> This makes the driver respect the touchscreen-min-x/y,
> touchscreen-size-x/y, touchscreen-fuzz-x/y, touchscreen-inverted-x/y
> and touchscreen-swapped-x-y properties.
>
> Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
> ---
> v2:
> - name all the properties the parser honours, no functional change
Tested on Raspberry Pi 4B with CST816S panel, with and without
touchscreen-swapped-x-y. Reported coordinates are valid.
Tested-by: Oleh Kuzhylnyi <kuzhylol@xxxxxxxxx>
Best regards,
Oleh Kuzhylnyi