![Linus Walleij](/assets/img/avatar_default.png)
Instead of using bit-banged I2C, let's use the actual I2C driver in the kernel. Since the I2C block may be communicating with things like the PMIC, we need to select it from the Kconfig just like the bit-banged adapter is selected today. The rest of the configuration for this driver can be done from the device tree. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
38 lines
736 B
Plaintext
38 lines
736 B
Plaintext
config ARCH_NOMADIK
|
|
bool "ST-Ericsson Nomadik"
|
|
depends on ARCH_MULTI_V5
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select ARM_AMBA
|
|
select ARM_VIC
|
|
select CLKSRC_NOMADIK_MTU
|
|
select CLKSRC_NOMADIK_MTU_SCHED_CLOCK
|
|
select CLKSRC_OF
|
|
select COMMON_CLK
|
|
select CPU_ARM926T
|
|
select GENERIC_CLOCKEVENTS
|
|
select MIGHT_HAVE_CACHE_L2X0
|
|
select PINCTRL
|
|
select PINCTRL_NOMADIK
|
|
select PINCTRL_STN8815
|
|
select SPARSE_IRQ
|
|
select USE_OF
|
|
help
|
|
Support for the Nomadik platform by ST-Ericsson
|
|
|
|
if ARCH_NOMADIK
|
|
menu "Nomadik boards"
|
|
|
|
config MACH_NOMADIK_8815NHK
|
|
bool "ST 8815 Nomadik Hardware Kit (evaluation board)"
|
|
select NOMADIK_8815
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
select I2C_NOMADIK
|
|
|
|
endmenu
|
|
endif
|
|
|
|
config NOMADIK_8815
|
|
depends on ARCH_NOMADIK
|
|
bool
|