Linux-Serial Archive on lore.kernel.org
 help / color / Atom feed
From: Rahul Tanwar <rahul.tanwar@linux.intel.com>
To: linux-serial@vger.kernel.org, gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, jslaby@suse.com,
	andriy.shevchenko@intel.com, qi-ming.wu@intel.com,
	cheol.yong.kim@intel.com, rahul.tanwar@intel.com,
	Rahul Tanwar <rahul.tanwar@linux.intel.com>
Subject: [PATCH v2 0/3] serial: lantiq: Update driver to support new SoC
Date: Thu,  8 Aug 2019 18:02:05 +0800
Message-ID: <cover.1565257887.git.rahul.tanwar@linux.intel.com> (raw)

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(-)

-- 
2.11.0

             reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08 10:02 Rahul Tanwar [this message]
2019-08-08 10:02 ` [PATCH v2 1/3] serial: lantiq: Use proper DT compatible string Rahul Tanwar
2019-08-08 11:20   ` Andy Shevchenko
2019-08-08 10:02 ` [PATCH v2 2/3] serial: lantiq: Make IRQ & ISR assignment dynamic Rahul Tanwar
2019-08-08 11:24   ` Andy Shevchenko
2019-08-08 10:02 ` [PATCH v2 3/3] serial: lantiq: Add support for Lightning Mountain SoC Rahul Tanwar
2019-08-08 11:26   ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1565257887.git.rahul.tanwar@linux.intel.com \
    --to=rahul.tanwar@linux.intel.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=cheol.yong.kim@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=qi-ming.wu@intel.com \
    --cc=rahul.tanwar@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Serial Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-serial/0 linux-serial/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-serial linux-serial/ https://lore.kernel.org/linux-serial \
		linux-serial@vger.kernel.org
	public-inbox-index linux-serial

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-serial


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git