From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> This patch series aims to reintroduce the mctrl_gpio helpers for 8250 UARTs. There are some UARTs that use GPIO signals as a wakeup-sourse. The first patch addresses this issue and tries to destinguish GPIO usage via searching for "wakeup-sourse" property. Though it must be decided whether this property is secure to use for this purpose. Changes v1 -> v2: - unlock mutex, if mctrl_gpio_init fails (suggested by Julia Lawall) - describe -ENOSYS return value choice (suggested by Andy Shevchenko) Yegor Yefremov (3): serial: mctrl_gpio: restrict MCTRL initialization tty/serial/8250: use mctrl_gpio helpers tty/serial/8250: add DT bindings description for mctrl_gpio helpers Documentation/devicetree/bindings/serial/8250.txt | 26 +++++++++++++++++ drivers/tty/serial/8250/8250.h | 35 ++++++++++++++++++++++- drivers/tty/serial/8250/8250_core.c | 12 ++++++++ drivers/tty/serial/8250/8250_omap.c | 31 +++++++++++--------- drivers/tty/serial/8250/8250_port.c | 7 ++++- drivers/tty/serial/8250/Kconfig | 1 + drivers/tty/serial/serial_mctrl_gpio.c | 4 +++ include/linux/serial_8250.h | 1 + 8 files changed, 102 insertions(+), 15 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html