diff options
author | Ruibin Chang <Ruibin.Chang@ite.com.tw> | 2022-07-14 15:52:12 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-28 03:03:53 +0000 |
commit | a6119dbea094162c944836e9856e64a766c3959e (patch) | |
tree | 81f80c12a3ca6835efcefb7d04c950fff97dfd1b /zephyr/Kconfig.tcpm | |
parent | c3c442ff1de877af68fd1690bc3b4af33d52d20d (diff) | |
download | chrome-ec-a6119dbea094162c944836e9856e64a766c3959e.tar.gz |
zephyr: update ITE pd definitions
We leverage unused cc pins as gpio function to upstream for
power saving, and do the changes in cros/main:
1.get IT83XX_USBPD_PHY_PORT_COUNT from dtsi
2.get CONFIG_USB_PD_ITE_ACTIVE_PORT_COUNT from dts
BUG=none
BRANCH=none
TEST=check 0x04, 0x05, 0x06 of port0 and port1 reg values,
1.on it8xxx2_evb: both ports cc pin are disabled
2.on krabby: both ports cc pin are enabled, pd works.
3.on nereid: port1 cc pin is disabled, port0 pd works.
Cq-Depend: chromium:3782766
Change-Id: Ib7c766dd592dc50acc316ae316ab92911ba020c7
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3734032
Commit-Queue: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Tested-by: Peter Marheine <pmarheine@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.tcpm')
-rw-r--r-- | zephyr/Kconfig.tcpm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/zephyr/Kconfig.tcpm b/zephyr/Kconfig.tcpm index ebd6e3b49a..57e0767e73 100644 --- a/zephyr/Kconfig.tcpm +++ b/zephyr/Kconfig.tcpm @@ -49,15 +49,6 @@ config PLATFORM_EC_USB_PD_TCPM_ITE_ON_CHIP This is selected by the ITE USB Type-C drivers. It cannot be set otherwise, even in prj.conf -config PLATFORM_EC_USB_PD_ITE_ACTIVE_PORT_COUNT - int "Number of ITE USB PD active ports" - depends on PLATFORM_EC_USB_PD_TCPM_ITE_ON_CHIP - default 1 - help - This sets the number of active USB Power Delivery (USB PD) ports - in use on the ITE microcontroller. The active port usage should - follow the order of ITE TCPC port index. - config PLATFORM_EC_USB_PD_PPC bool "Enable Power Path Control from PD" default n |