diff options
author | Julius Werner <jwerner@chromium.org> | 2021-01-15 17:45:04 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-01-19 23:43:47 +0000 |
commit | e1383d39d794278b6e88b1658c620ad016bef05d (patch) | |
tree | 41b2f2ce6239b0015aa9e92d38d58df67c18bbe2 /src/soc/intel/braswell/fadt.c | |
parent | 4338ae31949a67c39b6daeb4b74c6c876e3a9122 (diff) |
trogdor: Initialize BACKLIGHT_ENABLE to 0, only turn it on in payload
The BACKLIGHT_ENABLE pin on this board unfortunately defaults to a
pull-up on power on, meaning the backlight is immediately enabled. Best
we can do about that is to turn it off again early and wait until it is
actually correct in the panel power sequence to turn it back on.
Some panels want an explicit 80ms delay after training the eDP
connection before the backlight is turned on (this is probably just to
avoid temporary display artifacts, but whatever). We don't want to
busy-wait that extra time, so instead just delegate turning on that GPIO
to the payload (which is also in charge of the backlight PWM already).
Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: Id8dafbdcb40175fbc9205276eee698583b971873
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49495
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Diffstat (limited to 'src/soc/intel/braswell/fadt.c')
0 files changed, 0 insertions, 0 deletions