mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
thermal: ti-soc-thermal: add dra752 chip to device table
Add support to TI dra752 chips by adapting the driver device table. Cc: Zhang Rui <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Eduardo Valentin <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
This commit is contained in:
parent
8926fa4f9b
commit
25870e6234
2 changed files with 11 additions and 0 deletions
|
|
@ -1530,6 +1530,12 @@ static const struct of_device_id of_ti_bandgap_match[] = {
|
|||
.compatible = "ti,omap5430-bandgap",
|
||||
.data = (void *)&omap5430_data,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_DRA752_THERMAL
|
||||
{
|
||||
.compatible = "ti,dra752-bandgap",
|
||||
.data = (void *)&dra752_data,
|
||||
},
|
||||
#endif
|
||||
/* Sentinel */
|
||||
{ },
|
||||
|
|
|
|||
|
|
@ -400,4 +400,9 @@ extern const struct ti_bandgap_data omap5430_data;
|
|||
#define omap5430_data NULL
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DRA752_THERMAL
|
||||
extern const struct ti_bandgap_data dra752_data;
|
||||
#else
|
||||
#define dra752_data NULL
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue