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>
Showing
- drivers/tty/serial/Kconfig 10 additions, 3 deletionsdrivers/tty/serial/Kconfig
- drivers/tty/serial/Makefile 1 addition, 1 deletiondrivers/tty/serial/Makefile
- drivers/tty/serial/max3107.c 0 additions, 1215 deletionsdrivers/tty/serial/max3107.c
- drivers/tty/serial/max3107.h 0 additions, 441 deletionsdrivers/tty/serial/max3107.h
- drivers/tty/serial/max310x.c 1259 additions, 0 deletionsdrivers/tty/serial/max310x.c
- include/linux/platform_data/max310x.h 67 additions, 0 deletionsinclude/linux/platform_data/max310x.h
- include/linux/serial_core.h 2 additions, 2 deletionsinclude/linux/serial_core.h
Loading
Please register or sign in to comment