Skip to content

Sketch for ZTE ZX296702 UART integration

Russell King - ARM Linux linux-arm-kernel linux-serial 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH DRAFT 0/2] Sketch for ZTE ZX296702 UART integration
Quoted 3 lines · Russell King - ARM Linux

So, I'm working on a replacement set of patches which does this the right way, and I'll post them later today or early tomorrow, depending on when I get them tested on the Versatile / Juno platforms.

Here's my version of the changes required, following the ideas I've put forward in previous threads. Build tested, but not boot tested yet. They're queued for my nightly build and boot test this evening.

The final patch in the series is experimental as it's missing the detection to make use of the ZTE UART bits. Also, I'm debating whether we should make that conditional on a config symbol so that non-ZTE platforms don't have to suffer the consequences of the conditional 32-bit accessor.

 drivers/tty/serial/amba-pl011.c | 341 ++++++++++++++++++++++++++--------------
 drivers/tty/serial/amba-pl011.h |  34 ++++
 include/linux/amba/serial.h     |  18 +++
 3 files changed, 272 insertions(+), 121 deletions(-)
Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.