summaryrefslogtreecommitdiff
path: root/drivers/serial/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r--drivers/serial/Kconfig33
1 files changed, 22 insertions, 11 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 26b1b1abd48e..09127fc6b799 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -445,16 +445,6 @@ config SERIAL_CLPS711X_CONSOLE
your boot loader (lilo or loadlin) about how to pass options to the
kernel at boot time.)
-config SERIAL_SAMSUNG
- tristate "Samsung SoC serial support"
- depends on ARM && PLAT_S3C
- select SERIAL_CORE
- help
- Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
- providing /dev/ttySAC0, 1 and 2 (note, some machines may not
- provide all of these ports, depending on how the serial port
- pins are configured.
-
config SERIAL_TEGRA_DDK
boolean "High speed serial support (DDK-based) for NVIDIA Tegra SoCs"
depends on ARCH_TEGRA
@@ -465,13 +455,34 @@ config SERIAL_TEGRA_DDK
config SERIAL_TEGRA
boolean "High speed serial support for NVIDIA Tegra SoCs"
- depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA
+ depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA && !SERIAL_TEGRA_DDK
select SERIAL_CORE
help
Support for the on-chip UARTs on NVIDIA Tegra SoC, providing
/dev/ttyHSx, where x is determined by the number of UARTs on the
platform
+config SERIAL_TEGRA_UARTS
+ int "Number of high-speed (DMA) UARTs"
+ depends on SERIAL_TEGRA && MACH_TEGRA_GENERIC
+ default 1
+ help
+ When the Tegra RM is enabled (MACH_TEGRA_GENERIC), APB DMA
+ channels must be reserved for the system DMA driver at compile-
+ time; the number of reserved channels depends on the number of
+ high-speed DMA UARTs which will be used by the system; 8250 PIO
+ UARTs should not be counted toward this number.
+
+config SERIAL_SAMSUNG
+ tristate "Samsung SoC serial support"
+ depends on ARM && PLAT_S3C
+ select SERIAL_CORE
+ help
+ Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
+ providing /dev/ttySAC0, 1 and 2 (note, some machines may not
+ provide all of these ports, depending on how the serial port
+ pins are configured.
+
config SERIAL_SAMSUNG_UARTS
int
depends on ARM && PLAT_S3C