124139Sjoerg# SPDX-License-Identifier: GPL-2.0
224139Sjoerg#
324139Sjoerg# Makefile for the kernel serial device drivers.
424139Sjoerg#
524139Sjoerg
689750Sdwmaloneobj-$(CONFIG_SERIAL_CORE) += serial_base.o
724139Sjoergserial_base-y := serial_core.o serial_base_bus.o serial_ctrl.o serial_port.o
824139Sjoerg
924139Sjoergobj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
1024139Sjoergobj-$(CONFIG_SERIAL_EARLYCON_SEMIHOST) += earlycon-semihost.o
1124139Sjoergobj-$(CONFIG_SERIAL_EARLYCON_RISCV_SBI) += earlycon-riscv-sbi.o
1224139Sjoerg
1324139Sjoerg# These Sparc drivers have to appear before others such as 8250
1424139Sjoerg# which share ttySx minor node space.  Otherwise console device
1524139Sjoerg# names change and other unplesantries.
1624139Sjoergobj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
1724139Sjoergobj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
1824139Sjoergobj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
1924139Sjoergobj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
2024139Sjoergobj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
2124139Sjoerg
2224139Sjoergobj-$(CONFIG_SERIAL_21285) += 21285.o
2324139Sjoerg
2424139Sjoerg# Now bring in any enabled 8250/16450/16550 type drivers.
2524139Sjoergobj-y += 8250/
2624139Sjoerg
2724139Sjoergobj-$(CONFIG_SERIAL_ALTERA_JTAGUART)	+= altera_jtaguart.o
2824139Sjoergobj-$(CONFIG_SERIAL_ALTERA_UART)	+= altera_uart.o
2924139Sjoergobj-$(CONFIG_SERIAL_AMBA_PL010)		+= amba-pl010.o
3024139Sjoergobj-$(CONFIG_SERIAL_AMBA_PL011)		+= amba-pl011.o
3124139Sjoergobj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
3224139Sjoergobj-$(CONFIG_SERIAL_AR933X)		+= ar933x_uart.o
3324139Sjoergobj-$(CONFIG_SERIAL_ARC)		+= arc_uart.o
3424139Sjoergobj-$(CONFIG_SERIAL_ATMEL)		+= atmel_serial.o
3524139Sjoergobj-$(CONFIG_SERIAL_BCM63XX)		+= bcm63xx_uart.o
3624139Sjoergobj-$(CONFIG_SERIAL_CLPS711X)		+= clps711x.o
3724139Sjoergobj-$(CONFIG_SERIAL_CPM)		+= cpm_uart.o
3824139Sjoergobj-$(CONFIG_SERIAL_CONEXANT_DIGICOLOR)	+= digicolor-usart.o
3924139Sjoergobj-$(CONFIG_SERIAL_DZ)			+= dz.o
4024139Sjoergobj-$(CONFIG_SERIAL_ESP32)		+= esp32_uart.o
4124139Sjoergobj-$(CONFIG_SERIAL_ESP32_ACM)		+= esp32_acm.o
4224139Sjoergobj-$(CONFIG_SERIAL_FSL_LINFLEXUART)	+= fsl_linflexuart.o
4324139Sjoergobj-$(CONFIG_SERIAL_FSL_LPUART)		+= fsl_lpuart.o
4424139Sjoergobj-$(CONFIG_SERIAL_ICOM)		+= icom.o
4524139Sjoergobj-$(CONFIG_SERIAL_IMX)		+= imx.o
4624139Sjoergobj-$(CONFIG_SERIAL_IMX_EARLYCON)	+= imx_earlycon.o
4724139Sjoergobj-$(CONFIG_SERIAL_IP22_ZILOG)		+= ip22zilog.o
4824139Sjoergobj-$(CONFIG_SERIAL_JSM)		+= jsm/
4924139Sjoergobj-$(CONFIG_SERIAL_LANTIQ)		+= lantiq.o
5024139Sjoergobj-$(CONFIG_SERIAL_LITEUART)		+= liteuart.o
5124139Sjoergobj-$(CONFIG_SERIAL_HS_LPC32XX)		+= lpc32xx_hs.o
5224139Sjoergobj-$(CONFIG_SERIAL_MAX3100)		+= max3100.o
5324139Sjoergobj-$(CONFIG_SERIAL_MAX310X)		+= max310x.o
5424139Sjoergobj-$(CONFIG_SERIAL_MCF)		+= mcf.o
5524139Sjoergobj-$(CONFIG_SERIAL_MEN_Z135)		+= men_z135_uart.o
5624139Sjoergobj-$(CONFIG_SERIAL_MILBEAUT_USIO)	+= milbeaut_usio.o
5724139Sjoergobj-$(CONFIG_SERIAL_MESON)		+= meson_uart.o
5824139Sjoergobj-$(CONFIG_SERIAL_MPC52xx)		+= mpc52xx_uart.o
5924139Sjoergobj-$(CONFIG_SERIAL_MPS2_UART)		+= mps2-uart.o
6024139Sjoergobj-$(CONFIG_SERIAL_MSM)		+= msm_serial.o
6124139Sjoergobj-$(CONFIG_SERIAL_MUX)		+= mux.o
6224139Sjoergobj-$(CONFIG_SERIAL_MVEBU_UART)		+= mvebu-uart.o
6324139Sjoergobj-$(CONFIG_SERIAL_MXS_AUART)		+= mxs-auart.o
6424139Sjoergobj-$(CONFIG_SERIAL_OMAP)		+= omap-serial.o
6524139Sjoergobj-$(CONFIG_SERIAL_OWL)		+= owl-uart.o
6624139Sjoergobj-$(CONFIG_SERIAL_PCH_UART)		+= pch_uart.o
6724139Sjoergobj-$(CONFIG_SERIAL_PIC32)		+= pic32_uart.o
6824139Sjoergobj-$(CONFIG_SERIAL_PXA_NON8250)	+= pxa.o
6924139Sjoergobj-$(CONFIG_SERIAL_PMACZILOG)		+= pmac_zilog.o
7024139Sjoergobj-$(CONFIG_SERIAL_QCOM_GENI)		+= qcom_geni_serial.o
7124139Sjoergobj-$(CONFIG_SERIAL_QE)			+= ucc_uart.o
7224139Sjoergobj-$(CONFIG_SERIAL_RDA)		+= rda-uart.o
7324139Sjoergobj-$(CONFIG_SERIAL_RP2)		+= rp2.o
7424139Sjoergobj-$(CONFIG_SERIAL_SA1100)		+= sa1100.o
7524139Sjoergobj-$(CONFIG_SERIAL_SAMSUNG)		+= samsung_tty.o
7624139Sjoergobj-$(CONFIG_SERIAL_SB1250_DUART)	+= sb1250-duart.o
7724139Sjoergobj-$(CONFIG_SERIAL_SCCNXP)		+= sccnxp.o
7824139Sjoergobj-$(CONFIG_SERIAL_SC16IS7XX_CORE)	+= sc16is7xx.o
7924139Sjoergobj-$(CONFIG_SERIAL_SH_SCI)		+= sh-sci.o
8024139Sjoergobj-$(CONFIG_SERIAL_SIFIVE)		+= sifive.o
8124139Sjoergobj-$(CONFIG_SERIAL_SPRD)		+= sprd_serial.o
8224139Sjoergobj-$(CONFIG_SERIAL_ST_ASC)		+= st-asc.o
8324139Sjoergobj-$(CONFIG_SERIAL_STM32)		+= stm32-usart.o
8424139Sjoergobj-$(CONFIG_SERIAL_SUNPLUS)		+= sunplus-uart.o
8524139Sjoergobj-$(CONFIG_SERIAL_TEGRA)		+= serial-tegra.o
8624139Sjoergobj-$(CONFIG_SERIAL_TEGRA_TCU)		+= tegra-tcu.o
8724139Sjoergobj-$(CONFIG_SERIAL_TIMBERDALE)		+= timbuart.o
8824139Sjoergobj-$(CONFIG_SERIAL_TXX9)		+= serial_txx9.o
8924139Sjoergobj-$(CONFIG_SERIAL_UARTLITE)		+= uartlite.o
9024139Sjoergobj-$(CONFIG_SERIAL_VT8500)		+= vt8500_serial.o
9124139Sjoergobj-$(CONFIG_SERIAL_XILINX_PS_UART)	+= xilinx_uartps.o
9224139Sjoergobj-$(CONFIG_SERIAL_ZS)			+= zs.o
9324139Sjoerg
9424139Sjoerg# GPIOLIB helpers for modem control lines
9524139Sjoergobj-$(CONFIG_SERIAL_MCTRL_GPIO)	+= serial_mctrl_gpio.o
9624139Sjoerg
9724139Sjoergobj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o
9824139Sjoergobj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
9924139Sjoergobj-$(CONFIG_SERIAL_NUVOTON_MA35D1) += ma35d1_serial.o
10024139Sjoerg