summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t440p/devicetree.cb
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-01-30 19:19:37 +0800
committerAlexander Couzens <lynxis@fe80.eu>2020-02-03 04:03:03 +0000
commite127a8711f71067979211d53d4b855a353344f50 (patch)
treedff8eccc253772f8cacf35c3793068ed2bd71564 /src/mainboard/lenovo/t440p/devicetree.cb
parent1ab6f0c176c1aa6947bf0d3fbe0a213f316e9c67 (diff)
downloadcoreboot-e127a8711f71067979211d53d4b855a353344f50.tar.xz
lenovo/t440p: fix keyboard backlight
It is found that keyboard backlight in T440p is enabled by clearing bit 3 of EC RAM 0x01. This patch sets has_keyboard_backlight in devicetree.cb and also corrects the CMOS configuration. Change-Id: Ib4c2b1591d26e2bb33f9549e3933efe9a6e0b043 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38650 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Dennis Witzig <dennis@wtzg.de> Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo/t440p/devicetree.cb')
-rw-r--r--src/mainboard/lenovo/t440p/devicetree.cb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t440p/devicetree.cb b/src/mainboard/lenovo/t440p/devicetree.cb
index 7e5e616d03..b63767e808 100644
--- a/src/mainboard/lenovo/t440p/devicetree.cb
+++ b/src/mainboard/lenovo/t440p/devicetree.cb
@@ -83,6 +83,7 @@ chip northbridge/intel/haswell
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"