mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
pyro/snappy: Enable high current on type-A ports by default
BUG=none BRANCH=none TEST=make buildall Change-Id: Iefa74d574e8f6354a9344abaab638a71b8783bfa Signed-off-by: Bruce.Wan <Bruce.Wan@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/412240 Commit-Ready: Keith Tzeng <keith.tzeng@quantatw.com> Tested-by: Keith Tzeng <keith.tzeng@quantatw.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
|
||||
/* USB-A config */
|
||||
#define CONFIG_USB_PORT_POWER_SMART
|
||||
#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
|
||||
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
|
||||
#undef CONFIG_USB_PORT_POWER_SMART_PORT_COUNT
|
||||
#define CONFIG_USB_PORT_POWER_SMART_PORT_COUNT 1
|
||||
|
||||
@@ -115,7 +115,7 @@ GPIO(PCH_RCIN_L, PIN(6, 1), GPIO_ODR_HIGH) /* SYS_RST_ODL */
|
||||
/* FIXME: What, if anything, to do about EC_RST_ODL on VCC1_RST#? */
|
||||
|
||||
GPIO(CHARGER_RST_ODL, PIN(C, 0), GPIO_ODR_HIGH)
|
||||
GPIO(USB_A_CHARGE_EN_L, PIN(4, 2), GPIO_OUT_HIGH)
|
||||
GPIO(USB_A_CHARGE_EN_L, PIN(4, 2), GPIO_OUT_LOW)
|
||||
GPIO(EN_USB_TCPC_PWR, PIN(C, 3), GPIO_OUT_LOW)
|
||||
GPIO(USB1_ENABLE, PIN(4, 1), GPIO_OUT_LOW)
|
||||
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
|
||||
/* USB-A config */
|
||||
#define CONFIG_USB_PORT_POWER_SMART
|
||||
#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
|
||||
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
|
||||
#undef CONFIG_USB_PORT_POWER_SMART_PORT_COUNT
|
||||
#define CONFIG_USB_PORT_POWER_SMART_PORT_COUNT 1
|
||||
|
||||
@@ -115,7 +115,7 @@ GPIO(PCH_RCIN_L, PIN(6, 1), GPIO_ODR_HIGH) /* SYS_RST_ODL */
|
||||
/* FIXME: What, if anything, to do about EC_RST_ODL on VCC1_RST#? */
|
||||
|
||||
GPIO(CHARGER_RST_ODL, PIN(C, 0), GPIO_ODR_HIGH)
|
||||
GPIO(USB_A_CHARGE_EN_L, PIN(4, 2), GPIO_OUT_HIGH)
|
||||
GPIO(USB_A_CHARGE_EN_L, PIN(4, 2), GPIO_OUT_LOW)
|
||||
GPIO(EN_USB_TCPC_PWR, PIN(C, 3), GPIO_OUT_LOW)
|
||||
GPIO(USB1_ENABLE, PIN(4, 1), GPIO_OUT_LOW)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user