diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2015-09-21 17:32:15 -0700 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-09-29 14:13:19 -0700 |
commit | b840b6e65cbe2b84ec398bb286d121a9eb2597ee (patch) | |
tree | 323351f572b75f377138e6bb56815d5fd6eef1e1 /drivers/thermal/ti-soc-thermal/ti-bandgap.h | |
parent | 9c5c87e5936e792ddca5cb876d523b6e5d6042e6 (diff) | |
download | op-kernel-dev-b840b6e65cbe2b84ec398bb286d121a9eb2597ee.zip op-kernel-dev-b840b6e65cbe2b84ec398bb286d121a9eb2597ee.tar.gz |
thermal: ti-soc-thermal: add OMAP36xx support
Add OMAP36xx support to ti-soc-thermal driver. This
chip is also unreliable. The data provided here is
based on OMAP36xx TRM:
http://www.ti.com/lit/ug/swpu177aa/swpu177aa.pdf
Signed-off-by: Eduardo Valentin <edubezva@gmail.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal/ti-bandgap.h')
-rw-r--r-- | drivers/thermal/ti-soc-thermal/ti-bandgap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.h b/drivers/thermal/ti-soc-thermal/ti-bandgap.h index 045f642..fe0adb8 100644 --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.h +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.h @@ -395,8 +395,10 @@ int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend); #ifdef CONFIG_OMAP3_THERMAL extern const struct ti_bandgap_data omap34xx_data; +extern const struct ti_bandgap_data omap36xx_data; #else #define omap34xx_data NULL +#define omap36xx_data NULL #endif #ifdef CONFIG_OMAP4_THERMAL |