[PATCH v6] usb:serial:pl2303: add GPIOs interface on PL2303
PL2303HX has two GPIOs, this patch add interface for it.
Signed-off-by: Wang YanQing <udknight@...>
1: fix typo error in Kconfig reported by Andreas Mohr
2: add const qulification to gpio_dir_mask and gpio_value_mask suggested by Andreas Mohr
Hi, Linus Walleij, I see you give your review-by to v4, but v4
has a obvious bug (template_chip overwrite label's value), so
could you review this version? Thanks!
Greg KH, although I really hope this is the last version,
but what is your suggestion?
Thanks again for all guys' review and correction.
drivers/usb/serial/Kconfig | 10 +++
drivers/usb/serial/pl2303.c | 189 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 199 insertions(+)
diff --git a/drivers/usb/serial/Kconfig b/drivers/usb/serial/Kconfig
index 3ce5c74..f7619f9 100644
<at> <at> -516,6 +516,16 <at> <at> config USB_SERIAL_PL2303
To compile this driver as a module, choose M here: the
module will be called pl2303.