diff options
author | Scott Collyer <scollyer@google.com> | 2018-08-15 15:41:49 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-07 18:36:38 -0700 |
commit | 37809307f7b3422d8488feb0c4806615e6af72af (patch) | |
tree | e030b1c00bdd81bacd3e088fe69386b9c8af7534 /driver/tcpm/tusb422.h | |
parent | a530eb162a6aab5db3dee940ba2718e5a1924f8a (diff) | |
download | chrome-ec-37809307f7b3422d8488feb0c4806615e6af72af.tar.gz |
tcpc: Add driver for TI TUSB422 tcpc
Initial driver for TUSB422 TCPC which is a tcpci compliant TCPC. This
TCPC does not inlude a Type C mux and uses the tcpci driver for all of
the methods.
BUG=b:111281797
BRANCH=none
TEST=Verified operation as sink on DragonEgg. Have not verified source
operation, or low power/auto-toggle modes as those config options
can't be enabled on ITE at this point.
Change-Id: I783a5e2c4a13bc0b8fa4da4b134588382542024c
Signed-off-by: Scott Collyer <scollyer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1178994
Commit-Ready: Jett Rink <jettrink@chromium.org>
Tested-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'driver/tcpm/tusb422.h')
-rw-r--r-- | driver/tcpm/tusb422.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/driver/tcpm/tusb422.h b/driver/tcpm/tusb422.h new file mode 100644 index 0000000000..2a01eb4725 --- /dev/null +++ b/driver/tcpm/tusb422.h @@ -0,0 +1,16 @@ +/* Copyright 2018 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/* TI TUSB422 Type-C port controller */ + +#ifndef __CROS_EC_USB_PD_TCPM_TUSB422_H +#define __CROS_EC_USB_PD_TCPM_TUSB422_H + +/* I2C interface */ +#define TUSB422_I2C_ADDR 0x40 + +extern const struct tcpm_drv tusb422_tcpm_drv; + +#endif /* defined(__CROS_EC_USB_PD_TCPM_TUSB422_H) */ |