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 <kumar.gala@linaro.org>
diff --git a/boards/arc/hsdk/Kconfig.defconfig b/boards/arc/hsdk/Kconfig.defconfig
index b49875a..6be6ecd 100644
--- a/boards/arc/hsdk/Kconfig.defconfig
+++ b/boards/arc/hsdk/Kconfig.defconfig
@@ -15,6 +15,12 @@
default y
depends on GPIO_DW
+config I2C
+ default y
+
+config GPIO_CY8C95XX
+ default y
+
endif # GPIO
if SPI