From b7e908707f8285424f4ab0a8c416794c1d98e914 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 6 May 2021 10:52:38 -0500 Subject: [PATCH] boards: arc: hsdk: Enable CY8C95XX if GPIO The board has an I2C GPIO expander on it. A number of samples utilize LEDs on GPIOs for testing purpose so it makes sense to enable the GPIO expander (CONFIG_GPIO_CY8C95XX) driver when CONFIG_GPIO has been enabled. We have to also enable I2C since the expander is connected over an I2C interface. Signed-off-by: Kumar Gala --- boards/arc/hsdk/Kconfig.defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/boards/arc/hsdk/Kconfig.defconfig b/boards/arc/hsdk/Kconfig.defconfig index b49875a985d..6be6ecdaea9 100644 --- a/boards/arc/hsdk/Kconfig.defconfig +++ b/boards/arc/hsdk/Kconfig.defconfig @@ -15,6 +15,12 @@ config GPIO_DW_0 default y depends on GPIO_DW +config I2C + default y + +config GPIO_CY8C95XX + default y + endif # GPIO if SPI