mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-04 22:11:41 +00:00
Add support for enabling Vconn on Raiden ports by defining CONFIG_USBC_VCONN. This is enabled by default for ryu, samus, and fruitpie. BUG=chrome-os-partner:30445 BRANCH=samus TEST=Load onto samus. Make sure we can still charge from zinger. Plug in type-A to type-C adapter with pulldown and see that samus becomes power source. Do a gpioget and verify that only one VCONN GPIO is enabled (low), and the VCONN that is enabled is opposite of the polarity queried by pd 1 state. Try both ports, both polarities and make sure the correct VCONN gpio is enabled. Change-Id: Icea4c18b9c813cf7e8e21fd4f455bbd5fb4dbc91 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/222850 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>