diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2021-04-15 12:20:51 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-27 19:26:29 +0000 |
commit | f22a183b1cf3117d61527948740c39bb48744b20 (patch) | |
tree | 82c7c5eb9bae3c3d1938436fc8a8885f7beec314 /driver/tcpm/anx7447.c | |
parent | f4c91370b1e64e3157456e85ac7414301a41f49d (diff) | |
download | chrome-ec-f22a183b1cf3117d61527948740c39bb48744b20.tar.gz |
TCPC: Cleanup: Enable PPC from PD or Power MUX
Some PD chips have integrated SRC FET and control the SRC/SINK FET
from GPIOs hence cleaned up the code to enable Power Path Control
from either from PD or from Power MUX.
BUG=none
BRANCH=none
TEST=make buildall -j
Change-Id: I77f96b681fd2e5fca35bce425e4bd5ec87d5ccfd
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2828980
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2854419
Tested-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'driver/tcpm/anx7447.c')
-rw-r--r-- | driver/tcpm/anx7447.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/tcpm/anx7447.c b/driver/tcpm/anx7447.c index 2f679193ec..9458ee8c94 100644 --- a/driver/tcpm/anx7447.c +++ b/driver/tcpm/anx7447.c @@ -825,7 +825,7 @@ const struct tcpm_drv anx7447_tcpm_drv = { .drp_toggle = anx7447_tcpc_drp_toggle, #endif .get_chip_info = &tcpci_get_chip_info, -#ifdef CONFIG_USBC_PPC +#ifdef CONFIG_USB_PD_PPC .set_snk_ctrl = &tcpci_tcpm_set_snk_ctrl, .set_src_ctrl = &tcpci_tcpm_set_src_ctrl, #endif |