diff options
author | Simon Glass <sjg@chromium.org> | 2021-01-07 12:32:33 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-12 21:03:57 +0000 |
commit | f0551d3dc6dd3b84815e7b1ff7e1876fb4b6cbf6 (patch) | |
tree | 19d8e67be841f2d6a99b5c0bd1263ff5eaca2cd1 /driver/tcpm/ps8xxx.h | |
parent | 5b8ddb8e81c6f9ce7a595343ab23b012d9ded4f1 (diff) | |
download | chrome-ec-f0551d3dc6dd3b84815e7b1ff7e1876fb4b6cbf6.tar.gz |
Export more symbols from ps8xxx
It turns out we need more symbols for some drivers. For example,
PS8XXX_RESET_DELAY_MS is needed by most boards, including volteer.
Export some more things.
BUG=b:175434113
BRANCH=none
TEST=make BOARD=volteer -j30
With a zephyr-chrome CL, build volteer on zephyr
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: Id82eaaa0a1e4a7c66ae0fd1fb7c781f1fc1de1d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2615622
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'driver/tcpm/ps8xxx.h')
-rw-r--r-- | driver/tcpm/ps8xxx.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/driver/tcpm/ps8xxx.h b/driver/tcpm/ps8xxx.h index 968d1eeaab..8a9f93858f 100644 --- a/driver/tcpm/ps8xxx.h +++ b/driver/tcpm/ps8xxx.h @@ -13,27 +13,6 @@ #define PS8751_P3_TO_P1_FLAGS(p3_flags) ((p3_flags) - 2) -/* Minimum Delay for reset assertion */ -#define PS8XXX_RESET_DELAY_MS 1 - -/* Delay between releasing reset and the first I2C read */ -#define PS8805_FW_INIT_DELAY_MS 10 - -/* Delay from power on to reset de-asserted */ -#define PS8815_PWR_H_RST_H_DELAY_MS 20 -/* - * Delay between releasing reset and the first I2C read - * - * If the delay is too short, I2C fails. - * If the delay is marginal I2C reads return garbage. - * - * With firmware 0x03: - * 10ms is too short - * 20ms is marginal - * 25ms is OK - */ -#define PS8815_FW_INIT_DELAY_MS 40 - #define PS8751_BIST_TIMER_FREQ 15000000 #define PS8751_BIST_DELAY_MS 50 |