From: Hans de Goede Date: Wed, 14 May 2014 18:22:09 +0000 (-0700) Subject: Input: sun4i-ts - add support for temperature sensor X-Git-Tag: omap-for-v3.16/fixes-against-rc1~76^2^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f09f98d3240b7ed2dd84ef6d84ff86df9d61e0f5;p=pandora-kernel.git 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 Reviewed-by: Guenter Roeck Acked-by: Maxime Ripard Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed