]> git.baikalelectronics.ru Git - kernel.git/commit
serial: lantiq: Make IRQ & ISR assignment dynamic
authorRahul Tanwar <rahul.tanwar@linux.intel.com>
Thu, 8 Aug 2019 10:02:07 +0000 (18:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 10:43:53 +0000 (12:43 +0200)
commita8ca5058635bd611838d0cf834d9c5e01996d081
tree88e8d1fa6df8c9138628ba09bafc66c7bd95aaca
parentc41a9133266d49120de9c70915d3b932d474cede
serial: lantiq: Make IRQ & ISR assignment dynamic

This driver/IP is reused across multiple SoCs. Older SoCs supported three
separate IRQs for tx, rx & err interrupts. Newer Lightning Mountain SoC
supports single IRQ for all of tx/rx/err interrupts. This patch modifies
the driver design to support dynamic assignment of IRQ resources & ISRs
based on devicetree node compatible entries.

Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Rahul Tanwar <rahul.tanwar@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Link: https://lore.kernel.org/r/b166a0593bee191fcd77b5bdf8fedc6f6330a371.1565257887.git.rahul.tanwar@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/lantiq.c