OrangePi_CM5/drivers/tty/serial
Maciej W. Rozycki aaee3f6617 serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
commit 637674fa40059cddcc3ad2212728965072f62ea3 upstream.

The EndRun PTP/1588 dual serial port device is based on the Oxford
Semiconductor OXPCIe952 UART device with the PCI vendor:device ID set
for EndRun Technologies and is therefore driven by a fixed 62.5MHz clock
input derived from the 100MHz PCI Express clock.  The clock rate is
divided by the oversampling rate of 16 as it is supplied to the baud
rate generator, yielding the baud base of 3906250.

Replace the incorrect baud base of 4000000 with the right value of
3906250 then, complementing commit 6cbe45d8ac93 ("serial: 8250: Correct
the clock for OxSemi PCIe devices").

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Cc: stable <stable@kernel.org>
Fixes: 1bc8cde46a ("8250_pci: Added driver for Endrun Technologies PTP PCIe card.")
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2204181515270.9383@angie.orcam.me.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-09 09:04:59 +02:00
..
8250 serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device 2022-05-09 09:04:59 +02:00
cpm_uart
…
jsm tty: serial: jsm: hold port lock when reporting modem line changes 2021-09-18 13:40:20 +02:00
21285.c tty: serial: 21285: fix lockup on open 2020-10-28 13:39:14 +01:00
Kconfig tty: serial: imx: enable earlycon by default if IMX_SERIAL_CONSOLE is enabled 2020-11-06 17:23:49 +01:00
Makefile
…
altera_jtaguart.c
…
altera_uart.c
…
amba-pl010.c amba: Make the remove callback return void 2022-04-08 14:40:02 +02:00
amba-pl011.c amba: Make the remove callback return void 2022-04-08 14:40:02 +02:00
amba-pl011.h
…
apbuart.c
…
apbuart.h
…
ar933x_uart.c serial: ar933x_uart: disable clk on error handling path in probe 2020-11-12 09:41:07 +01:00
arc_uart.c
…
atmel_serial.c tty: serial: atmel: Call dma_async_issue_pending() 2022-01-27 10:53:50 +01:00
atmel_serial.h
…
bcm63xx_uart.c
…
clps711x.c
…
digicolor-usart.c
…
dz.c
…
dz.h
…
earlycon-arm-semihost.c
…
earlycon-riscv-sbi.c
…
earlycon.c
…
efm32-uart.c
…
fsl_linflexuart.c
…
fsl_lpuart.c Revert "tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP" 2021-12-17 10:14:39 +01:00
icom.c
…
icom.h
…
ifx6x60.c
…
ifx6x60.h
…
imx.c serial: imx: fix overrun interrupts in DMA mode 2022-05-09 09:04:59 +02:00
imx_earlycon.c
…
ip22zilog.c
…
ip22zilog.h
…
kgdb_nmi.c
…
kgdboc.c kgdboc: fix return value of __setup handler 2022-04-08 14:40:28 +02:00
lantiq.c
…
lpc32xx_hs.c
…
max310x.c serial: max310x: unregister uart driver in case of failure and abort 2021-06-03 09:00:40 +02:00
max3100.c
…
mcf.c
…
men_z135_uart.c
…
meson_uart.c
…
milbeaut_usio.c
…
mpc52xx_uart.c
…
mps2-uart.c
…
msm_serial.c tty: serial: msm_serial: Deactivate RX DMA for polling support 2021-12-08 09:03:28 +01:00
mux.c
…
mvebu-uart.c serial: mvebu-uart: fix driver's tx_empty callback 2021-09-30 10:11:01 +02:00
mxs-auart.c
…
omap-serial.c serial: omap: fix rs485 half-duplex filtering 2021-05-14 09:50:21 +02:00
owl-uart.c
…
pch_uart.c
…
pic32_uart.c
…
pic32_uart.h
…
pmac_zilog.c m68k: Fix WARNING splat in pmac_zilog driver 2020-12-30 11:54:11 +01:00
pmac_zilog.h
…
pnx8xxx_uart.c
…
pxa.c
…
qcom_geni_serial.c soc: qcom-geni-se: Cleanup the code to remove proxy votes 2021-04-07 15:00:13 +02:00
rda-uart.c
…
rp2.c serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait' 2021-06-03 09:00:34 +02:00
sa1100.c
…
samsung_tty.c serial: samsung_tty: do not unlock port->lock for uart_write_wakeup() 2022-04-13 21:01:02 +02:00
sb1250-duart.c
…
sc16is7xx.c sc16is7xx: Fix for incorrect data being transmitted 2022-03-02 11:42:53 +01:00
sccnxp.c
…
serial-tegra.c serial: tegra: Change lower tolerance baud rate limit for tegra20 and tegra30 2021-12-08 09:03:29 +01:00
serial_core.c serial: 8250: fix XOFF/XON sending when DMA is used 2022-04-08 14:40:28 +02:00
serial_mctrl_gpio.c
…
serial_mctrl_gpio.h
…
serial_txx9.c serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init 2020-11-06 17:24:41 +01:00
sh-sci.c serial: sh-sci: fix break handling for sysrq 2021-09-18 13:40:29 +02:00
sh-sci.h
…
sifive.c riscv: Fix sifive serial driver 2021-01-27 11:54:59 +01:00
sirfsoc_uart.c
…
sirfsoc_uart.h
…
sprd_serial.c
…
st-asc.c
…
stm32-usart.c serial: stm32: prevent TDR register overwrite when sending x_char 2022-03-08 19:09:30 +01:00
stm32-usart.h serial: stm32: fix tx_empty condition 2021-05-14 09:50:08 +02:00
suncore.c
…
sunhv.c
…
sunsab.c
…
sunsab.h
…
sunsu.c
…
sunzilog.c
…
sunzilog.h
…
tegra-tcu.c
…
timbuart.c
…
timbuart.h
…
uartlite.c tty: serial: uartlite: allow 64 bit address 2022-01-27 10:53:53 +01:00
ucc_uart.c
…
vr41xx_siu.c
…
vt8500_serial.c
…
xilinx_uartps.c serial: xilinx_uartps: Fix race condition causing stuck TX 2021-11-18 14:04:20 +01:00
zs.c
…
zs.h
…