xref: /openbmc/linux/drivers/tty/serial/Makefile (revision 84130aac)
1ab4382d2SGreg Kroah-Hartman#
2ab4382d2SGreg Kroah-Hartman# Makefile for the kernel serial device drivers.
3ab4382d2SGreg Kroah-Hartman#
4ab4382d2SGreg Kroah-Hartman
5ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_CORE) += serial_core.o
6ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_21285) += 21285.o
7ab4382d2SGreg Kroah-Hartman
89aac5887SRob Herringobj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
9d50d7269SRob Herringobj-$(CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST) += earlycon-arm-semihost.o
109aac5887SRob Herring
11ab4382d2SGreg Kroah-Hartman# These Sparc drivers have to appear before others such as 8250
12ab4382d2SGreg Kroah-Hartman# which share ttySx minor node space.  Otherwise console device
13ab4382d2SGreg Kroah-Hartman# names change and other unplesantries.
14ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
15ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
16ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
17ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
18ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
19ab4382d2SGreg Kroah-Hartman
209bef3d41SPaul Gortmaker# Now bring in any enabled 8250/16450/16550 type drivers.
219bef3d41SPaul Gortmakerobj-$(CONFIG_SERIAL_8250) += 8250/
229bef3d41SPaul Gortmaker
23ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o
24ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o
25ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
26ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_PXA) += pxa.o
27ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_PNX8XXX) += pnx8xxx_uart.o
28ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SA1100) += sa1100.o
29ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_BCM63XX) += bcm63xx_uart.o
300c6967b5SSonic Zhangobj-$(CONFIG_SERIAL_BFIN) += bfin_uart.o
31ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_BFIN_SPORT) += bfin_sport_uart.o
32ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SAMSUNG) += samsung.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_68328) += 68328serial.o
38ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MCF) += mcf.o
39ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_PMACZILOG) += pmac_zilog.o
40596f93f5SRoland Stiggeobj-$(CONFIG_SERIAL_HS_LPC32XX) += lpc32xx_hs.o
41ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_DZ) += dz.o
42ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_ZS) += zs.o
43ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
44ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SGI_L1_CONSOLE) += sn_console.o
45ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_CPM) += cpm_uart/
46ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_IMX) += imx.o
47ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MPC52xx) += mpc52xx_uart.o
48ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_ICOM) += icom.o
49ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_M32R_SIO) += m32r_sio.o
50ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MPSC) += mpsc.o
51ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o
52ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_ETRAX_SERIAL) += crisv10.o
531d65c0b1SAlexander Shiyanobj-$(CONFIG_SERIAL_SCCNXP) += sccnxp.o
54dfeae619SJon Ringleobj-$(CONFIG_SERIAL_SC16IS7XX) += sc16is7xx.o
55ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_JSM) += jsm/
56ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
57ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o
58ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o
59ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_SGI_IOC3) += ioc3_serial.o
60ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o
61ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o
62ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MSM) += msm_serial.o
6355046237SMayank Ranaobj-$(CONFIG_SERIAL_MSM_HS) += msm_serial_hs.o
64ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_NETX) += netx-serial.o
65ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
66ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL) += nwpserial.o
670c57dfccSAnton Vorontsovobj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o
68ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
69ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
70418a936eSTobias Klauserobj-$(CONFIG_SERIAL_ALTERA_UART) += altera_uart.o
71c4b05856SSrinivas Kandagatlaobj-$(CONFIG_SERIAL_ST_ASC) += st-asc.o
72b5c6c1a7SChris Metcalfobj-$(CONFIG_SERIAL_TILEGX) += tilegx.o
73ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
74ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_QE) += ucc_uart.o
75ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_TIMBERDALE)	+= timbuart.o
76ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
77ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o
78ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o
79ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MRST_MAX3110)	+= mrst_max3110.o
80ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_MFD_HSU)	+= mfd.o
81ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_IFX6X60)  	+= ifx6x60.o
82ab4382d2SGreg Kroah-Hartmanobj-$(CONFIG_SERIAL_PCH_UART)	+= pch_uart.o
83daaf6ff4SNiranjana Vishwanathapuraobj-$(CONFIG_SERIAL_MSM_SMD)	+= msm_smd_tty.o
84f19693a1SSascha Hauerobj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
852f0fc415SJohn Crispinobj-$(CONFIG_SERIAL_LANTIQ)	+= lantiq.o
8661ec9016SJohn Linnobj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o
87161e773cSRong Wangobj-$(CONFIG_SERIAL_SIRFSOC) += sirfsoc_uart.o
88e9ea096dSLaxman Dewanganobj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.o
89d57f341bSGabor Juhosobj-$(CONFIG_SERIAL_AR933X)   += ar933x_uart.o
903afbd89cSUwe Kleine-Königobj-$(CONFIG_SERIAL_EFM32_UART) += efm32-uart.o
912ac4ad2aSVineet Guptaobj-$(CONFIG_SERIAL_ARC)	+= arc_uart.o
927d9f49afSKevin Cernekeeobj-$(CONFIG_SERIAL_RP2)	+= rp2.o
93c9e2e946SJingchang Luobj-$(CONFIG_SERIAL_FSL_LPUART)	+= fsl_lpuart.o
94e264ebf4SJohannes Thumshirnobj-$(CONFIG_SERIAL_MEN_Z135)	+= men_z135_uart.o
9584130aacSRichard Genoud
9684130aacSRichard Genoud# GPIOLIB helpers for modem control lines
9784130aacSRichard Genoudobj-$(CONFIG_SERIAL_MCTRL_GPIO)	+= serial_mctrl_gpio.o
98