xref: /OK3568_Linux_fs/kernel/drivers/tty/serial/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Makefile for the kernel serial device drivers.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_CORE) += serial_core.o
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
9*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST) += earlycon-arm-semihost.o
10*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_EARLYCON_RISCV_SBI) += earlycon-riscv-sbi.o
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun# These Sparc drivers have to appear before others such as 8250
13*4882a593Smuzhiyun# which share ttySx minor node space.  Otherwise console device
14*4882a593Smuzhiyun# names change and other unplesantries.
15*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
16*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
17*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
18*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
19*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_21285) += 21285.o
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun# Now bring in any enabled 8250/16450/16550 type drivers.
24*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_8250) += 8250/
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o
27*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o
28*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
29*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_PXA_NON8250) += pxa.o
30*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_PNX8XXX) += pnx8xxx_uart.o
31*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SA1100) += sa1100.o
32*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_BCM63XX) += bcm63xx_uart.o
33*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SAMSUNG) += samsung_tty.o
34*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MAX3100) += max3100.o
35*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MAX310X) += max310x.o
36*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o
37*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MUX) += mux.o
38*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MCF) += mcf.o
39*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_PMACZILOG) += pmac_zilog.o
40*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_HS_LPC32XX) += lpc32xx_hs.o
41*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_DZ) += dz.o
42*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_ZS) += zs.o
43*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
44*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_CPM) += cpm_uart/
45*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_IMX) += imx.o
46*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_IMX_EARLYCON) += imx_earlycon.o
47*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MPC52xx) += mpc52xx_uart.o
48*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_ICOM) += icom.o
49*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MESON) += meson_uart.o
50*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o
51*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SCCNXP) += sccnxp.o
52*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SC16IS7XX_CORE) += sc16is7xx.o
53*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_JSM) += jsm/
54*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
55*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o
56*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o
57*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o
58*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MSM) += msm_serial.o
59*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MSM_GENI_EARLY_CONSOLE) += msm_geni_serial_earlycon.o
60*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_QCOM_GENI) += qcom_geni_serial.o
61*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
62*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_ALTERA_UART) += altera_uart.o
63*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_ST_ASC) += st-asc.o
64*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_QE) += ucc_uart.o
65*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_TIMBERDALE)	+= timbuart.o
66*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
67*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o
68*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o
69*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_IFX6X60)  	+= ifx6x60.o
70*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_PCH_UART)	+= pch_uart.o
71*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
72*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_LANTIQ)	+= lantiq.o
73*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o
74*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SIRFSOC) += sirfsoc_uart.o
75*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.o
76*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_TEGRA_TCU) += tegra-tcu.o
77*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_AR933X)   += ar933x_uart.o
78*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_EFM32_UART) += efm32-uart.o
79*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_ARC)	+= arc_uart.o
80*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_RP2)	+= rp2.o
81*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_FSL_LPUART)	+= fsl_lpuart.o
82*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_FSL_LINFLEXUART)	+= fsl_linflexuart.o
83*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_CONEXANT_DIGICOLOR)	+= digicolor-usart.o
84*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MEN_Z135)	+= men_z135_uart.o
85*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SPRD) += sprd_serial.o
86*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_STM32)	+= stm32-usart.o
87*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MVEBU_UART)	+= mvebu-uart.o
88*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_PIC32)	+= pic32_uart.o
89*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MPS2_UART)	+= mps2-uart.o
90*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_OWL)	+= owl-uart.o
91*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_RDA)	+= rda-uart.o
92*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MILBEAUT_USIO) += milbeaut_usio.o
93*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_SIFIVE)	+= sifive.o
94*4882a593Smuzhiyun
95*4882a593Smuzhiyun# GPIOLIB helpers for modem control lines
96*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_MCTRL_GPIO)	+= serial_mctrl_gpio.o
97*4882a593Smuzhiyun
98*4882a593Smuzhiyunobj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o
99*4882a593Smuzhiyunobj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
100