Skip to content

Commit

Permalink
serial: max310x: Driver rework
Browse files Browse the repository at this point in the history
This patch rework max310x driver.
Major changes have been made:
- Prepare driver to support ICs with more than one UART.
- Prepare driver to support work with I2C-bus.
The patch changes almost every function and can not be divided into parts.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Alexander Shiyan authored and Greg Kroah-Hartman committed Jul 26, 2013
1 parent b4cdc8f commit 10d8b34
Show file tree
Hide file tree
Showing 3 changed files with 454 additions and 473 deletions.
4 changes: 2 additions & 2 deletions drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ config SERIAL_MAX3100

config SERIAL_MAX310X
bool "MAX310X support"
depends on SPI
depends on SPI_MASTER
select SERIAL_CORE
select REGMAP_SPI if SPI
select REGMAP_SPI if SPI_MASTER
default n
help
This selects support for an advanced UART from Maxim (Dallas).
Expand Down
Loading

0 comments on commit 10d8b34

Please sign in to comment.