Dario Binacchi
cf6f234d7d
dt-bindings: touchscreen: add debounce-delay-us property
...
Add support for glitch delay configuration. A detected signal is valid
only if it remains stable longer than the configured delay; otherwise,
it is considered a glitch.
This property was introduced for the i.MX6UL touchscreen controller (TSC),
which provides a hardware deglitch filter with four thresholds depending
on the IPG clock frequency. In this use case, the IPG clock rate is 66 MHz,
resulting in thresholds of 124 µs, 62 µs, 31 µs, and 15 µs, which requires
a property with microsecond-level resolution.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20250923143746.2857292-4-dario.binacchi@amarulasolutions.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2025-09-24 14:21:00 -07:00
Javier Carrasco
19875ccec0
dt-bindings: touchscreen: add touch-overlay property
...
The touch-overlay encompasses a number of touch areas that define a
clipped touchscreen area and/or buttons with a specific functionality.
A clipped touchscreen area avoids getting events from regions that are
physically hidden by overlay frames.
For touchscreens with printed overlay buttons, sub-nodes with a suitable
key code can be defined to report key events instead of the original
touch events.
Reviewed-by: Jeff LaBundy <jeff@labundy.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net >
Link: https://lore.kernel.org/r/20241016-feature-ts_virtobj_patch-v11-1-b292a1bbb0a1@wolfvision.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2025-07-27 01:41:20 -07:00
Douglas Anderson
2ca376ef18
dt-bindings: HID: i2c-hid: Add "panel" property to i2c-hid backed touchscreens
...
As talked about in the patch ("drm/panel: Add a way for other devices
to follow panel state"), touchscreens that are connected to panels are
generally expected to be power sequenced together with the panel
they're attached to. Today, nothing provides information allowing you
to find out that a touchscreen is connected to a panel. Let's add a
phandle for this.
The proerty is added to the generic touchscreen bindings and then
enabled in the bindings for the i2c-hid backed devices. This can and
should be added for other touchscreens in the future, but for now
let's start small.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Reviewed-by: Benjamin Tissoires <bentiss@kernel.org >
Acked-by: Benjamin Tissoires <bentiss@kernel.org >
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Link: https://patchwork.freedesktop.org/patch/msgid/20230727101636.v4.1.Id68e30343bb1e11470582a9078b086176cfec46b@changeid
2023-08-01 07:34:34 -07:00
Krzysztof Kozlowski
84e85359f4
dt-bindings: drop redundant part of title (end, part three)
...
The Devicetree bindings document does not have to say in the title that
it is a "binding", but instead just describe the hardware.
Drop trailing "bindings" in various forms (also with trailing full
stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com > # ROHM
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org > # clk
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com > # input
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl > # media
Acked-by: Sebastian Reichel <sre@kernel.org > # power
Acked-by: Viresh Kumar <viresh.kumar@linaro.org > # cpufreq
Link: https://lore.kernel.org/r/20221216163815.522628-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-12-16 11:41:49 -06:00
Oleksij Rempel
ff7af0fe13
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 >
2021-05-25 13:05:25 -07:00
Rob Herring
32ada6b098
dt-bindings: Cleanup standard unit properties
...
Properties with standard unit suffixes already have a type and don't need
type definitions. They also default to a single entry, so 'maxItems: 1'
can be dropped.
adi,ad5758 is an oddball which defined an enum of arrays. While a valid
schema, it is simpler as a whole to only define scalar constraints.
Cc: Jean Delvare <jdelvare@suse.com >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Ulf Hansson <ulf.hansson@linaro.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Serge Semin <fancer.lancer@gmail.com >
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-input@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Wolfram Sang <wsa@kernel.org > # for I2C
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Sebastian Reichel <sre@kernel.org > # for power-supply
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for-iio
Acked-by: Alexandre TORGUE <alexandre.torgue@foss.st.com >
Link: https://lore.kernel.org/r/20210128194515.743252-1-robh@kernel.org
2021-01-29 16:36:06 -06:00
Rob Herring
6a0e321ea7
dt-bindings: Explicitly allow additional properties in common schemas
...
In order to add meta-schema checks for additional/unevaluatedProperties
being present, all schema need to make this explicit. As common/shared
schema are included by other schemas, they should always allow for
additionalProperties.
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Krzysztof Kozlowski <krzk@kernel.org >
Acked-by: Sebastian Reichel <sre@kernel.org >
Acked-by: Chanwoo Choi <cw00.choi@samsung.com >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Link: https://lore.kernel.org/r/20201005183830.486085-5-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2020-10-07 11:30:06 -05:00
Rob Herring
f516fb704d
dt-bindings: Whitespace clean-ups in schema files
...
Clean-up incorrect indentation, extra spaces, long lines, and missing
EOF newline in schema files. Most of the clean-ups are for list
indentation which should always be 2 spaces more than the preceding
keyword.
Found with yamllint (which I plan to integrate into the checks).
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-clk@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-spi@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-remoteproc@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: netdev@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-08-14 08:55:58 -06:00
Benjamin Gaignard
1d6204e2f5
dt-bindings: touchscreen: Add touchscreen schema
...
Add touchscreen schema for common properties
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200108091118.5130-2-benjamin.gaignard@st.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2020-01-27 14:26:09 -08:00