Add support to TI dra752 chips by adapting the driver
device table.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
.compatible = "ti,omap5430-bandgap",
.data = (void *)&omap5430_data,
},
.compatible = "ti,omap5430-bandgap",
.data = (void *)&omap5430_data,
},
+#endif
+#ifdef CONFIG_DRA752_THERMAL
+ {
+ .compatible = "ti,dra752-bandgap",
+ .data = (void *)&dra752_data,
+ },
#endif
/* Sentinel */
{ },
#endif
/* Sentinel */
{ },
#define omap5430_data NULL
#endif
#define omap5430_data NULL
#endif
+#ifdef CONFIG_DRA752_THERMAL
+extern const struct ti_bandgap_data dra752_data;
+#else
+#define dra752_data NULL
+#endif