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>
This commit is contained in:
Kumar Gala 2021-05-06 10:52:38 -05:00 committed by Anas Nashif
commit b7e908707f

View file

@ -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