Iru Cai (vimacs) would like Iru Cai to review this change.

View Change

lenovo/t440p: fix keyboard backlight

Change-Id: Ib4c2b1591d26e2bb33f9549e3933efe9a6e0b043
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
---
M src/mainboard/lenovo/t440p/cmos.layout
M src/mainboard/lenovo/t440p/devicetree.cb
2 files changed, 5 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/38650/1
diff --git a/src/mainboard/lenovo/t440p/cmos.layout b/src/mainboard/lenovo/t440p/cmos.layout
index 8c5fb0b..e61886b 100644
--- a/src/mainboard/lenovo/t440p/cmos.layout
+++ b/src/mainboard/lenovo/t440p/cmos.layout
@@ -103,9 +103,10 @@
8 1 Primary
9 0 AHCI
9 1 Compatible
-10 0 Both
-10 1 Keyboard only
-10 2 Thinklight only
+# Haswell ThinkPads has no Thinklight
+#10 0 Both
+10 1 Keyboard
+#10 2 Thinklight only
10 3 None
#12 0 Integrated Only
#12 1 Discrete Only
diff --git a/src/mainboard/lenovo/t440p/devicetree.cb b/src/mainboard/lenovo/t440p/devicetree.cb
index 7e5e616..b63767e 100644
--- a/src/mainboard/lenovo/t440p/devicetree.cb
+++ b/src/mainboard/lenovo/t440p/devicetree.cb
@@ -83,6 +83,7 @@
register "config1" = "0x0d"
register "config2" = "0xa8"
register "config3" = "0xc4"
+ register "has_keyboard_backlight" = "1"
register "event2_enable" = "0xff"
register "event3_enable" = "0xff"
register "event4_enable" = "0xd0"

To view, visit change 38650. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib4c2b1591d26e2bb33f9549e3933efe9a6e0b043
Gerrit-Change-Number: 38650
Gerrit-PatchSet: 1
Gerrit-Owner: Iru Cai (vimacs) <mytbk920423@gmail.com>
Gerrit-Reviewer: Iru Cai <mytbk920423@gmail.com>
Gerrit-MessageType: newchange