mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 18:03:21 +07:00
a13e19cf3d
The SoCs, such as Intel Braswell, have DesignWare UART IP. Split out the support of such chips to a separate module which also will be used for Intel Quark later. The rationale to have the separate driver to be existing: - Do not contaminate 8250_pci.c anymore with LPSS related quirks - All of them are using same DMA engine and they are Designware IP which means that in the future we might share the code between 8250_dw.c and 8250_lpss.c - It reduces the kernel memory footprint on non-X86 machines where 8250_pci.c is in use Besides the split the driver also has been refactored, in particular a) the DMA and port setup are separate functions, b) the two new structures lpss8250 and lpss8250_board are introduced to keep necessary data instead of pciserial_board, c) DMA parameters are passed to the DMA setup via mentioned custom structure. Most of the changes are done due to the future support of UART DMA on Intel Quark. The Intel Quark UART DMA support is based on bits taking from BSP code published by Intel earlier. The driver does not use any specific power management. PCI core takes care of the default behaviour during suspend and resume. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Bryan O'Donoghue <pure.logic@nexus-software.ie> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
37 lines
1.5 KiB
Makefile
37 lines
1.5 KiB
Makefile
#
|
|
# Makefile for the 8250 serial device drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_SERIAL_8250) += 8250.o 8250_base.o
|
|
8250-y := 8250_core.o
|
|
8250-$(CONFIG_SERIAL_8250_PNP) += 8250_pnp.o
|
|
8250_base-y := 8250_port.o
|
|
8250_base-$(CONFIG_SERIAL_8250_DMA) += 8250_dma.o
|
|
8250_base-$(CONFIG_SERIAL_8250_FINTEK) += 8250_fintek.o
|
|
obj-$(CONFIG_SERIAL_8250_GSC) += 8250_gsc.o
|
|
obj-$(CONFIG_SERIAL_8250_PCI) += 8250_pci.o
|
|
obj-$(CONFIG_SERIAL_8250_HP300) += 8250_hp300.o
|
|
obj-$(CONFIG_SERIAL_8250_CS) += serial_cs.o
|
|
obj-$(CONFIG_SERIAL_8250_ACORN) += 8250_acorn.o
|
|
obj-$(CONFIG_SERIAL_8250_BCM2835AUX) += 8250_bcm2835aux.o
|
|
obj-$(CONFIG_SERIAL_8250_CONSOLE) += 8250_early.o
|
|
obj-$(CONFIG_SERIAL_8250_FOURPORT) += 8250_fourport.o
|
|
obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o
|
|
obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o
|
|
obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o
|
|
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
|
|
obj-$(CONFIG_SERIAL_8250_FSL) += 8250_fsl.o
|
|
obj-$(CONFIG_SERIAL_8250_DW) += 8250_dw.o
|
|
obj-$(CONFIG_SERIAL_8250_EM) += 8250_em.o
|
|
obj-$(CONFIG_SERIAL_8250_OMAP) += 8250_omap.o
|
|
obj-$(CONFIG_SERIAL_8250_LPC18XX) += 8250_lpc18xx.o
|
|
obj-$(CONFIG_SERIAL_8250_MT6577) += 8250_mtk.o
|
|
obj-$(CONFIG_SERIAL_8250_UNIPHIER) += 8250_uniphier.o
|
|
obj-$(CONFIG_SERIAL_8250_INGENIC) += 8250_ingenic.o
|
|
obj-$(CONFIG_SERIAL_8250_LPSS) += 8250_lpss.o
|
|
obj-$(CONFIG_SERIAL_8250_MID) += 8250_mid.o
|
|
obj-$(CONFIG_SERIAL_8250_MOXA) += 8250_moxa.o
|
|
obj-$(CONFIG_SERIAL_OF_PLATFORM) += 8250_of.o
|
|
|
|
CFLAGS_8250_ingenic.o += -I$(srctree)/scripts/dtc/libfdt
|