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:
parent
4ea66b32fa
commit
b7e908707f
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@ config GPIO_DW_0
|
||||||
default y
|
default y
|
||||||
depends on GPIO_DW
|
depends on GPIO_DW
|
||||||
|
|
||||||
|
config I2C
|
||||||
|
default y
|
||||||
|
|
||||||
|
config GPIO_CY8C95XX
|
||||||
|
default y
|
||||||
|
|
||||||
endif # GPIO
|
endif # GPIO
|
||||||
|
|
||||||
if SPI
|
if SPI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue