OpenCloudOS-Kernel/drivers/tty/serial/8250
Cameron Williams f35ce68d39 tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
commit e4876dacaca46a1b09f9b417480924ab12019a5b upstream.

Some of the later revisions of the Brainboxes PX cards are based
on the Oxford Semiconductor chipset. Due to the chip's unique setup
these cards need to be initialised.
Previously these were tested against a reference card with the same broken
baudrate on another PC, cancelling out the effect. With this patch they
work and can transfer/receive find against an FTDI-based device.

Add all of the cards which require this setup to the quirks table.
Thanks to Maciej W. Rozycki for clarification on this chip.

Fixes: ef5a03a26c ("tty: 8250: Add support for Brainboxes PX cards.")
Cc: stable@vger.kernel.org
Signed-off-by: Cameron Williams <cang1@live.co.uk>
Link: https://lore.kernel.org/r/DU0PR02MB7899D222A4AB2A4E8C57108FC4DBA@DU0PR02MB7899.eurprd02.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-08 11:56:24 +01:00
..
8250.h Revert "8250: add support for ASIX devices with a FIFO bug" 2023-06-21 17:55:53 +02:00
8250_accent.c
8250_acorn.c
8250_alpha.c serial: 8250: Move Alpha-specific quirk out of the core 2021-12-30 13:23:44 +01:00
8250_aspeed_vuart.c serial: 8250: synchronize and annotate UART_IER access 2023-05-30 11:45:42 +01:00
8250_bcm2835aux.c serial: 8250_bcm2835aux: Add missing clk_disable_unprepare() 2022-07-28 10:33:44 +02:00
8250_bcm7271.c serial: 8250_bcm7271: improve bcm7271 8250 port 2023-08-22 15:30:59 +02:00
8250_boca.c
8250_core.c serial: 8250: Reinit port_id when adding back serial8250_isa_devs 2023-08-04 15:11:59 +02:00
8250_dfl.c tty: serial: 8250: add DFL bus driver for Altera 16550. 2023-01-19 16:07:40 +01:00
8250_dma.c serial: 8250_dma: Fix DMA Rx rearm race 2023-01-31 11:15:16 +01:00
8250_dw.c serial: 8250_dw: fall back to poll if there's no interrupt 2023-08-22 15:29:29 +02:00
8250_dwlib.c serial: 8250_dw: Preserve original value of DLF register 2023-07-25 20:31:31 +02:00
8250_dwlib.h serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_early.c tty: Explicitly include correct DT includes 2023-07-25 20:19:05 +02:00
8250_em.c serial: 8250: Change dl_read/write to handle value as u32 2023-05-13 19:47:26 +09:00
8250_exar.c serial: 8250: lock port in startup() callbacks 2023-05-30 11:45:42 +01:00
8250_exar_st16c554.c
8250_fintek.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_fourport.c
8250_fsl.c serial: 8250: Apply FSL workarounds also without SERIAL_8250_CONSOLE 2023-06-13 12:27:05 +02:00
8250_hp300.c
8250_hub6.c
8250_ingenic.c tty: Explicitly include correct DT includes 2023-07-25 20:19:05 +02:00
8250_ioc3.c Fix up remaining devm_ioremap_nocache() in SGI IOC3 8250 UART driver 2020-02-08 14:19:39 -08:00
8250_lpc18xx.c serial: 8250: lpc18xx: Remove redundant sanity check for RS485 flags 2022-07-14 16:34:24 +02:00
8250_lpss.c serial: 8250_lpss: Use 16B DMA burst with Elkhart Lake 2022-11-09 13:04:39 +01:00
8250_men_mcb.c 8250_men_mcb: remove unnecessary cast when reading register 2023-08-04 15:09:51 +02:00
8250_mid.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_mtk.c serial: 8250_mtk: Simplify clock sequencing and runtime PM 2023-06-06 14:43:13 +02:00
8250_of.c serial: 8250: Apply FSL workarounds also without SERIAL_8250_CONSOLE 2023-06-13 12:27:05 +02:00
8250_omap.c serial: 8250_omap: Fix errors with no_console_suspend 2023-10-03 15:01:29 +02:00
8250_parisc.c parisc/serial: Rename 8250_gsc.c to 8250_parisc.c 2022-10-21 08:10:46 +02:00
8250_pci.c tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks 2023-11-08 11:56:24 +01:00
8250_pci1xxxx.c serial: 8250_pci1xxxx: Add power management functions to quad-uart driver 2023-02-08 13:10:15 +01:00
8250_pcilib.c serial: 8250_pci: Add serial8250_pci_setup_port definition in 8250_pcilib.c 2023-02-08 13:10:15 +01:00
8250_pcilib.h serial: 8250_pci: Add serial8250_pci_setup_port definition in 8250_pcilib.c 2023-02-08 13:10:15 +01:00
8250_pericom.c serial: 8250_pericom: Use UART_LCR_DLAB 2022-06-27 14:33:15 +02:00
8250_pnp.c serial: 8250: remove duplicated BRI0A49 and BDP3336 entries 2021-09-22 16:59:13 +02:00
8250_port.c serial: 8250_port: Check IRQ data before use 2023-09-18 10:05:15 +02:00
8250_pxa.c tty: serial: 8250: Define earlycon for mrvl,mmp-uart 2023-07-25 20:22:30 +02:00
8250_rt288x.c serial: 8250_rt288x: Remove unnecessary UART_REG_UNMAPPED 2023-05-13 19:47:26 +09:00
8250_tegra.c serial: 8250_tegra: Fix an error handling path in tegra_uart_probe() 2023-05-30 12:24:07 +01:00
8250_uniphier.c serial: 8250: Change dl_read/write to handle value as u32 2023-05-13 19:47:26 +09:00
Kconfig serial: 8250: Apply FSL workarounds also without SERIAL_8250_CONSOLE 2023-06-13 12:27:05 +02:00
Makefile serial: 8250: RT288x/Au1xxx code away from core 2023-05-13 19:47:26 +09:00
serial_cs.c serial_cs: Add Option International GSM-Ready 56K/ISDN modem 2021-06-16 09:20:29 +02:00