xref: /openbmc/linux/drivers/tty/serial/Makefile (revision 359fb3f8)
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
6ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_CORE) += serial_core.o
7ab4382d2SGreg Kroah-Hartman
89aac5887SRob Herringobj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
9*359fb3f8SBin Mengobj-$(CONFIG_SERIAL_EARLYCON_SEMIHOST) += earlycon-semihost.o
1027de1f54SAnup Patelobj-$(CONFIG_SERIAL_EARLYCON_RISCV_SBI) += earlycon-riscv-sbi.o
119aac5887SRob Herring
12ab4382d2SGreg Kroah-Hartman# These Sparc drivers have to appear before others such as 8250
13ab4382d2SGreg Kroah-Hartman# which share ttySx minor node space.  Otherwise console device
14ab4382d2SGreg Kroah-Hartman# names change and other unplesantries.
15ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
16ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
17ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
18ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
19ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
20ab4382d2SGreg Kroah-Hartman
218e1c21f4SNicolas Pitreobj-$(CONFIG_SERIAL_21285) += 21285.o
228e1c21f4SNicolas Pitre
239bef3d41SPaul Gortmaker# Now bring in any enabled 8250/16450/16550 type drivers.
249bef3d41SPaul Gortmakerobj-$(CONFIG_SERIAL_8250) += 8250/
259bef3d41SPaul Gortmaker
26ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o
27ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o
28ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
29ab28f51cSSergey Yanovichobj-$(CONFIG_SERIAL_PXA_NON8250) += pxa.o
30ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SA1100) += sa1100.o
31ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_BCM63XX) += bcm63xx_uart.o
3255ed51ffSSudip Mukherjeeobj-$(CONFIG_SERIAL_SAMSUNG) += samsung_tty.o
33ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MAX3100) += max3100.o
34f6544418SAlexander Shiyanobj-$(CONFIG_SERIAL_MAX310X) += max310x.o
35ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o
36ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MUX) += mux.o
37ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MCF) += mcf.o
38ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_PMACZILOG) += pmac_zilog.o
39596f93f5SRoland Stiggeobj-$(CONFIG_SERIAL_HS_LPC32XX) += lpc32xx_hs.o
40ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_DZ) += dz.o
41ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_ZS) += zs.o
42ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
43ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_CPM) += cpm_uart/
44ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_IMX) += imx.o
45ea1fc02eSFugang Duanobj-$(CONFIG_SERIAL_IMX_EARLYCON) += imx_earlycon.o
46ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MPC52xx) += mpc52xx_uart.o
47ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_ICOM) += icom.o
48ff7693d0SCarlo Caioneobj-$(CONFIG_SERIAL_MESON) += meson_uart.o
49ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o
501d65c0b1SAlexander Shiyanobj-$(CONFIG_SERIAL_SCCNXP) += sccnxp.o
512c837a8aSRama Kiran Kumar Indrakantiobj-$(CONFIG_SERIAL_SC16IS7XX_CORE) += sc16is7xx.o
52ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_JSM) += jsm/
53ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
54ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o
55ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o
56ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MSM) += msm_serial.o
57c4f52879SKarthikeyan Ramasubramanianobj-$(CONFIG_SERIAL_QCOM_GENI) += qcom_geni_serial.o
58ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
59418a936eSTobias Klauserobj-$(CONFIG_SERIAL_ALTERA_UART) += altera_uart.o
60c4b05856SSrinivas Kandagatlaobj-$(CONFIG_SERIAL_ST_ASC) += st-asc.o
61ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_QE) += ucc_uart.o
62ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_TIMBERDALE)	+= timbuart.o
63ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
64ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o
65ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o
66ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_PCH_UART)	+= pch_uart.o
67f19693a1SSascha Hauerobj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
682f0fc415SJohn Crispinobj-$(CONFIG_SERIAL_LANTIQ)	+= lantiq.o
6961ec9016SJohn Linnobj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o
70e9ea096dSLaxman Dewanganobj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.o
712d908b38SThierry Redingobj-$(CONFIG_SERIAL_TEGRA_TCU) += tegra-tcu.o
72d57f341bSGabor Juhosobj-$(CONFIG_SERIAL_AR933X)   += ar933x_uart.o
732ac4ad2aSVineet Guptaobj-$(CONFIG_SERIAL_ARC)	+= arc_uart.o
747d9f49afSKevin Cernekeeobj-$(CONFIG_SERIAL_RP2)	+= rp2.o
75c9e2e946SJingchang Luobj-$(CONFIG_SERIAL_FSL_LPUART)	+= fsl_lpuart.o
7609864c1cSStefan-gabriel Mireaobj-$(CONFIG_SERIAL_FSL_LINFLEXUART)	+= fsl_linflexuart.o
775930cb35SBaruch Siachobj-$(CONFIG_SERIAL_CONEXANT_DIGICOLOR)	+= digicolor-usart.o
78e264ebf4SJohannes Thumshirnobj-$(CONFIG_SERIAL_MEN_Z135)	+= men_z135_uart.o
79b7396a38SChunyan Zhangobj-$(CONFIG_SERIAL_SPRD) += sprd_serial.o
8048a6092fSMaxime Coquelinobj-$(CONFIG_SERIAL_STM32)	+= stm32-usart.o
8130530791SWilson Dingobj-$(CONFIG_SERIAL_MVEBU_UART)	+= mvebu-uart.o
82157b9394SAndrei Pistiricaobj-$(CONFIG_SERIAL_PIC32)	+= pic32_uart.o
83041f031dSVladimir Murzinobj-$(CONFIG_SERIAL_MPS2_UART)	+= mps2-uart.o
84e36361d7SAndreas Färberobj-$(CONFIG_SERIAL_OWL)	+= owl-uart.o
85c10b1332SManivannan Sadhasivamobj-$(CONFIG_SERIAL_RDA)	+= rda-uart.o
86ba44dc04SSugaya Taichiobj-$(CONFIG_SERIAL_MILBEAUT_USIO) += milbeaut_usio.o
8745c054d0SPaul Walmsleyobj-$(CONFIG_SERIAL_SIFIVE)	+= sifive.o
881da81e55SFilip Kokosinskiobj-$(CONFIG_SERIAL_LITEUART) += liteuart.o
899e8d5470SHammer Hsiehobj-$(CONFIG_SERIAL_SUNPLUS)	+= sunplus-uart.o
9084130aacSRichard Genoud
9184130aacSRichard Genoud# GPIOLIB helpers for modem control lines
9284130aacSRichard Genoudobj-$(CONFIG_SERIAL_MCTRL_GPIO)	+= serial_mctrl_gpio.o
930fe07647SNicolae Rosia
940fe07647SNicolae Rosiaobj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o
950fe07647SNicolae Rosiaobj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
96