@@ -126,11 +126,11 @@ config SENSORS_TPS40422
be called tps40422.
config SENSORS_UCD9000
- tristate "TI UCD90120, UCD90124, UCD9090, UCD90910"
+ tristate "TI UCD90120, UCD90124, UCD9090, UCD90910, UCD90160"
default n
help
If you say yes here you get hardware monitoring support for TI
- UCD90120, UCD90124, UCD9090, UCD90910 Sequencer and System Health
+ UCD90120, UCD90124, UCD9090, UCD90910, UCD90160 Sequencer and System Health
Controllers.
This driver can also be built as a module. If so, the module will
@@ -31,7 +31,7 @@
#include <linux/of.h>
#endif
-enum chips { ucd9000, ucd90120, ucd90124, ucd9090, ucd90910 };
+enum chips { ucd9000, ucd90120, ucd90124, ucd9090, ucd90910, ucd90160 };
#define UCD9000_MONITOR_CONFIG 0xd5
#define UCD9000_NUM_PAGES 0xd6
@@ -118,6 +118,7 @@ static struct of_device_id ucd9000_dt_match[] = {
{ .compatible = "ti,ucd90124", .data = (void *)ucd90124 },
{ .compatible = "ti,ucd9090", .data = (void *)ucd9090 },
{ .compatible = "ti,ucd90910", .data = (void *)ucd90910 },
+ { .compatible = "ti,ucd90160", .data = (void *)ucd90160 },
{ }
};
#endif
@@ -129,6 +130,7 @@ static const struct i2c_device_id ucd9000_id[] = {
{"ucd90124", ucd90124},
{"ucd9090", ucd9090},
{"ucd90910", ucd90910},
+ {"ucd90160", ucd90160},
{}
};
MODULE_DEVICE_TABLE(i2c, ucd9000_id);