diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2017-08-21 13:29:55 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-21 22:03:53 -0700 |
commit | 59ce941927d5ccf332498e4326560e46095ca0e3 (patch) | |
tree | 74dbc3c7c44c97f2a9633a1b30c80bd69b6bdee5 /include | |
parent | 309289df45c35af0e935b1a965412e4dacaad036 (diff) | |
download | chrome-ec-59ce941927d5ccf332498e4326560e46095ca0e3.tar.gz |
tcpm: Configure board specific post TCPC init
Some boards have TCPC configurations post TCPC initialization.
Added code to support those configurations.
BUG=b:64531818
BRANCH=glkrvp
TEST=Manually verified on GLKRVP. External GPIOs of PTN5110
are configured properly.
Change-Id: I3da1c171839f22cf183dacf390cf033becddce0f
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/624557
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_pd_tcpm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h index edcd3f5875..d8ad743caa 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -273,4 +273,13 @@ void tcpc_alert_clear(int port); */ int tcpc_run(int port, int evt); +/** + * Initialize board specific TCPC functions post TCPC initialization. + * + * @param port Type-C port number + * + * @return EC_SUCCESS or error + */ +int board_tcpc_post_init(int port) __attribute__((weak)); + #endif /* __CROS_EC_USB_PD_TCPM_H */ |