summaryrefslogtreecommitdiff
path: root/baseboard/intelrvp/adlrvp.c
diff options
context:
space:
mode:
authorTomasz Michalec <tm@semihalf.com>2021-08-20 12:19:52 +0200
committerCommit Bot <commit-bot@chromium.org>2021-09-02 21:00:56 +0000
commit16245fe2c3f2b8b98627a06f0577c84c22ef1eb4 (patch)
tree97275fbda753bf3e5cb6c797cda0d9e943f6d43e /baseboard/intelrvp/adlrvp.c
parent20c87cd1de3c0a06be92bf64b01ea9d2584f5b5b (diff)
downloadchrome-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 'baseboard/intelrvp/adlrvp.c')
-rw-r--r--baseboard/intelrvp/adlrvp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/baseboard/intelrvp/adlrvp.c b/baseboard/intelrvp/adlrvp.c
index ad7066fe5d..3bc70ac581 100644
--- a/baseboard/intelrvp/adlrvp.c
+++ b/baseboard/intelrvp/adlrvp.c
@@ -5,9 +5,9 @@
/* Intel ADLRVP board-specific common configuration */
-#include "bb_retimer.h"
#include "charger.h"
#include "common.h"
+#include "driver/retimer/bb_retimer_public.h"
#include "hooks.h"
#include "ioexpander.h"
#include "isl9241.h"
@@ -16,6 +16,7 @@
#include "sn5s330.h"
#include "system.h"
#include "task.h"
+#include "usb_mux.h"
#include "usbc_ppc.h"
#include "util.h"