UPSTREAM: google/scarlet: Adjust K&D power sequence from software

Hardware updates have suggested we need to configure the K&D panel's
power sequence in software, not in hardware. Without this change, K&D
panels will no longer power on correctly and will instead display a
black screen.

Per K&D's suggestion, we tweak these two commands. From the little HW
docs I have, this looks like it's:

(Address 0xB7, Value 0x02) -> set BC_CTRL=bit(1) (Back light control) to
                              1
(Address 0xF1, Value 0x22) -> change GPO2_SEL=bits(0:3) from
                              MIPI_TE(0001b) to BC_CTRL (0010b)

BRANCH=scarlet
BUG=b:73133861
TEST=KD display with and without HW fix on Scarlet

Change-Id: Ia076a378b10417dd9891746f9bc1086360a0f6e6
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: cc761e84af6b94795a7eae8ed476e93b687d47d2
Original-Change-Id: Ia076a378b10417dd9891746f9bc1086360a0f6e6
Original-Signed-off-by: Brian Norris <briannorris@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/25023
Original-Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Original-Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-on: https://chromium-review.googlesource.com/953383
Commit-Queue: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
1 file changed