Skip to content

Commit

Permalink
dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleksij Rempel authored and Dmitry Torokhov committed Jul 8, 2023
1 parent 26ab826 commit 685b377
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 685b377

Please sign in to comment.