diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-05-14 11:22:09 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-14 16:40:06 -0700 |
commit | f09f98d3240b7ed2dd84ef6d84ff86df9d61e0f5 (patch) | |
tree | 868ecf353dd23426271b88dc39a16c29f1d4d2a2 /drivers/input/touchscreen/Kconfig | |
parent | 6decea7c5438e2955f64e2513ec9a2fac7602a7d (diff) | |
download | linux-f09f98d3240b7ed2dd84ef6d84ff86df9d61e0f5.tar.gz linux-f09f98d3240b7ed2dd84ef6d84ff86df9d61e0f5.tar.bz2 linux-f09f98d3240b7ed2dd84ef6d84ff86df9d61e0f5.zip |
Input: sun4i-ts - add support for temperature sensor
The sun4i resisitive touchscreen controller also comes with a built-in
temperature sensor. This commit adds support for it.
This commit also introduces a new "ts-attached" device-tree property,
when this is not set, the input part of the driver won't register. This way
the internal temperature sensor can be used to measure the SoC temperature
independent of there actually being a touchscreen attached to the controller.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/Kconfig')
-rw-r--r-- | drivers/input/touchscreen/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 41f8b596dc42..746d3c568e49 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -900,6 +900,7 @@ config TOUCHSCREEN_STMPE config TOUCHSCREEN_SUN4I tristate "Allwinner sun4i resistive touchscreen controller support" depends on ARCH_SUNXI || COMPILE_TEST + depends on HWMON help This selects support for the resistive touchscreen controller found on Allwinner sunxi SoCs. |