[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210625143617.12826-1-pali@kernel.org>
Date: Fri, 25 Jun 2021 16:36:06 +0200
From: Pali Rohár <pali@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Andrew Lunn <andrew@...n.ch>,
Gregory Clement <gregory.clement@...tlin.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Vladimir Vid <vladimir.vid@...tura.hr>,
Marek Behún <kabel@...nel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
linux-clk@...r.kernel.org, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v2 00/11] serial: mvebu-uart: Fixes and new support for higher baudrates
This patch series fixes mvebu-uart driver used on Marvell Armada 37xx
boards and add support for baudrates higher than 230400.
In v2 was added patch with DIV_U64_ROUND_CLOSEST helper and changed
patch "implement UART clock driver for configuring UART base clock" to
fix compile errors on 32-bit archs, including usage of new math helper.
Pali Rohár (11):
serial: mvebu-uart: fix calculation of clock divisor
serial: mvebu-uart: do not allow changing baudrate when uartclk is not
available
serial: mvebu-uart: correctly calculate minimal possible baudrate
dt-bindings: mvebu-uart: fix documentation
arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
serial: mvebu-uart: remove unused member nb from struct mvebu_uart
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
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.txt | 24 +
.../devicetree/bindings/serial/mvebu-uart.txt | 15 +-
.../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 | 17 +-
drivers/tty/serial/Kconfig | 1 +
drivers/tty/serial/mvebu-uart.c | 605 +++++++++++++++++-
include/linux/math64.h | 13 +
10 files changed, 661 insertions(+), 30 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/armada3700-uart-clock.txt
--
2.20.1
Powered by blists - more mailing lists