Searched hist:f09f98d3240b7ed2dd84ef6d84ff86df9d61e0f5 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/input/touchscreen/ |
H A D | sun4i-ts.c | diff f09f98d3240b7ed2dd84ef6d84ff86df9d61e0f5 Wed May 14 20:22:09 CEST 2014 Hans de Goede <hdegoede@redhat.com> 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>
|