summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPatryk Duda <pdk@semihalf.com>2020-04-08 14:40:30 +0200
committerCommit Bot <commit-bot@chromium.org>2020-05-05 12:10:16 +0000
commit8c59c42bebb6bec50b0cde7f04e7bb0910ad8f2a (patch)
tree901225c0d4bab4cc5e982dd6ed88fc94ea11aa26 /board
parent5e76a30de425ded86374793df976c8538818f78b (diff)
downloadchrome-ec-8c59c42bebb6bec50b0cde7f04e7bb0910ad8f2a.tar.gz
nocturne: Set ps8xxx as TCPC driver instead of generic tcpci
Generic tcpci driver doesn't obtain firmware version properly, because it is device specific. PS8xxx driver also performs additional operations that is necessary for chip to operate correctly. BUG=none BRANCH=none TEST=Deploy on nocturne. Check if charging works. Attach some device and check if it works. Signed-off-by: Patryk Duda <pdk@semihalf.com> Change-Id: I9dd87131e324c29553f8c1624974d9dd5cd9b61d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2160876 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/nocturne/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/nocturne/board.c b/board/nocturne/board.c
index 3d8e9f9026..b7ddc2aa74 100644
--- a/board/nocturne/board.c
+++ b/board/nocturne/board.c
@@ -306,7 +306,7 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
.port = I2C_PORT_USB_C0,
.addr_flags = PS8751_I2C_ADDR1_FLAGS,
},
- .drv = &tcpci_tcpm_drv,
+ .drv = &ps8xxx_tcpm_drv,
},
{
.bus_type = EC_BUS_TYPE_I2C,
@@ -314,7 +314,7 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
.port = I2C_PORT_USB_C1,
.addr_flags = PS8751_I2C_ADDR1_FLAGS,
},
- .drv = &tcpci_tcpm_drv,
+ .drv = &ps8xxx_tcpm_drv,
},
};