Skip to contentSkip to conversation

Subject: [PATCH] max3107: introduce a max3107 driver

PATCH New Alan Cox 1 participant 1 message Jun 30, 2010 TTY layer and serial drivers

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

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.

---

 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
index 45ad290..525da12 100644
@@ -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
index a5edb49..4cd0c06 100644
@@ -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