162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the kernel serial device drivers.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_CORE) += serial_base.o
762306a36Sopenharmony_ciserial_base-y := serial_core.o serial_base_bus.o serial_ctrl.o serial_port.o
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
1062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_EARLYCON_SEMIHOST) += earlycon-semihost.o
1162306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_EARLYCON_RISCV_SBI) += earlycon-riscv-sbi.o
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci# These Sparc drivers have to appear before others such as 8250
1462306a36Sopenharmony_ci# which share ttySx minor node space.  Otherwise console device
1562306a36Sopenharmony_ci# names change and other unplesantries.
1662306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
1762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
1862306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
1962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
2062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_21285) += 21285.o
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci# Now bring in any enabled 8250/16450/16550 type drivers.
2562306a36Sopenharmony_ciobj-y += 8250/
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o
2862306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o
2962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
3062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_PXA_NON8250) += pxa.o
3162306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SA1100) += sa1100.o
3262306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_BCM63XX) += bcm63xx_uart.o
3362306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SAMSUNG) += samsung_tty.o
3462306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MAX3100) += max3100.o
3562306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MAX310X) += max310x.o
3662306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o
3762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MUX) += mux.o
3862306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MCF) += mcf.o
3962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_PMACZILOG) += pmac_zilog.o
4062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_HS_LPC32XX) += lpc32xx_hs.o
4162306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_DZ) += dz.o
4262306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_ZS) += zs.o
4362306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
4462306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_CPM) += cpm_uart.o
4562306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_IMX) += imx.o
4662306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_IMX_EARLYCON) += imx_earlycon.o
4762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MPC52xx) += mpc52xx_uart.o
4862306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_ICOM) += icom.o
4962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MESON) += meson_uart.o
5062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o
5162306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SCCNXP) += sccnxp.o
5262306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SC16IS7XX_CORE) += sc16is7xx.o
5362306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_JSM) += jsm/
5462306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
5562306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o
5662306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o
5762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MSM) += msm_serial.o
5862306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_QCOM_GENI) += qcom_geni_serial.o
5962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
6062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_ALTERA_UART) += altera_uart.o
6162306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_ST_ASC) += st-asc.o
6262306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_QE) += ucc_uart.o
6362306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_TIMBERDALE)	+= timbuart.o
6462306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
6562306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o
6662306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o
6762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_PCH_UART)	+= pch_uart.o
6862306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
6962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_LANTIQ)	+= lantiq.o
7062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o
7162306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.o
7262306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_TEGRA_TCU) += tegra-tcu.o
7362306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_AR933X)   += ar933x_uart.o
7462306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_ARC)	+= arc_uart.o
7562306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_RP2)	+= rp2.o
7662306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_FSL_LPUART)	+= fsl_lpuart.o
7762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_FSL_LINFLEXUART)	+= fsl_linflexuart.o
7862306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_CONEXANT_DIGICOLOR)	+= digicolor-usart.o
7962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MEN_Z135)	+= men_z135_uart.o
8062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SPRD) += sprd_serial.o
8162306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_STM32)	+= stm32-usart.o
8262306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MVEBU_UART)	+= mvebu-uart.o
8362306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_PIC32)	+= pic32_uart.o
8462306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MPS2_UART)	+= mps2-uart.o
8562306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_OWL)	+= owl-uart.o
8662306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_RDA)	+= rda-uart.o
8762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MILBEAUT_USIO) += milbeaut_usio.o
8862306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SIFIVE)	+= sifive.o
8962306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_LITEUART) += liteuart.o
9062306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_SUNPLUS)	+= sunplus-uart.o
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_ci# GPIOLIB helpers for modem control lines
9362306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_MCTRL_GPIO)	+= serial_mctrl_gpio.o
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o
9662306a36Sopenharmony_ciobj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
9762306a36Sopenharmony_ciobj-$(CONFIG_SERIAL_NUVOTON_MA35D1) += ma35d1_serial.o
98