The attached patch adds a register table for the IT8500 embedded controller. Here is a sample of the output:

 

superiotool r5679                          

Found ITE IT8500 (id=0x8500, rev=0x1) at 0x2e

Register dump:

idx 20 21 22 23 25 2d 2e 2f  30

val 85 00 01 01 00 00 00 00  01

def 85 00 01 01 00 00 NA NA  00

LDN 0x04 (System Wake-Up Control (SWUC))

idx 30 60 61 62 63 70 71

val 01 00 00 00 00 00 01

def 00 00 00 00 00 00 01

LDN 0x05 (KBC/Mouse Interface)

idx 30 60 61 62 63 70 71

val 01 00 00 00 00 0c 01

def 00 00 00 00 00 0c 01

LDN 0x06 (KBC/Keyboard Interface)

idx 30 60 61 62 63 70 71

val 01 00 60 00 64 01 01

def 00 00 60 00 64 01 01

LDN 0x0f (Shared Memory/Flash Interface (SMFI))

idx 30 60 61 62 63 70 71 f4

val 01 02 00 00 00 00 00 09

def 00 00 00 00 00 00 00 NA

LDN 0x10 (BRAM)

idx 30 62 63 70 71 f3 f4 f5

val 01 05 00 08 01 00 3f 3f

def 00 00 72 08 01 NA NA NA

LDN 0x11 (Power Management I/F Channel 1 (PMC1))

idx 30 60 61 62 63 70 71

val 01 00 62 00 66 00 01

def 00 00 62 00 66 01 01

LDN 0x12 (Power Management I/F Channel 2 (PMC2))

idx 30 60 61 62 63 64 65 70  71 f0

val 01 00 80 00 84 04 00 02  01 00

def 00 00 68 00 6c 00 00 01  01 NA

Found SMSC SCH5317 (id=0x85, rev=0x00) at 0x2e

No dump available for this Super I/O

 

Signed-off by: Donald Huang (donald.huang@ite.com.tw)

Signed-off by: Yung-chieh Lo (yjlou@google.com)

Signed-off by: David Hendricks (dhendrix@google.com)