summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-12-10 19:24:17 +0100
committerArthur Heymans <arthur@aheymans.xyz>2017-12-12 12:05:14 +0000
commitcda1c4a521918056cfb4f1fc4f6a259e58fe0260 (patch)
treeb33f5928712ddfc0f3d6f131520925b5d4b551d2
parent82049cb850af50428cc6841f65f72bb8f902be9f (diff)
downloadcoreboot-cda1c4a521918056cfb4f1fc4f6a259e58fe0260.tar.xz
mb/lenovo/t400/blc.c: Add a new panel to the list
Also adds a comment in the code to clarify what this array is about. Change-Id: I04b185a5dbd7a7ccb039820f19d2cb549b9a2eac Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/22809 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
-rw-r--r--src/mainboard/lenovo/t400/blc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t400/blc.c b/src/mainboard/lenovo/t400/blc.c
index a88c09fa8c..38a1df2782 100644
--- a/src/mainboard/lenovo/t400/blc.c
+++ b/src/mainboard/lenovo/t400/blc.c
@@ -17,6 +17,10 @@
#include <commonlib/helpers.h>
#include <northbridge/intel/gm45/gm45.h>
+/*
+ * This contains a list of panel IDs and a known well working
+ * backlight PWM frequency.
+ */
static const struct blc_pwm_t blc_entries[] = {
/* Vendor BIOS seems to intend to set PWM freq at 220Hz */
/* T400 */
@@ -32,6 +36,7 @@ static const struct blc_pwm_t blc_entries[] = {
{"LTN154P2-L05", 110},
{"LTN154P3-L02", 110},
{"LTN154X3-L02", 110},
+ {"LTN154U2-L05", 110},
};
int get_blc_values(const struct blc_pwm_t **entries)