From e9314be72f512c90917a37957d7e48cabaf55c3d Mon Sep 17 00:00:00 2001 From: Diana Z Date: Mon, 19 Sep 2022 13:07:08 -0600 Subject: Zephyr: Add shim support for PS8818 Add support for the PS8818 in the shim so it can be configured using the devicetree. Note that all of the PS8818's include file is "public" in that boards regularly manipulate the registers directly rather than through well-formed APIs. BRANCH=None BUG=b:244457125 TEST=zmake build skyrim Signed-off-by: Diana Z Change-Id: Ia182ca5617d312db2acb8fb7680a7847a3a7ecb8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3905887 Code-Coverage: Zoss Reviewed-by: Keith Short --- board/agah/usbc_config.c | 2 +- board/dewatt/board.c | 2 +- board/guybrush/board.c | 2 +- board/nipperkin/board.c | 2 +- board/woomax/board.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'board') diff --git a/board/agah/usbc_config.c b/board/agah/usbc_config.c index fe5157e420..a8bad0f121 100644 --- a/board/agah/usbc_config.c +++ b/board/agah/usbc_config.c @@ -14,7 +14,7 @@ #include "console.h" #include "driver/bc12/pi3usb9201_public.h" #include "driver/ppc/syv682x_public.h" -#include "driver/retimer/ps8818.h" +#include "driver/retimer/ps8818_public.h" #include "driver/tcpm/rt1715.h" #include "driver/tcpm/tcpci.h" #include "ec_commands.h" diff --git a/board/dewatt/board.c b/board/dewatt/board.c index 1ce6858d8f..4667979e15 100644 --- a/board/dewatt/board.c +++ b/board/dewatt/board.c @@ -18,7 +18,7 @@ #include "driver/accelgyro_bmi260.h" #include "driver/accel_bma422.h" #include "driver/retimer/ps8811.h" -#include "driver/retimer/ps8818.h" +#include "driver/retimer/ps8818_public.h" #include "driver/temp_sensor/sb_tsi.h" #include "driver/temp_sensor/pct2075.h" #include "extpower.h" diff --git a/board/guybrush/board.c b/board/guybrush/board.c index e7fc1e09ee..663094233e 100644 --- a/board/guybrush/board.c +++ b/board/guybrush/board.c @@ -17,7 +17,7 @@ #include "driver/accelgyro_bmi323.h" #include "driver/accel_bma422.h" #include "driver/retimer/ps8811.h" -#include "driver/retimer/ps8818.h" +#include "driver/retimer/ps8818_public.h" #include "driver/temp_sensor/sb_tsi.h" #include "driver/temp_sensor/tmp112.h" #include "extpower.h" diff --git a/board/nipperkin/board.c b/board/nipperkin/board.c index b418448fb1..e4f3c0db57 100644 --- a/board/nipperkin/board.c +++ b/board/nipperkin/board.c @@ -17,7 +17,7 @@ #include "driver/charger/isl9241.h" #include "driver/retimer/pi3hdx1204.h" #include "driver/retimer/ps8811.h" -#include "driver/retimer/ps8818.h" +#include "driver/retimer/ps8818_public.h" #include "driver/temp_sensor/sb_tsi.h" #include "driver/temp_sensor/pct2075.h" #include "extpower.h" diff --git a/board/woomax/board.c b/board/woomax/board.c index 92290d4582..747c576fc2 100644 --- a/board/woomax/board.c +++ b/board/woomax/board.c @@ -19,7 +19,7 @@ #include "driver/retimer/pi3hdx1204.h" #include "driver/retimer/ps8802.h" #include "driver/retimer/ps8811.h" -#include "driver/retimer/ps8818.h" +#include "driver/retimer/ps8818_public.h" #include "driver/temp_sensor/sb_tsi.h" #include "driver/usb_mux/amd_fp5.h" #include "extpower.h" -- cgit v1.2.1