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:
parent
c55e8861ab
commit
0fb4574305
1 changed files with 15 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue