diff options
author | Mario Scheithauer <mario.scheithauer@siemens.com> | 2023-09-08 09:10:15 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-09-13 13:12:38 +0000 |
commit | 90e1346d510e7a8b7bd541144c545b7b9bc91b5d (patch) | |
tree | 8cdfe39fa126f1778d9966765708e3dc66705bf8 /src/mainboard | |
parent | b8a71b46fb428578691cdceeaa73812db7d9fe7f (diff) |
mb/siemens/mc_ehl5: Enable PWM passthrough mode on PTN3460
The connected panel on this mainboard gets the PWM frequency directly
from the Elkhart Lake CPU. The PWM controls the brightness of the
backlight. Therefore, it is necessary to activate the PWM passthrough
mode in the PTN3460 eDP-to-LVDS bridge (see PTN3460 Programming Guide -
5. Configuration Registers).
Link to PTN3460 Programming Guide:
https://web.archive.org/web/20230908074244/https://www.nxp.com/docs/en/application-note/AN11128.pdf
BUG=none
TEST=Boot into Linux and change the brightness of the screen
Change-Id: Iec9d8ae22fced40c45e5bfa8989ad655a722d7ef
Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77702
Reviewed-by: Jan Samek <jan.samek@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/siemens/mc_ehl/variants/mc_ehl5/lcd_panel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl5/lcd_panel.c b/src/mainboard/siemens/mc_ehl/variants/mc_ehl5/lcd_panel.c index 0b68ed7e86..f3c5bd5608 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl5/lcd_panel.c +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl5/lcd_panel.c @@ -90,6 +90,8 @@ enum cb_err mainboard_ptn3460_config(struct ptn_3460_config *cfg) cfg->t5_delay = 0x01; /* Enable backlight control. */ cfg->backlight_ctrl = 0x00; + /* Enable PWMI passthrough mode. */ + cfg->pin_cfg_ctrl1 = 0x10; return CB_SUCCESS; } |