1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2ab4382d2SGreg Kroah-Hartman# 3ab4382d2SGreg Kroah-Hartman# Makefile for the kernel serial device drivers. 4ab4382d2SGreg Kroah-Hartman# 5ab4382d2SGreg Kroah-Hartman 684a9582fSTony Lindgrenobj-$(CONFIG_SERIAL_CORE) += serial_base.o 784a9582fSTony Lindgrenserial_base-y := serial_core.o serial_base_bus.o serial_ctrl.o serial_port.o 8ab4382d2SGreg Kroah-Hartman 99aac5887SRob Herringobj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o 10359fb3f8SBin Mengobj-$(CONFIG_SERIAL_EARLYCON_SEMIHOST) += earlycon-semihost.o 1127de1f54SAnup Patelobj-$(CONFIG_SERIAL_EARLYCON_RISCV_SBI) += earlycon-riscv-sbi.o 129aac5887SRob Herring 13ab4382d2SGreg Kroah-Hartman# These Sparc drivers have to appear before others such as 8250 14ab4382d2SGreg Kroah-Hartman# which share ttySx minor node space. Otherwise console device 15ab4382d2SGreg Kroah-Hartman# names change and other unplesantries. 16ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNCORE) += suncore.o 17ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNHV) += sunhv.o 18ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o 19ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNSU) += sunsu.o 20ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o 21ab4382d2SGreg Kroah-Hartman 228e1c21f4SNicolas Pitreobj-$(CONFIG_SERIAL_21285) += 21285.o 238e1c21f4SNicolas Pitre 249bef3d41SPaul Gortmaker# Now bring in any enabled 8250/16450/16550 type drivers. 25b334214eSIlpo Järvinenobj-y += 8250/ 269bef3d41SPaul Gortmaker 273b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o 283b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_ALTERA_UART) += altera_uart.o 29ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o 30ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o 313b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o 323b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_AR933X) += ar933x_uart.o 333b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_ARC) += arc_uart.o 343b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o 35ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_BCM63XX) += bcm63xx_uart.o 363b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o 37dbae4258SChristophe Leroyobj-$(CONFIG_SERIAL_CPM) += cpm_uart.o 383b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_CONEXANT_DIGICOLOR) += digicolor-usart.o 393b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_DZ) += dz.o 408cc89a22SMax Filippovobj-$(CONFIG_SERIAL_ESP32) += esp32_uart.o 41b0c9a045SMax Filippovobj-$(CONFIG_SERIAL_ESP32_ACM) += esp32_acm.o 423b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_FSL_LINFLEXUART) += fsl_linflexuart.o 433b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_FSL_LPUART) += fsl_lpuart.o 443b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_ICOM) += icom.o 45ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_IMX) += imx.o 46ea1fc02eSFugang Duanobj-$(CONFIG_SERIAL_IMX_EARLYCON) += imx_earlycon.o 473b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o 483b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_JSM) += jsm/ 493b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_LANTIQ) += lantiq.o 503b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_LITEUART) += liteuart.o 513b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_HS_LPC32XX) += lpc32xx_hs.o 523b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MAX3100) += max3100.o 533b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MAX310X) += max310x.o 543b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MCF) += mcf.o 553b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MEN_Z135) += men_z135_uart.o 563b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MILBEAUT_USIO) += milbeaut_usio.o 57ff7693d0SCarlo Caioneobj-$(CONFIG_SERIAL_MESON) += meson_uart.o 583b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MPC52xx) += mpc52xx_uart.o 593b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MPS2_UART) += mps2-uart.o 603b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MSM) += msm_serial.o 613b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MUX) += mux.o 623b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MVEBU_UART) += mvebu-uart.o 633b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o 643b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_OMAP) += omap-serial.o 653b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_OWL) += owl-uart.o 663b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_PCH_UART) += pch_uart.o 673b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_PIC32) += pic32_uart.o 683b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_PXA_NON8250) += pxa.o 693b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_PMACZILOG) += pmac_zilog.o 703b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_QCOM_GENI) += qcom_geni_serial.o 713b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_QE) += ucc_uart.o 723b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_RDA) += rda-uart.o 733b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_RP2) += rp2.o 743b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_SA1100) += sa1100.o 753b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_SAMSUNG) += samsung_tty.o 76ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o 771d65c0b1SAlexander Shiyanobj-$(CONFIG_SERIAL_SCCNXP) += sccnxp.o 78*4e534ff4SHugo Villeneuveobj-$(CONFIG_SERIAL_SC16IS7XX) += sc16is7xx.o 79d4921643SHugo Villeneuveobj-$(CONFIG_SERIAL_SC16IS7XX_SPI) += sc16is7xx_spi.o 80d4921643SHugo Villeneuveobj-$(CONFIG_SERIAL_SC16IS7XX_I2C) += sc16is7xx_i2c.o 813b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o 823b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_SIFIVE) += sifive.o 833b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_SPRD) += sprd_serial.o 84c4b05856SSrinivas Kandagatlaobj-$(CONFIG_SERIAL_ST_ASC) += st-asc.o 853b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_STM32) += stm32-usart.o 863b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_SUNPLUS) += sunplus-uart.o 87e9ea096dSLaxman Dewanganobj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.o 882d908b38SThierry Redingobj-$(CONFIG_SERIAL_TEGRA_TCU) += tegra-tcu.o 893b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_TIMBERDALE) += timbuart.o 903b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o 913b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o 923b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o 933b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o 943b609120SIlpo Järvinenobj-$(CONFIG_SERIAL_ZS) += zs.o 9584130aacSRichard Genoud 9684130aacSRichard Genoud# GPIOLIB helpers for modem control lines 9784130aacSRichard Genoudobj-$(CONFIG_SERIAL_MCTRL_GPIO) += serial_mctrl_gpio.o 980fe07647SNicolae Rosia 990fe07647SNicolae Rosiaobj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o 1000fe07647SNicolae Rosiaobj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o 101930cbf92SJacky Huangobj-$(CONFIG_SERIAL_NUVOTON_MA35D1) += ma35d1_serial.o 102