Skip to content

Commit 10d8b34

Browse files
shcgitgregkh
authored andcommitted
serial: max310x: Driver rework
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b4cdc8f commit 10d8b34

File tree

3 files changed

+454
-473
lines changed

3 files changed

+454
-473
lines changed

drivers/tty/serial/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ config SERIAL_MAX3100
291291

292292
config SERIAL_MAX310X
293293
bool "MAX310X support"
294-
depends on SPI
294+
depends on SPI_MASTER
295295
select SERIAL_CORE
296-
select REGMAP_SPI if SPI
296+
select REGMAP_SPI if SPI_MASTER
297297
default n
298298
help
299299
This selects support for an advanced UART from Maxim (Dallas).

0 commit comments

Comments
 (0)