diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-05-14 14:22:09 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-14 19:40:06 -0400 |
commit | f09f98d3240b7ed2dd84ef6d84ff86df9d61e0f5 (patch) | |
tree | 868ecf353dd23426271b88dc39a16c29f1d4d2a2 /drivers/input/touchscreen/Kconfig | |
parent | 6decea7c5438e2955f64e2513ec9a2fac7602a7d (diff) |
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 | |||
900 | config TOUCHSCREEN_SUN4I | 900 | config TOUCHSCREEN_SUN4I |
901 | tristate "Allwinner sun4i resistive touchscreen controller support" | 901 | tristate "Allwinner sun4i resistive touchscreen controller support" |
902 | depends on ARCH_SUNXI || COMPILE_TEST | 902 | depends on ARCH_SUNXI || COMPILE_TEST |
903 | depends on HWMON | ||
903 | help | 904 | help |
904 | This selects support for the resistive touchscreen controller | 905 | This selects support for the resistive touchscreen controller |
905 | found on Allwinner sunxi SoCs. | 906 | found on Allwinner sunxi SoCs. |