diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2022-05-26 10:54:38 +0200 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-27 05:50:42 +0000 |
commit | c753fad6a886ae257c5b6e415eb146cff45f6d0b (patch) | |
tree | b818d92921074b3518aa285d24b0b03ceafb9df8 /zephyr/projects/intelrvp/mtlrvp | |
parent | f9be43ba99ccecc87df3a6dfcf956d555a96aae0 (diff) | |
download | chrome-ec-c753fad6a886ae257c5b6e415eb146cff45f6d0b.tar.gz |
zephyr: clean up ioex configs
In Zephyr, we treat IO expander pins as usual GPIO, thus the same GPIO
API is used. There is no need to keep a separate config PLATFORM_EC_IOEX
to support IO expander, when we use Zephyr drivers. Keep only
PLATFORM_EC_IOEX_CROS_DRV config to enable support for CrosEC drivers
for Zephyr builds.
BUG=b:231086773, b:208181774
TEST=zmake testall && Make sure PD works on ports 0 and 2 on Brya
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I135cc1b5a58beb2f4e8bfa2384db6fdfd534a01e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3670275
Commit-Queue: Dawid Niedzwiecki <dawidn@google.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Diffstat (limited to 'zephyr/projects/intelrvp/mtlrvp')
-rw-r--r-- | zephyr/projects/intelrvp/mtlrvp/prj.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/intelrvp/mtlrvp/prj.conf b/zephyr/projects/intelrvp/mtlrvp/prj.conf index bea2791efe..607bf3a9d1 100644 --- a/zephyr/projects/intelrvp/mtlrvp/prj.conf +++ b/zephyr/projects/intelrvp/mtlrvp/prj.conf @@ -24,7 +24,7 @@ CONFIG_PLATFORM_EC_USBC=n CONFIG_PLATFORM_EC_CHARGER=n # IOEX -CONFIG_PLATFORM_EC_IOEX=y +CONFIG_PLATFORM_EC_IOEX_CROS_DRV=y CONFIG_GPIO_PCA95XX=y CONFIG_GPIO_NCT38XX=y CONFIG_PLATFORM_EC_IOEX_IT8801=y |