From 18617bf21b22126f3f6761c5e0c35010362d791e Mon Sep 17 00:00:00 2001 From: Lin Huang Date: Mon, 20 Nov 2017 14:57:22 +0800 Subject: google/gru: correct backlight gpio it uses backlight enable pin as backlight gpio currently, correct it and define the right backlight gpio. Change-Id: I7c5abfd5bbbae015b899f3edc8892ea32bf82463 Signed-off-by: Lin Huang Reviewed-on: https://review.coreboot.org/22529 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/mainboard/google/gru/chromeos.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard/google/gru/chromeos.c') diff --git a/src/mainboard/google/gru/chromeos.c b/src/mainboard/google/gru/chromeos.c index 0dd03eaeef..38f7f6987e 100644 --- a/src/mainboard/google/gru/chromeos.c +++ b/src/mainboard/google/gru/chromeos.c @@ -32,7 +32,9 @@ void fill_lb_gpios(struct lb_gpios *gpios) {GPIO_WP.raw, ACTIVE_HIGH, get_write_protect_state(), "write protect"}, {-1, ACTIVE_HIGH, get_recovery_mode_switch(), "recovery"}, +#if IS_ENABLED(CONFIG_GRU_BASEBOARD_SCARLET) {GPIO_BACKLIGHT.raw, ACTIVE_HIGH, -1, "backlight"}, +#endif {GPIO_EC_IN_RW.raw, ACTIVE_HIGH, -1, "EC in RW"}, {GPIO_EC_IRQ.raw, ACTIVE_LOW, -1, "EC interrupt"}, {GPIO_RESET.raw, ACTIVE_HIGH, -1, "reset"}, -- cgit v1.2.3