From: Chen-Yu Tsai Date: Thu, 15 Jan 2015 18:26:32 +0000 (-0800) Subject: Input: sun4i-ts - add thermal zone sensor support X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~128^2^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=223697107949f90917cb3ea583c551fc18e6afb6;p=pandora-kernel.git Input: sun4i-ts - add thermal zone sensor support The touchscreen controller has a temperature sensor embedded in the SoC, which already has hwmon support in the driver. Add DT thermal zone support so we can use it with cpufreq for thermal throttling. This also adds a comment stating that we do not know the actual formula for calculating the temperature. Signed-off-by: Chen-Yu Tsai Acked-by: Eduardo Valentin Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed