Add a common touchscreen optional property that will specify
the minimum pressure applied to the screen that is needed
such that the driver will report the touch event.

Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com>
Reviewed-by: Rob Herring <r...@kernel.org>
---
Changes in v5:
 - Modified property name to touchscreen-min-pressure from
touchscreen-threshold-property

 Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt 
b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt
index 537643e..d092d5d 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt
+++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt
@@ -7,6 +7,9 @@ Optional properties for Touchscreens:
                                  (in pixels)
  - touchscreen-max-pressure    : maximum reported pressure (arbitrary range
                                  dependent on the controller)
+ - touchscreen-min-pressure    : minimum pressure on the touchscreen to be
+                                 achieved in order for the touchscreen
+                                 driver to report a touch event.
  - touchscreen-fuzz-x          : horizontal noise value of the absolute input
                                  device (in pixels)
  - touchscreen-fuzz-y          : vertical noise value of the absolute input
-- 
2.7.4

Reply via email to