[PATCH v4 0/5] serial/8250_fintek Support any configuration

From: Ricardo Ribalda Delgado
Date: Tue Jun 16 2015 - 05:00:01 EST

The original driver only supported the default configuration of the chip.

This patchset add supports for all the possible configurations:
-Different io address
-Multiple chips
-Different chip_ids

Patchset can be viewed online at

v4: Fix comments by Jiri Slaby <jslaby@xxxxxxx>
Use u8 instead of u16 for key

v3: Error found by Peter Hong <peter_hong@xxxxxxxxxxxxx>

Fix memset after initialization.

v2: Fix comments by Alan Cox <alan@xxxxxxxxxxxxxxx>

Replace blah foo[] = { 1,2,3,4 }; with
static const blah foo[] = { 1,2,3,4 };

Reported-by: Peter Hong <peter_hong@xxxxxxxxxxxxx>

Ricardo Ribalda Delgado (5):
serial/8250_fintek: Use private data structure
serial/8250_fintek: Support for multiple base_ports
serial/8250_fintek: Support for chip_ip 0x0501
serial/8250_fintek: Support keys different than default
serial/8250_fintek: Support for any io address.

drivers/tty/serial/8250/8250_fintek.c | 172 +++++++++++++++++++++-------------
1 file changed, 107 insertions(+), 65 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/