gaze18-40x0: Let PCH handle panel

This commit is contained in:
Jeremy Soller
2023-02-10 09:56:35 -07:00
parent ef6ea32c37
commit bc111b7a4b

View File

@ -59,10 +59,11 @@ void gpio_init() {
// Set GPIO data // Set GPIO data
GPDRA = 0; GPDRA = 0;
// XLP_OUT // BL_PWM_EN_EC, XLP_OUT
GPDRB = BIT(4); GPDRB = BIT(5) | BIT(4);
GPDRC = 0; GPDRC = 0;
GPDRD = 0; // PLVDD_RST_EC
GPDRD = BIT(4);
GPDRE = 0; GPDRE = 0;
// PCH_DPWROK_EC // PCH_DPWROK_EC
GPDRF = BIT(3); GPDRF = BIT(3);
@ -86,7 +87,7 @@ void gpio_init() {
// CPU_FAN // CPU_FAN
GPCRA2 = GPIO_ALT; GPCRA2 = GPIO_ALT;
// DDS_EC_PWM // DDS_EC_PWM
GPCRA3 = GPIO_ALT; GPCRA3 = GPIO_IN;
// VGA_FAN // VGA_FAN
GPCRA4 = GPIO_ALT; GPCRA4 = GPIO_ALT;
// EC_PWM_LEDKB_R // EC_PWM_LEDKB_R