[coreboot-gerrit] Change in coreboot[master]: util/superiotool: Add Winbond W83667HG register dump

Angel Pons (Code Review) gerrit at coreboot.org
Wed Aug 15 18:26:55 CEST 2018


Angel Pons has uploaded this change for review. ( https://review.coreboot.org/28099


Change subject: util/superiotool: Add Winbond W83667HG register dump
......................................................................

util/superiotool: Add Winbond W83667HG register dump

This SuperIO is supported by coreboot and used in two Asus boards. However,
superiotool was lacking a register dump for this chip. Add the corresponding
data form the datasheet into superiotool.

The SuperIO's datasheet was obtained by requesting it to Nuvoton.

Change-Id: Ie51dc492c761d9c3d4b6100017bb730b1ae6d1e0
Signed-off-by: Angel Pons <th3fanbus at gmail.com>
---
M util/superiotool/winbond.c
1 file changed, 69 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/28099/1

diff --git a/util/superiotool/winbond.c b/util/superiotool/winbond.c
index fce860d..571a2e0 100644
--- a/util/superiotool/winbond.c
+++ b/util/superiotool/winbond.c
@@ -296,7 +296,75 @@
 			{0x00,0x02,0xe8,0x03,0x00,EOT}},
 		{EOT}}},
 	{0xa51, "W83667HG", {
-		/* See also: http://lists.lm-sensors.org/pipermail/lm-sensors/2008-July/023683.html */
+		{NOLDN, NULL,
+			{0x02,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
+			 0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+			{0x00,0xb3,NANA,0xff,0x00,MISC,0x00,MISC,0xff,0x20,
+			 0x00,0x00,0x7f,0x0a,0x08,0x00,MISC,EOT}},
+		{0x0, "Floppy",
+			{0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,0xf5,
+			 EOT},
+			{0x01,0x03,0xf0,0x06,0x02,0x8e,0x00,0xff,0x00,0x00,
+			 EOT}},
+		{0x1, "Parallel port",
+			{0x30,0x60,0x61,0x70,0x74,0xf0,EOT},
+			{0x01,0x03,0x78,0x07,0x04,0x3f,EOT}},
+		{0x2, "COM1",
+			{0x30,0x60,0x61,0x70,0xf0,EOT},
+			{0x01,0x03,0xf8,0x04,0x00,EOT}},
+		{0x3, "COM2",
+			{0x30,0x60,0x61,0x70,0xf0,0xf1,EOT},
+			{0x01,0x02,0xf8,0x03,0x00,0x00,EOT}},
+		{0x5, "Keyboard",
+			{0x30,0x60,0x61,0x62,0x63,0x70,0x72,0xf0,EOT},
+			{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x83,EOT}},
+		{0x6, "Serial peripheral interface",
+			{0x30,0x62,0x63,EOT},
+			{0x00,0x00,0x00,EOT}},
+		{0x7, "GPIO 6, GPIO 7, GPIO 8, GPIO 9",
+			{0x30,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,
+			 0xe9,0xea,0xeb,0xec,0xed,0xee,0xf4,0xf5,0xf6,0xf7,
+			 0xf8,EOT},
+			{0x18,0xff,0x00,0x00,0x00,0xef,0x00,0x00,0x00,0xff,
+			 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
+			 0x00,EOT}},
+		{0x8, "WDTO#, GPIO 1",
+			{0x30,0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,EOT},
+			{0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
+		{0x9, "GPIO 2, GPIO 3, GPIO 4, GPIO 5",
+			{0x30,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,
+			 0xe9,0xea,0xeb,0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,
+			 0xf7,0xfe,EOT},
+			{0x05,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
+			 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,
+			 0x00,0x00,EOT}},
+		{0xa, "ACPI",
+			{0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,
+			 0xf2,0xf3,0xf4,0xf6,0xf7,0xfe,0xff,EOT},
+			{0x01,0x00,0xff,0x00,0x00,0x02,0x1c,0x00,RSVD,0x00,
+			 0x7c,0x00,0x00,0x00,0x00,0x00,0x30,EOT}},
+		{0xb, "Hardware monitor, SB-TSI",
+			{0x30,0x60,0x61,0x70,0xe0,0xe1,0xe2,0xe3,0xe4,0xf0,
+			 0xf5,EOT},
+			{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC1,
+			 0x10,EOT}},
+		{0xc, "PECI",
+			{0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe8,0xe9,0xea,
+			 0xec,0xee,0xef,0xf1,0xf2,0xf3,0xfe,0xff,EOT},
+			{0x00,0x48,0x48,0x48,0x48,0x00,0x00,0x00,RSVD,0x00,
+			 0x00,0x01,0x5a,0x48,0x50,0x10,0x80,0x01,EOT}},
+		{0xd, "VID",
+			{0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xec,
+			 0xed,0xee,0xef,0xf3,EOT},
+			{0x00,0x00,NANA,NANA,0x07,RSVD,RSVD,RSVD,RSVD,0x01,
+			 RSVD,0x88,0x00,0x04,EOT}},
+		{0xf, "GPIO Push-Pull or Open-Drain selection",
+			{0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,
+			 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,
+			 0xfa,0xfb,0xfc,0xfd,0xfe,0xff,EOT},
+			{0xff,0xff,0xfd,0xff,0xf7,0xcb,0x3f,0xff,0xff,0x00,
+			 NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,
+			 NANA,NANA,NANA,NANA,NANA,NANA,EOT}},
 		{EOT}}},
 	{0xb07, "W83627DHG-P/-PT", {
 		{NOLDN, NULL,

-- 
To view, visit https://review.coreboot.org/28099
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie51dc492c761d9c3d4b6100017bb730b1ae6d1e0
Gerrit-Change-Number: 28099
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180815/b36ab697/attachment.html>


More information about the coreboot-gerrit mailing list