summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/variants
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-07-17 11:02:37 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-07-18 11:30:34 +0000
commit23af8bac7242955698115c57323879f48b58604d (patch)
tree373b8167feb74f1c674d08f1299d7a4451106c1a /src/mainboard/google/hatch/variants
parent4f8b108288bf080762d28e5260ecf1d0a6e89697 (diff)
mb/google/hatch: Disable wireless charging
This patch makes VGPIO_3 GPIO PIN output and low independent of cnvi is connected or not. BUG=b:123062346 BRANCH=None TEST=boot up Hatch device and make sure VGPIO_3 gpio pin is driven low. Change-Id: I629b99676f56747de1b244724709e14069250097 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34376 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: V Sowmya <v.sowmya@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/hatch/variants')
-rw-r--r--src/mainboard/google/hatch/variants/baseboard/gpio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/baseboard/gpio.c b/src/mainboard/google/hatch/variants/baseboard/gpio.c
index c202f5c7d5..6c6e04b3ce 100644
--- a/src/mainboard/google/hatch/variants/baseboard/gpio.c
+++ b/src/mainboard/google/hatch/variants/baseboard/gpio.c
@@ -382,6 +382,9 @@ static const struct pad_config gpio_table[] = {
/* SD card detect VGPIO */
PAD_CFG_GPI_GPIO_DRIVER(vSD3_CD_B, NONE, DEEP),
+
+ /* CNV_WCEN : Disable Wireless Charging */
+ PAD_CFG_GPO(CNV_WCEN, 0, DEEP),
};
const struct pad_config *base_gpio_table(size_t *num)