diff options
author | Tomasz Michalec <tm@semihalf.com> | 2021-08-20 12:19:52 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-02 21:00:56 +0000 |
commit | 16245fe2c3f2b8b98627a06f0577c84c22ef1eb4 (patch) | |
tree | 97275fbda753bf3e5cb6c797cda0d9e943f6d43e /board/halvor | |
parent | 20c87cd1de3c0a06be92bf64b01ea9d2584f5b5b (diff) | |
download | chrome-ec-16245fe2c3f2b8b98627a06f0577c84c22ef1eb4.tar.gz |
zephyr: Add BB retimer emulator
Add BB retimer emulator on i2c bus. Emulator properties can be defined
using device tree or runtime emulator API. Emulator checks if RO
registers and reserved bits are accessed correctly. API allows to set
custom read/write i2c messagess handlers to emulate complex behaviour.
BUG=b:184856919
BRANCH=none
TEST=none
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I4b641a90e6fb55e89aaee388c0ac04ab7bf367ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3110085
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'board/halvor')
-rw-r--r-- | board/halvor/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/halvor/board.c b/board/halvor/board.c index 078d0520f6..31b68906d4 100644 --- a/board/halvor/board.c +++ b/board/halvor/board.c @@ -6,7 +6,6 @@ /* Volteer board-specific configuration */ #include "accelgyro.h" #include "assert.h" -#include "bb_retimer.h" #include "button.h" #include "common.h" #include "cbi_ec_fw_config.h" @@ -14,6 +13,7 @@ #include "driver/als_tcs3400.h" #include "driver/bc12/pi3usb9201.h" #include "driver/ppc/syv682x.h" +#include "driver/retimer/bb_retimer_public.h" #include "driver/sync.h" #include "driver/tcpm/tcpci.h" #include "driver/tcpm/tusb422.h" |