170c6152ae
This patch adds support for the GPIO/pinmux controller found on the VIA VT8500 and Wondermedia WM8xxx-series SoCs. Each pin within the controller is capable of operating as a GPIO or as an alternate function. The pins are numbered according to their control bank/bit so that if new pins are added, the existing numbering is maintained. All currently supported SoCs are included: VT8500, WM8505, WM8650, WM8750 and WM8850. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Reviewed-by: Stephen Warren <swarren@nvidia.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
35 lines
732 B
Text
35 lines
732 B
Text
config ARCH_VT8500
|
|
bool
|
|
select ARCH_HAS_CPUFREQ
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select CLKDEV_LOOKUP
|
|
select CLKSRC_OF
|
|
select GENERIC_CLOCKEVENTS
|
|
select HAVE_CLK
|
|
select VT8500_TIMER
|
|
select PINCTRL
|
|
help
|
|
Support for VIA/WonderMedia VT8500/WM85xx System-on-Chip.
|
|
|
|
config ARCH_WM8505
|
|
bool "VIA/Wondermedia 85xx and WM8650"
|
|
depends on ARCH_MULTI_V5
|
|
select ARCH_VT8500
|
|
select CPU_ARM926T
|
|
help
|
|
|
|
config ARCH_WM8750
|
|
bool "WonderMedia WM8750"
|
|
depends on ARCH_MULTI_V6
|
|
select ARCH_VT8500
|
|
select CPU_V6
|
|
help
|
|
Support for WonderMedia WM8750 System-on-Chip.
|
|
|
|
config ARCH_WM8850
|
|
bool "WonderMedia WM8850"
|
|
depends on ARCH_MULTI_V7
|
|
select ARCH_VT8500
|
|
select CPU_V7
|
|
help
|
|
Support for WonderMedia WM8850 System-on-Chip.
|