Skip to content

serial: lantiq: Update driver to support new SoC

Rahul Tanwar linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 3 repliesIn review

Changes in v2 from the cover letter

* Address review concerns.
* Separate dt binding document from this patch series. Will try to push it separately by first converting existing txt file to YAML and then add new properties.
* Omit resending one patch in this series which is already reviewed & added to tty-next.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: lantiq: Use proper DT compatible stringdrivers/tty/serial/lantiq.c+2 -21 reply
2/3serial: lantiq: Make IRQ & ISR assignment dynamicdrivers/tty/serial/lantiq.c+96 -451 reply
3/3serial: lantiq: Add support for Lightning Mountain SoCdrivers/tty/serial/lantiq.c+71 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] serial: lantiq: Update driver to support new SoC

There is a new Intel Atom based Lightning Mountain(LGM) network processor SoC which reuses Lantiq ASC serial controller IP. This patch series updates the driver design and code to add support for LGM SoC as well.

These patches are baselined upon Linux 5.3-rc2 at below Git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git

Patch 1 modifies devicetree compatible string to a use explicit string instead of a fixed macro because this patch series adds support for multiple SoCs.

Patch 2 modifies driver design to support dynamic assignment of IRQ resources & ISRs based on devicetree node compatible entries. This is because new LGM SoC supports single IRQ for all tx/rx/err interrupts while older SoCs support three separate IRQs for tx/rx/err interrupts.

Patch 3 adds LGM SoC specific IRQ/ISR support.

v2:
* Address review concerns.
* Separate dt binding document from this patch series. Will try to push it separately by first converting existing txt file to YAML and then add new properties.
* Omit resending one patch in this series which is already reviewed & added to tty-next.

Rahul Tanwar (3):
serial: lantiq: Use proper DT compatible string
serial: lantiq: Make IRQ & ISR assignment dynamic
serial: lantiq: Add support for Lightning Mountain SoC

 drivers/tty/serial/lantiq.c | 214 ++++++++++++++++++++++++++++++++++----------
 1 file changed, 168 insertions(+), 46 deletions(-)
Signature · 1 line
2.11.0