diff options
Diffstat (limited to 'drivers/hwmon/jc42.c')
-rw-r--r-- | drivers/hwmon/jc42.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index 28c09eead36b..08430ecb306a 100644 --- a/drivers/hwmon/jc42.c +++ b/drivers/hwmon/jc42.c | |||
@@ -113,6 +113,12 @@ static const unsigned short normal_i2c[] = { | |||
113 | #define STTS424E_DEVID 0x0000 | 113 | #define STTS424E_DEVID 0x0000 |
114 | #define STTS424E_DEVID_MASK 0xfffe | 114 | #define STTS424E_DEVID_MASK 0xfffe |
115 | 115 | ||
116 | #define STTS2002_DEVID 0x0300 | ||
117 | #define STTS2002_DEVID_MASK 0xffff | ||
118 | |||
119 | #define STTS3000_DEVID 0x0200 | ||
120 | #define STTS3000_DEVID_MASK 0xffff | ||
121 | |||
116 | static u16 jc42_hysteresis[] = { 0, 1500, 3000, 6000 }; | 122 | static u16 jc42_hysteresis[] = { 0, 1500, 3000, 6000 }; |
117 | 123 | ||
118 | struct jc42_chips { | 124 | struct jc42_chips { |
@@ -133,6 +139,8 @@ static struct jc42_chips jc42_chips[] = { | |||
133 | { NXP_MANID, SE98_DEVID, SE98_DEVID_MASK }, | 139 | { NXP_MANID, SE98_DEVID, SE98_DEVID_MASK }, |
134 | { STM_MANID, STTS424_DEVID, STTS424_DEVID_MASK }, | 140 | { STM_MANID, STTS424_DEVID, STTS424_DEVID_MASK }, |
135 | { STM_MANID, STTS424E_DEVID, STTS424E_DEVID_MASK }, | 141 | { STM_MANID, STTS424E_DEVID, STTS424E_DEVID_MASK }, |
142 | { STM_MANID, STTS2002_DEVID, STTS2002_DEVID_MASK }, | ||
143 | { STM_MANID, STTS3000_DEVID, STTS3000_DEVID_MASK }, | ||
136 | }; | 144 | }; |
137 | 145 | ||
138 | /* Each client has this additional data */ | 146 | /* Each client has this additional data */ |
@@ -171,6 +179,8 @@ static const struct i2c_device_id jc42_id[] = { | |||
171 | { "se97b", 0 }, | 179 | { "se97b", 0 }, |
172 | { "se98", 0 }, | 180 | { "se98", 0 }, |
173 | { "stts424", 0 }, | 181 | { "stts424", 0 }, |
182 | { "stts2002", 0 }, | ||
183 | { "stts3000", 0 }, | ||
174 | { "tse2002b3", 0 }, | 184 | { "tse2002b3", 0 }, |
175 | { "ts3000b3", 0 }, | 185 | { "ts3000b3", 0 }, |
176 | { } | 186 | { } |