From f789d41539a72d71bad97ce5e19566a05a952244 Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Wed, 3 Apr 2024 19:33:28 +0800 Subject: mb/google/rauru: Pass XHCI_INIT_DONE to the payload Configure GPIO EINT28 (XHCI_INIT_DONE) as output, so that payloads (for example depthcharge) can assert it to notify EC to enable USB VBUS. BUG=b:317009620 TEST=emerge-rauru coreboot Change-Id: I5950974435b56997626886b16d371cd8e6472e3c Signed-off-by: Yidi Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/84691 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin --- src/mainboard/google/rauru/gpio.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/mainboard/google/rauru/gpio.h (limited to 'src/mainboard/google/rauru/gpio.h') diff --git a/src/mainboard/google/rauru/gpio.h b/src/mainboard/google/rauru/gpio.h new file mode 100644 index 0000000000..f05a3779fe --- /dev/null +++ b/src/mainboard/google/rauru/gpio.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __MAINBOARD_GOOGLE_RAURU_GPIO_H__ +#define __MAINBOARD_GOOGLE_RAURU_GPIO_H__ + +#include + +#define GPIO_XHCI_INIT_DONE GPIO(EINT28) + +void setup_chromeos_gpios(void); + +#endif -- cgit v1.2.3