• E
    [ARM] tegra: add GPIO support · 3c92db9a
    Erik Gilling 提交于
    v2: fixes from Mike Rapoport:
    	- move gpio-names.h to arch/arm/mach-tegra
        fixes from Russell King
    	- include linux/io.h and linux/gpio.h instead of asm/io.h
    	  and asm/gpio.h
        additional changes:
        	- add macros to convert between irq and gpio numbers for platform data
    	- change for_each_bit to for_each_set_bit in gpio.c
    v3:
    	- minor bugfixes
    Signed-off-by: NColin Cross <ccross@android.com>
    Signed-off-by: NErik Gilling <konkers@android.com>
    3c92db9a
Kconfig 910 字节
if ARCH_TEGRA

comment "NVIDIA Tegra options"

choice
	prompt "Select Tegra processor family for target system"

config ARCH_TEGRA_2x_SOC
	bool "Tegra 2 family"
	select CPU_V7
	select ARM_GIC
	select ARCH_REQUIRE_GPIOLIB
	help
	  Support for NVIDIA Tegra AP20 and T20 processors, based on the
	  ARM CortexA9MP CPU and the ARM PL310 L2 cache controller

endchoice

comment "Tegra board type"

config MACH_HARMONY
       bool "Harmony board"
       help
         Support for nVidia Harmony development platform

choice
        prompt "Low-level debug console UART"
        default TEGRA_DEBUG_UART_NONE

config TEGRA_DEBUG_UART_NONE
        bool "None"

config TEGRA_DEBUG_UARTA
        bool "UART-A"

config TEGRA_DEBUG_UARTB
        bool "UART-B"

config TEGRA_DEBUG_UARTC
        bool "UART-C"

config TEGRA_DEBUG_UARTD
        bool "UART-D"

config TEGRA_DEBUG_UARTE
        bool "UART-E"

endchoice

endif