[RESEND PATCH v5 0/6] serial: mvebu-uart: Support for higher baudrates

Pali Rohár
2021-09-22T10:56:35Z

Per Greg's request I'm resending this patch series, please review it:
https://lore.kernel.org/linux-serial/YUmMli6LA%2F7Ew3hD@kroah.com/

This patch series add support for baudrates higher than 230400 on
Marvell Armada 37xx boards.

Pali Rohár (6):
math64: New DIV_U64_ROUND_CLOSEST helper
serial: mvebu-uart: implement UART clock driver for configuring UART
base clock
dt-bindings: mvebu-uart: document DT bindings for
marvell,armada-3700-uart-clock
dt-bindings: mvebu-uart: update information about UART clock
arm64: dts: marvell: armada-37xx: add device node for UART clock and
use it
serial: mvebu-uart: implement support for baudrates higher than 230400

.../bindings/clock/armada3700-uart-clock.yaml | 57 ++
.../devicetree/bindings/serial/mvebu-uart.txt | 9 +-
.../arm64/boot/dts/marvell/armada-3720-db.dts | 4 +
.../dts/marvell/armada-3720-espressobin.dtsi | 4 +
.../dts/marvell/armada-3720-turris-mox.dts | 4 +
.../boot/dts/marvell/armada-3720-uDPU.dts | 4 +
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 15 +-
drivers/tty/serial/Kconfig | 1 +
drivers/tty/serial/mvebu-uart.c | 592 +++++++++++++++++-
include/linux/math64.h | 13 +
10 files changed, 682 insertions(+), 21 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/armada3700-uart-clock.yaml

--
2.20.1