coreboot-kgpe-d16/src
Bo-Chen Chen f57155bca4 mb/google/geralt: Pass GPIOs to allow backlight control in payloads
There are two ways to control backlight in geralt:
1. MIPI/eDP panel => control backlight via the GPIOs.
   (`backlight chip enable` and `PWM dimming control`)
2. eDP OLED panel => enable backlight via `backlight chip enable` and
   control dimming over AUX.

For MIPI/eDP panels(#1), both "backlight enable" and "PWM control" GPIOs
will be passed from coreboot. For eDP OLED panel(#2), only the
"backlight enable" GPIO will be passed. If depthcharge successfully gets
the GPIOs, it will use them to control backlight.

BUG=b:244208960
TEST=test firmware display pass for eDP and MIPI panels on MT8188 EVB

Change-Id: I866fa219722241008e2b0d566b29edf2f6d9321f
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70744
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-12-16 17:04:35 +00:00
..
acpi acpi/acpi.c: Add a method to generate IOAPIC DMAR entries from hw 2022-12-06 17:44:20 +00:00
arch cpu/cpu.h: Change the function signature 2022-12-10 17:54:53 +00:00
commonlib mem_chip_info: Fix potential overflow 2022-12-15 02:53:45 +00:00
console console/post.c: Sort includes 2022-10-27 15:46:39 +00:00
cpu cpu/x86/mtrr: rename local cpu_idx variable and make it const 2022-12-16 00:30:12 +00:00
device device/cpu_device.c: Zero initialize struct 2022-12-14 13:52:00 +00:00
drivers drivers/i2c/designware/dw_i2c: handle bus < 0 in dw_i2c_dev_transfer 2022-12-16 15:33:00 +00:00
ec ec/kontron/it8516e/acpi: Replace Store(a,b) with ASL 2.0 syntax 2022-12-16 00:59:41 +00:00
include soc/intel/{adl, common}: provide a list of D-states to enter LPM 2022-12-15 16:53:51 +00:00
lib lib/ramtest.c: Use {read,write}32p() 2022-12-10 00:01:05 +00:00
mainboard mb/google/geralt: Pass GPIOs to allow backlight control in payloads 2022-12-16 17:04:35 +00:00
northbridge nb/intel/sandybridge/sandybridge.h: Remove unnecessary guard 2022-12-15 03:13:11 +00:00
sbom
security security/vboot: Update vbnv_init signature 2022-12-16 01:23:03 +00:00
soc soc/amd/common/block/i2c: don't call die() when MMIO address is NULL 2022-12-16 15:32:02 +00:00
southbridge treewide: Remove unused 'include <arch/io.h>' 2022-12-15 13:37:41 +00:00
superio sio/winbond/w83627hf/acpi: Replace Store(a,b) with ASL 2.0 syntax 2022-12-14 00:53:57 +00:00
vendorcode vc/intel/fsp/mtl: Update header files from 2404_00 to 2431_80 2022-12-14 06:47:47 +00:00
Kconfig build: List all Kconfigs in CBFS config file, compress it 2022-11-18 17:19:44 +00:00