Subject: [PATCH] max3107: introduce a max3107 driver
PATCH 1/2 Subject: [PATCH] max3107: introduce a max3107 driver
From: jianwei.yang <[email protected]>
This device is used by some of the Intel MID platforms. It's not similar enough to the MAX3100 to use the same driver.
At this point the driver is specific to the platform and not generalised. We will fix that later.
Signed-off-by jianwei.yang <[email protected]>
Signed-off-by Alan Cox <[email protected]>
---
drivers/serial/Kconfig | 8 drivers/serial/Makefile | 1 drivers/serial/max3107.c | 1442 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/serial/max3107.h | 358 +++++++++++ 4 files changed, 1809 insertions(+), 0 deletions(-) create mode 100644 drivers/serial/max3107.c create mode 100644 drivers/serial/max3107.h
drivers/serial/Kconfig +8 -0
@@ -550,6 +550,14 @@ config SERIAL_S5PV210 help Serial port support for Samsung's S5P Family of SoC's +config SERIAL_MAX3107 + tristate "MAX3107 support" + depends on SPI && GPIOLIB + select SERIAL_CORE + default y + help + MAX3107 chip support + config SERIAL_MAX3100 tristate "MAX3100 support" depends on SPI
drivers/serial/Makefile +1 -0
@@ -46,6 +46,7 @@ obj-$(CONFIG_SERIAL_S3C24A0) += s3c24a0.o obj-$(CONFIG_SERIAL_S3C6400) += s3c6400.o obj-$(CONFIG_SERIAL_S5PV210) += s5pv210.o obj-$(CONFIG_SERIAL_MAX3100) += max3100.o +obj-$(CONFIG_SERIAL_MAX3107) += max3107.o obj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o obj-$(CONFIG_SERIAL_MUX) += mux.o obj-$(CONFIG_SERIAL_68328) += 68328serial.o
drivers/serial/max3107.c new file +1442 -0
1,442 lines not on this page · raw message
drivers/serial/max3107.h new file +358 -0
358 lines not on this page · raw message