Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property

To calculate the pressure on a restrictive touchscreen we need to know
resistance at least of X plate. Some calculations need to use both X and
Y values. So let's add generic properties which can be used by all
drivers.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210525054634.9134-3-o.rempel@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Oleksij Rempel and committed by
Dmitry Torokhov
ff7af0fe 71d576d3

+6
+6
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
··· 74 74 touchscreen-y-mm: 75 75 description: vertical length in mm of the touchscreen 76 76 77 + touchscreen-x-plate-ohms: 78 + description: Resistance of the X-plate in Ohms 79 + 80 + touchscreen-y-plate-ohms: 81 + description: Resistance of the Y-plate in Ohms 82 + 77 83 dependencies: 78 84 touchscreen-size-x: [ touchscreen-size-y ] 79 85 touchscreen-size-y: [ touchscreen-size-x ]