From: Yegor Yefremov <redacted>
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.
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 | 9 ++++++
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, 99 insertions(+), 15 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html