diff options
author | Bo-Chen Chen <rex-bc.chen@mediatek.com> | 2022-11-30 14:47:41 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-12 13:54:24 +0000 |
commit | 49465167a0050133315b54176d930f600ff12db5 (patch) | |
tree | 28e977917e74de15cdd0922925429a800fd86d90 /src/mainboard/google/geralt/gpio.h | |
parent | 80f38227cf69c7e619dd039717f6cbd0c11437c5 (diff) |
mb/google/geralt: Put MIPI panel data in panel_geralt.c
There are eDP and MIPI panels supported in geralt. We put the panels'
specified functions - `power_on()` and `configure_panel_backlight()` in
panel_geralt.c. Also provide the common interface `get_active_panel()`
in panel.c to generalize the display initialization. Since each board
may support a different set of MIPI panels, we put the MIPI data in a
separate file panel_geralt.c.
BUG=b:244208960
TEST=emerge-geralt coreboot
Change-Id: Ie928759e020a916f29f0364201a3cf202dc512c3
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70404
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/geralt/gpio.h')
-rw-r--r-- | src/mainboard/google/geralt/gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/gpio.h b/src/mainboard/google/geralt/gpio.h index 1840f21860..5f55917664 100644 --- a/src/mainboard/google/geralt/gpio.h +++ b/src/mainboard/google/geralt/gpio.h @@ -18,6 +18,8 @@ #define GPIO_EDP_HPD_1V8 GPIO(GPIO17) #define GPIO_EN_PP3300_EDP_DISP_X GPIO(DSI1_LCM_RST) +#define GPIO_MIPI_PANEL_BL_PWM GPIO(DISP_PWM0) + void setup_chromeos_gpios(void); #endif |