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