summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/input
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2023-06-21 11:32:45 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-07-07 17:06:06 -0700
commit685b37704ce68924fa823d1cc37e512555526e06 (patch)
treedfa2c03a146dce922a226e0e4ff0696404d2c2b5 /Documentation/devicetree/bindings/input
parent26ab82616eb51bd236f12d6427d05d18c573f6e2 (diff)
dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property
Add a new property 'threshold' to the edt-ft5x06 touchscreen binding. This property allows setting the "click"-threshold in the range from 0 to 255. This change addresses the following dtbs_check warning: imx6dl-lanmcu.dtb: touchscreen@38: 'threshold' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230621093245.78130-6-o.rempel@pengutronix.de Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
index ef4c841387bd..f2808cb4d99d 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
@@ -93,6 +93,12 @@ properties:
minimum: 1
maximum: 255
+ threshold:
+ description: Allows setting the "click"-threshold in the range from 0 to 255.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ minimum: 0
+ maximum: 255
+
touchscreen-size-x: true
touchscreen-size-y: true
touchscreen-fuzz-x: true