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>
This commit is contained in:
parent
b8a71b46fb
commit
90e1346d51
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue