[PATCH v2] serial: tegra: remove Kconfig dependency on APB DMA controller
From: Francesco Lavra
Date: Tue Mar 03 2026 - 06:15:10 EST
This driver runs also on SoCs without a Tegra20 APB DMA controller (e.g.
Tegra234).
Remove the Kconfig dependency on TEGRA20_APB_DMA, and remove reference to
the APB DMA controller from the Kconfig help text.
Signed-off-by: Francesco Lavra <flavra@xxxxxxxxxxxx>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
Changes from v1 [1]:
- added Andy's Reviewed-by tag
- removed Fixes tag (Jon)
[1] https://lore.kernel.org/linux-serial/20251126090759.4042709-1-flavra@xxxxxxxxxxxx/T/
drivers/tty/serial/Kconfig | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index f86775cfdcc9..8500b1eed5b5 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -255,14 +255,13 @@ config SERIAL_SAMSUNG_CONSOLE
config SERIAL_TEGRA
tristate "NVIDIA Tegra20/30 SoC serial controller"
- depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
+ depends on ARCH_TEGRA || COMPILE_TEST
select SERIAL_CORE
help
Support for the on-chip UARTs on the NVIDIA Tegra series SOCs
providing /dev/ttyTHS0, 1, 2, 3 and 4 (note, some machines may not
provide all of these ports, depending on how the serial port
- are enabled). This driver uses the APB DMA to achieve higher baudrate
- and better performance.
+ are enabled).
config SERIAL_TEGRA_TCU
tristate "NVIDIA Tegra Combined UART"
--
2.39.5