gpio: galileo: Pre-configuring DW's driver in Kconfig

PCI information and integration of designware's gpio controller
with shared irq.

Change-Id: I80c7fed35ff328e06d87ebad3e2f68fdd6f5672e
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Tomasz Bursztyka 2015-10-01 13:20:01 +03:00 committed by Anas Nashif
commit 0fb4574305

View file

@ -184,14 +184,11 @@ config GPIO_MMIO_1_OUTPUT
default 0x10A8
endif
if GPIO_DW_0
if GPIO_DW
config GPIO_DW_0
def_bool y
config GPIO_DW_0_NAME
default "GPIO_0"
config GPIO_DW_0_IRQ_SHARED_NAME
default SHARED_IRQ_0_NAME
config GPIO_DW_0_BASE_ADDR
default 0x90006000
config GPIO_DW_0_BUS
default 0
config GPIO_DW_0_DEV
@ -200,9 +197,19 @@ config GPIO_DW_0_FUNCTION
default 2
config GPIO_DW_0_BAR
default 1
config GPIO_DW_0_BITS
default 8
config GPIO_DW_0_BASE_ADDR
default 0x90006000
config GPIO_DW_0_IRQ
default 18
config GPIO_DW_0_PRI
default 0
config GPIO_DW_0_IRQ_SHARED
def_bool y if SHARED_IRQ
config GPIO_DW_0_IRQ_SHARED_NAME
default SHARED_IRQ_0_NAME if SHARED_IRQ
endif
endif
if PINMUX