[RFC/PATCH 00/13] OMAP UART patches

2012-08-21 Thread Felipe Balbi
Hi guys,

here's a series of cleanup patches to the OMAP serial
driver. A later series could be made re-implementing
DMA using the DMA Engine API. Note that for RX DMA
we could be using RX Timeout IRQ as a hint that we better
use PIO instead ;-)

All patches were tested on my pandaboard, but I'd really
like to receive Tested-by on other platforms.

After this goes in, I'll probably try to get UART wakeup
working again and only after that look at DMA.

cheers

Felipe Balbi (13):
  serial: omap: define and use to_uart_omap_port()
  serial: omap: always return IRQ_HANDLED
  serial: omap: define helpers for pdata function pointers
  serial: omap: don't access the platform_device
  serial: omap: drop DMA support
  serial: add OMAP-specific defines
  serial: omap: simplify IRQ handling
  serial: omap: refactor receive_chars() into rdi/rlsi handlers
  serial: omap: move THRE check to transmit_chars()
  serial: omap: stick to put_autosuspend
  serial: omap: set dev-drvdata before enabling pm_runtime
  serial: omap: drop unnecessary check from remove
  serial: omap: make sure to suspend device before remove

 arch/arm/mach-omap2/serial.c  |  15 +-
 arch/arm/plat-omap/include/plat/omap-serial.h |  12 +-
 drivers/tty/serial/omap-serial.c  | 707 +-
 include/linux/serial_reg.h|   4 +
 4 files changed, 250 insertions(+), 488 deletions(-)

-- 
1.7.12.rc3

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [RFC/PATCH 00/13] OMAP UART patches

2012-08-21 Thread Shilimkar, Santosh
On Tue, Aug 21, 2012 at 2:45 PM, Felipe Balbi ba...@ti.com wrote:
 Hi guys,

 here's a series of cleanup patches to the OMAP serial
 driver. A later series could be made re-implementing
 DMA using the DMA Engine API. Note that for RX DMA
 we could be using RX Timeout IRQ as a hint that we better
 use PIO instead ;-)

 All patches were tested on my pandaboard, but I'd really
 like to receive Tested-by on other platforms.

 After this goes in, I'll probably try to get UART wakeup
 working again and only after that look at DMA.

 cheers

 Felipe Balbi (13):
   serial: omap: define and use to_uart_omap_port()
   serial: omap: always return IRQ_HANDLED
   serial: omap: define helpers for pdata function pointers
   serial: omap: don't access the platform_device
   serial: omap: drop DMA support
   serial: add OMAP-specific defines
   serial: omap: simplify IRQ handling
   serial: omap: refactor receive_chars() into rdi/rlsi handlers
   serial: omap: move THRE check to transmit_chars()
   serial: omap: stick to put_autosuspend
   serial: omap: set dev-drvdata before enabling pm_runtime
   serial: omap: drop unnecessary check from remove
   serial: omap: make sure to suspend device before remove

Apart from that one question on last patch, rest of the clean-up
is really good. Nice work.

FWIW,
Acked-by: Santosh Shilimkar santosh.shilim...@ti.com
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html