mb/google/asurada: Allow payloads to enable USB VBUS
Configure GPIO CAM_PDN5 (AP_XHCI_INIT_DONE) as output, so that payloads (for example depthcharge) can assert it to notify EC to enable USB VBUS. BUG=b:187149602 TEST=emerge-asurada coreboot BRANCH=asurada Change-Id: I3bf63f91b8057e35be2780024a8b398c3044729b Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54902 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b46a9e5ddb
commit
0ed04569d7
|
@ -16,6 +16,7 @@ void setup_chromeos_gpios(void)
|
|||
gpio_input_pullup(GPIO_SD_CD);
|
||||
gpio_output(GPIO_RESET, 0);
|
||||
gpio_output(GPIO_EN_SPK_AMP, 0);
|
||||
gpio_output(GPIO_XHCI_DONE, 0);
|
||||
}
|
||||
|
||||
void fill_lb_gpios(struct lb_gpios *gpios)
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#define GPIO_RESET GPIO(CAM_PDN2)
|
||||
/* EN_SPK */
|
||||
#define GPIO_EN_SPK_AMP GPIO(CAM_PDN1)
|
||||
/* AP_XHCI_INIT_DONE */
|
||||
#define GPIO_XHCI_DONE GPIO(CAM_PDN5)
|
||||
|
||||
void setup_chromeos_gpios(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue