summaryrefslogtreecommitdiff
path: root/board/kahlee
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2017-07-07 17:01:43 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-07-11 13:13:03 -0700
commit993a0991d62d9e9f243dc1db1ddc2d37ec2f3be0 (patch)
tree76604f8f99cda20fb9ac67277eebeeac008c1304 /board/kahlee
parent7903342436bfef4941b20a3c839f14b5398b9119 (diff)
downloadchrome-ec-993a0991d62d9e9f243dc1db1ddc2d37ec2f3be0.tar.gz
driver: tcpm: ps8xxx: Add support for PS8805.
This commit adds support for the PS8805, another Parade Tech TCPC with integrated superspeed muxes. This also creates a generic Parade Tech TCPC driver which supports the PS8xxx series. The current supported TCPCs are: - PS8751 - PS8805 BUG=b:63508740 BRANCH=None TEST=`make -j buildall` Change-Id: I78383af414996e0e8d6220985d286f95267136f8 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/564799 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/kahlee')
-rw-r--r--board/kahlee/board.c6
-rw-r--r--board/kahlee/usb_pd_policy.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/board/kahlee/board.c b/board/kahlee/board.c
index 9eb3e0de9f..1ee7512873 100644
--- a/board/kahlee/board.c
+++ b/board/kahlee/board.c
@@ -18,7 +18,7 @@
#include "driver/als_al3010.h"
#include "driver/accel_kionix.h"
#include "driver/charger/isl923x.h"
-#include "driver/tcpm/ps8751.h"
+#include "driver/tcpm/ps8xxx.h"
#include "driver/tcpm/tcpci.h"
#include "driver/tcpm/tcpm.h"
#include "driver/temp_sensor/g78x.h"
@@ -213,12 +213,12 @@ struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = {
{
.port_addr = 0,
.driver = &tcpci_tcpm_usb_mux_driver,
- .hpd_update = &ps8751_tcpc_update_hpd_status,
+ .hpd_update = &ps8xxx_tcpc_update_hpd_status,
},
{
.port_addr = 1,
.driver = &tcpci_tcpm_usb_mux_driver,
- .hpd_update = &ps8751_tcpc_update_hpd_status,
+ .hpd_update = &ps8xxx_tcpc_update_hpd_status,
}
};
diff --git a/board/kahlee/usb_pd_policy.c b/board/kahlee/usb_pd_policy.c
index 00101f80f9..4e7d39488e 100644
--- a/board/kahlee/usb_pd_policy.c
+++ b/board/kahlee/usb_pd_policy.c
@@ -8,7 +8,7 @@
#include "charge_manager.h"
#include "common.h"
#include "console.h"
-#include "driver/tcpm/ps8751.h"
+#include "driver/tcpm/ps8xxx.h"
#include "gpio.h"
#include "hooks.h"
#include "host_command.h"