mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 03:24:55 +08:00
3a5e854e09
Move the Nomadik GPIO driver to plat-nomadik so that it can also be used on the Ux500 platform. The mach-nomadik include/mach/gpio.h is replaced by one that includes the one now in plat-nomadik, so that code doesn't need to include the one in plat specifically, and can instead use <linux/gpio.h> as usual. Acked-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
23 lines
385 B
Plaintext
23 lines
385 B
Plaintext
if ARCH_NOMADIK
|
|
|
|
menu "Nomadik boards"
|
|
|
|
config MACH_NOMADIK_8815NHK
|
|
bool "ST 8815 Nomadik Hardware Kit (evaluation board)"
|
|
select NOMADIK_8815
|
|
select HAS_MTU
|
|
select NOMADIK_GPIO
|
|
|
|
endmenu
|
|
|
|
config NOMADIK_8815
|
|
bool
|
|
|
|
config I2C_BITBANG_8815NHK
|
|
tristate "Driver for bit-bang busses found on the 8815 NHK"
|
|
depends on I2C && MACH_NOMADIK_8815NHK
|
|
select I2C_ALGOBIT
|
|
default y
|
|
|
|
endif
|