linux/drivers/thermal/ti-soc-thermal
Eduardo Valentin 2251aef64a thermal: of: improve of-thermal sensor registration API
Different drivers request API extensions in of-thermal. For this reason,
additional callbacks are required to fit the new drivers needs.

The current API implementation expects the registering sensor driver
to provide a get_temp and get_trend callbacks as function parameters.
As the amount of callbacks is growing, this patch changes the existing
implementation to use a .ops field to hold all the of thermal callbacks
to sensor drivers.

This patch also changes the existing of-thermal users to fit the new
API design. No functional change is introduced in this patch.

Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: devicetree@vger.kernel.org
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Jean Delvare <jdelvare@suse.de>
Cc: linux-kernel@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-tegra@vger.kernel.org
Cc: lm-sensors@lm-sensors.org
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Mikko Perttunen <mikko.perttunen@kapsi.fi>
Reviewed-by: Mikko Perttunen <mikko.perttunen@kapsi.fi>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2014-11-20 10:44:54 -04:00
..
dra752-bandgap.h thermal: ti-soc-thermal: add thermal data for DRA752 chips 2013-06-13 10:15:52 +08:00
dra752-thermal-data.c thermal: ti-soc-thermal: Initialize counter_delay field for TI DRA752 sensors 2013-08-29 09:36:13 -04:00
Kconfig thermal: ti-soc-thermal: add thermal data for DRA752 chips 2013-06-13 10:15:52 +08:00
Makefile thermal: ti-soc-thermal: add thermal data for DRA752 chips 2013-06-13 10:15:52 +08:00
omap4-thermal-data.c
omap4xxx-bandgap.h
omap5-thermal-data.c
omap5xxx-bandgap.h
ti-bandgap.c thermal: ti-soc-thermal: ti-bandgap.c: Cleaning up wrong address is checked 2014-07-01 09:52:35 +08:00
ti-bandgap.h thermal: ti-soc-thermal: add dra752 chip to device table 2013-06-13 10:16:07 +08:00
ti-thermal-common.c thermal: of: improve of-thermal sensor registration API 2014-11-20 10:44:54 -04:00
ti-thermal.h thermal: ti-soc-thermal: add thermal data for DRA752 chips 2013-06-13 10:15:52 +08:00
TODO