aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-04-16 01:07:30 -0400
committerGuenter Roeck <linux@roeck-us.net>2014-05-21 19:02:25 -0400
commit175c490c9e7f75dbe6addd937c41939c137c6847 (patch)
tree6b4a92d620258364240b6755aed8d3e3bc9120be /drivers/hwmon
parent10192bc654bdfd76ece980f2f6b9056c5919e8a8 (diff)
hwmon: (jc42) Add support for STTS2004 and AT30TSE004
Also fix links to datasheets for other supported sensors from ST Microelectronics, and add links to several Atmel datasheets. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/jc42.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c
index baa912a3ba75..388f8bcd898e 100644
--- a/drivers/hwmon/jc42.c
+++ b/drivers/hwmon/jc42.c
@@ -65,6 +65,7 @@ static const unsigned short normal_i2c[] = {
65/* Manufacturer IDs */ 65/* Manufacturer IDs */
66#define ADT_MANID 0x11d4 /* Analog Devices */ 66#define ADT_MANID 0x11d4 /* Analog Devices */
67#define ATMEL_MANID 0x001f /* Atmel */ 67#define ATMEL_MANID 0x001f /* Atmel */
68#define ATMEL_MANID2 0x1114 /* Atmel */
68#define MAX_MANID 0x004d /* Maxim */ 69#define MAX_MANID 0x004d /* Maxim */
69#define IDT_MANID 0x00b3 /* IDT */ 70#define IDT_MANID 0x00b3 /* IDT */
70#define MCP_MANID 0x0054 /* Microchip */ 71#define MCP_MANID 0x0054 /* Microchip */
@@ -82,6 +83,9 @@ static const unsigned short normal_i2c[] = {
82#define AT30TS00_DEVID 0x8201 83#define AT30TS00_DEVID 0x8201
83#define AT30TS00_DEVID_MASK 0xffff 84#define AT30TS00_DEVID_MASK 0xffff
84 85
86#define AT30TSE004_DEVID 0x2200
87#define AT30TSE004_DEVID_MASK 0xffff
88
85/* IDT */ 89/* IDT */
86#define TS3000B3_DEVID 0x2903 /* Also matches TSE2002B3 */ 90#define TS3000B3_DEVID 0x2903 /* Also matches TSE2002B3 */
87#define TS3000B3_DEVID_MASK 0xffff 91#define TS3000B3_DEVID_MASK 0xffff
@@ -130,6 +134,9 @@ static const unsigned short normal_i2c[] = {
130#define STTS2002_DEVID 0x0300 134#define STTS2002_DEVID 0x0300
131#define STTS2002_DEVID_MASK 0xffff 135#define STTS2002_DEVID_MASK 0xffff
132 136
137#define STTS2004_DEVID 0x2201
138#define STTS2004_DEVID_MASK 0xffff
139
133#define STTS3000_DEVID 0x0200 140#define STTS3000_DEVID 0x0200
134#define STTS3000_DEVID_MASK 0xffff 141#define STTS3000_DEVID_MASK 0xffff
135 142
@@ -144,6 +151,7 @@ struct jc42_chips {
144static struct jc42_chips jc42_chips[] = { 151static struct jc42_chips jc42_chips[] = {
145 { ADT_MANID, ADT7408_DEVID, ADT7408_DEVID_MASK }, 152 { ADT_MANID, ADT7408_DEVID, ADT7408_DEVID_MASK },
146 { ATMEL_MANID, AT30TS00_DEVID, AT30TS00_DEVID_MASK }, 153 { ATMEL_MANID, AT30TS00_DEVID, AT30TS00_DEVID_MASK },
154 { ATMEL_MANID2, AT30TSE004_DEVID, AT30TSE004_DEVID_MASK },
147 { IDT_MANID, TS3000B3_DEVID, TS3000B3_DEVID_MASK }, 155 { IDT_MANID, TS3000B3_DEVID, TS3000B3_DEVID_MASK },
148 { IDT_MANID, TS3000GB2_DEVID, TS3000GB2_DEVID_MASK }, 156 { IDT_MANID, TS3000GB2_DEVID, TS3000GB2_DEVID_MASK },
149 { MAX_MANID, MAX6604_DEVID, MAX6604_DEVID_MASK }, 157 { MAX_MANID, MAX6604_DEVID, MAX6604_DEVID_MASK },
@@ -158,6 +166,7 @@ static struct jc42_chips jc42_chips[] = {
158 { STM_MANID, STTS424_DEVID, STTS424_DEVID_MASK }, 166 { STM_MANID, STTS424_DEVID, STTS424_DEVID_MASK },
159 { STM_MANID, STTS424E_DEVID, STTS424E_DEVID_MASK }, 167 { STM_MANID, STTS424E_DEVID, STTS424E_DEVID_MASK },
160 { STM_MANID, STTS2002_DEVID, STTS2002_DEVID_MASK }, 168 { STM_MANID, STTS2002_DEVID, STTS2002_DEVID_MASK },
169 { STM_MANID, STTS2004_DEVID, STTS2004_DEVID_MASK },
161 { STM_MANID, STTS3000_DEVID, STTS3000_DEVID_MASK }, 170 { STM_MANID, STTS3000_DEVID, STTS3000_DEVID_MASK },
162}; 171};
163 172