serial: New serial driver MAX310X
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 6 Aug 2012 15:42:32 +0000 (19:42 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 19:12:25 +0000 (12:12 -0700)
commitf65444187a66bf54af32a10902877dd0326456d1
tree9458139d0c7dd538d68cf6fa02e5ad4542162d83
parent9574f36fb801035f6ab0fbb1b53ce2c12c17d100
serial: New serial driver MAX310X

This driver is a replacement for a MAX3107 driver with a lot of
improvements and new features.
The main differences from the old version:
- Using the regmap.
- Using devm_XXX-related functions.
- The use of threaded IRQ with IRQF_ONESHOT flag allows the driver to
  the hardware that supports only level IRQ.
- Improved error handling of serial port, improved FIFO handling,
  improved hardware & software flow control.
- Advanced flags allows turn on RS-485 mode (Auto direction control).
- Ability to load multiple instances of drivers.
- Added support for MAX3108.
- GPIO support.
- Driver is quite ready for adding I2C support and support other ICs
  with compatible registers set (MAX3109, MAX14830).

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/Makefile
drivers/tty/serial/max3107.c [deleted file]
drivers/tty/serial/max3107.h [deleted file]
drivers/tty/serial/max310x.c [new file with mode: 0644]
include/linux/platform_data/max310x.h [new file with mode: 0644]
include/linux/serial_core.h