forked from Minki/linux
hwmon: (jc42) Add support for Microchip MCP9808 temperature sensor
MCP9808 is not officially compliant to JC-42, similar to MCP9804, but its registers are compatible to JC-42. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
9ad0df1ada
commit
a31887dc9b
@ -18,10 +18,11 @@ Supported chips:
|
|||||||
* Maxim MAX6604
|
* Maxim MAX6604
|
||||||
Datasheets:
|
Datasheets:
|
||||||
http://datasheets.maxim-ic.com/en/ds/MAX6604.pdf
|
http://datasheets.maxim-ic.com/en/ds/MAX6604.pdf
|
||||||
* Microchip MCP9804, MCP9805, MCP98242, MCP98243, MCP98244, MCP9843
|
* Microchip MCP9804, MCP9805, MCP9808, MCP98242, MCP98243, MCP98244, MCP9843
|
||||||
Datasheets:
|
Datasheets:
|
||||||
http://ww1.microchip.com/downloads/en/DeviceDoc/22203C.pdf
|
http://ww1.microchip.com/downloads/en/DeviceDoc/22203C.pdf
|
||||||
http://ww1.microchip.com/downloads/en/DeviceDoc/21977b.pdf
|
http://ww1.microchip.com/downloads/en/DeviceDoc/21977b.pdf
|
||||||
|
http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
|
||||||
http://ww1.microchip.com/downloads/en/DeviceDoc/21996a.pdf
|
http://ww1.microchip.com/downloads/en/DeviceDoc/21996a.pdf
|
||||||
http://ww1.microchip.com/downloads/en/DeviceDoc/22153c.pdf
|
http://ww1.microchip.com/downloads/en/DeviceDoc/22153c.pdf
|
||||||
http://ww1.microchip.com/downloads/en/DeviceDoc/22327A.pdf
|
http://ww1.microchip.com/downloads/en/DeviceDoc/22327A.pdf
|
||||||
|
@ -645,8 +645,8 @@ config SENSORS_JC42
|
|||||||
temperature sensors, which are used on many DDR3 memory modules for
|
temperature sensors, which are used on many DDR3 memory modules for
|
||||||
mobile devices and servers. Support will include, but not be limited
|
mobile devices and servers. Support will include, but not be limited
|
||||||
to, ADT7408, AT30TS00, CAT34TS02, CAT6095, MAX6604, MCP9804, MCP9805,
|
to, ADT7408, AT30TS00, CAT34TS02, CAT6095, MAX6604, MCP9804, MCP9805,
|
||||||
MCP98242, MCP98243, MCP98244, MCP9843, SE97, SE98, STTS424(E),
|
MCP9808, MCP98242, MCP98243, MCP98244, MCP9843, SE97, SE98,
|
||||||
STTS2002, STTS3000, TSE2002, TSE2004, TS3000, and TS3001.
|
STTS424(E), STTS2002, STTS3000, TSE2002, TSE2004, TS3000, and TS3001.
|
||||||
|
|
||||||
This driver can also be built as a module. If so, the module
|
This driver can also be built as a module. If so, the module
|
||||||
will be called jc42.
|
will be called jc42.
|
||||||
|
@ -104,6 +104,9 @@ static const unsigned short normal_i2c[] = {
|
|||||||
#define MCP9804_DEVID 0x0200
|
#define MCP9804_DEVID 0x0200
|
||||||
#define MCP9804_DEVID_MASK 0xfffc
|
#define MCP9804_DEVID_MASK 0xfffc
|
||||||
|
|
||||||
|
#define MCP9808_DEVID 0x0400
|
||||||
|
#define MCP9808_DEVID_MASK 0xfffc
|
||||||
|
|
||||||
#define MCP98242_DEVID 0x2000
|
#define MCP98242_DEVID 0x2000
|
||||||
#define MCP98242_DEVID_MASK 0xfffc
|
#define MCP98242_DEVID_MASK 0xfffc
|
||||||
|
|
||||||
@ -160,6 +163,7 @@ static struct jc42_chips jc42_chips[] = {
|
|||||||
{ IDT_MANID, TS3001_DEVID, TS3001_DEVID_MASK },
|
{ IDT_MANID, TS3001_DEVID, TS3001_DEVID_MASK },
|
||||||
{ MAX_MANID, MAX6604_DEVID, MAX6604_DEVID_MASK },
|
{ MAX_MANID, MAX6604_DEVID, MAX6604_DEVID_MASK },
|
||||||
{ MCP_MANID, MCP9804_DEVID, MCP9804_DEVID_MASK },
|
{ MCP_MANID, MCP9804_DEVID, MCP9804_DEVID_MASK },
|
||||||
|
{ MCP_MANID, MCP9808_DEVID, MCP9808_DEVID_MASK },
|
||||||
{ MCP_MANID, MCP98242_DEVID, MCP98242_DEVID_MASK },
|
{ MCP_MANID, MCP98242_DEVID, MCP98242_DEVID_MASK },
|
||||||
{ MCP_MANID, MCP98243_DEVID, MCP98243_DEVID_MASK },
|
{ MCP_MANID, MCP98243_DEVID, MCP98243_DEVID_MASK },
|
||||||
{ MCP_MANID, MCP98244_DEVID, MCP98244_DEVID_MASK },
|
{ MCP_MANID, MCP98244_DEVID, MCP98244_DEVID_MASK },
|
||||||
|
Loading…
Reference in New Issue
Block a user