summaryrefslogtreecommitdiff
path: root/util/superiotool
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2018-12-14 19:24:44 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-01-22 17:22:50 +0000
commitd8eadffc7b1792efeab5cac714fd369c558734a7 (patch)
tree149615556bd481c4995a0dd20f100082792fe412 /util/superiotool
parent8db8a6154fd5ae78a8e183f5ddc5ae9e6141dfe7 (diff)
downloadcoreboot-d8eadffc7b1792efeab5cac714fd369c558734a7.tar.gz
superiotool: add IT8772F register dump
Values as per "IT8772E Preliminary Specification V0.4 (For F Version)". Some values are unclear on this document, but is the only one I have. Change-Id: I6d74984f453c47d6ec71963a7dcab961a22a5964 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/30224 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/superiotool')
-rw-r--r--util/superiotool/ite.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/util/superiotool/ite.c b/util/superiotool/ite.c
index 2e21e80f4a..4e82845b39 100644
--- a/util/superiotool/ite.c
+++ b/util/superiotool/ite.c
@@ -942,6 +942,49 @@ static const struct superio_registers reg_table[] = {
{0x8761, "IT8761E", {
{EOT}}},
{0x8772, "IT8772F", {
+ {NOLDN, NULL,
+ {0x20,0x21,0x22,0x23,0x24,0x2e,0x2f,EOT},
+ {0x87,0x72,0x02,0x00,0x00,0x00,0x00,EOT}},
+ {0x1, "COM1",
+ {0x30,0x60,0x61,0x70,0xf0,0xf1,EOT},
+ {0x00,0x03,0xf8,0x04,0x00,0x50,EOT}},
+ {0x4, "Environment controller",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0xf0,0xf1,0xf2,
+ 0xf3,0xf4,0xf5,0xf6,0xf9,0xfa,0xfb,EOT},
+ {0x00,0x02,0x90,0x02,0x30,0x09,0x00,0x00,0x00,
+ 0x00,0x00,MISC,MISC,MISC,MISC,MISC,EOT}},
+ {0x5, "Keyboard",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0x71,0xf0,EOT},
+ {0x01,0x00,0x60,0x00,0x64,0x01,0x02,0x08,EOT}},
+ {0x6, "Mouse",
+ {0x30,0x70,0x71,0xf0,EOT},
+ {0x00,0x0c,0x02,0x00,EOT}},
+ {0x7, "GPIO",
+ {0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c, /* 25 .. 2c */
+ 0x60,0x61,0x62,0x63, /* 60 .. 64 */
+ 0x70,0x71,0x72,0x73,0x74, /* 70 .. 74 */
+ 0xb0,0xb1,0xb2,0xb3,0xb4, /* b0 .. b4 */
+ 0xb8,0xb9,0xba,0xbb,0xbc,0xbd, /* b8 .. bd */
+ 0xc0,0xc1,0xc2,0xc3,0xc4, /* c0 .. c4 */
+ 0xc8,0xc9,0xca,0xcb,0xcc,0xcd, /* c8 .. cd */
+ 0xe0,0xe1,0xe2,0xe3,0xe4,0xe9, /* e0 .. e9 */
+ 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5, /* f0 .. f5 */
+ 0xf6,0xf7,0xf8,0xf9,0xfa,0xfb, /* f6 .. fb */
+ EOT},
+ {0x00,0xf3,0x00,0x00,0x00,0x00,MISC,0x01, /* 25 .. 2c */
+ 0x00,0x00,0x00,0x00, /* 60 .. 64 */
+ 0x00,0x00,0x20,0x38,0x00, /* 70 .. 74 */
+ 0x00,0x00,0x00,0x00,0x00, /* b0 .. b4 */
+ 0x20,0x00,0x00,0x00,0x00,0x00, /* b8 .. bd */
+ 0x01,0x00,0x00,0x40,0x00, /* c0 .. c4 */
+ 0x01,0x00,0x00,0x00,0x00,0x00, /* c8 .. cd */
+ 0x00,0x00,0x00,0x00,0x00,MISC, /* e0 .. e9 */
+ 0x00,0x00,0x00,0x00,0x00,0x00, /* f0 .. f6 */
+ 0x00,0x00,0x00,0x00,0x00,0x00, /* f6 .. fb */
+ EOT}},
+ {0xa, "Consumer IR",
+ {0x30,0x60,0x61,0x70,0xf0,EOT},
+ {0x00,0x03,0x10,0x0b,0x06,EOT}},
{EOT}}},
{0x8780, "IT8780F", {
{EOT}}},