[PATCH 0/2] tty: serial: 8250 introduce mctrl_gpio helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>

This is another attempt to integrate mctrl_gpio helpers into 8250 driver.
Previous attempt failed because devm_gpiod_get_index_optional() broke
some x86 devices via redefining RX ping to GPIO. See [1] for details.

"serial: mctrl_gpio: restrict MCTRL initialization" patch uses 
device_property_present() routine to check, if mctrl related property
is available for device and only then a corresponding structure
will be initialized.

[1] https://marc.info/?l=linux-kernel&m=147074777706620

Yegor Yefremov (2):
  serial: mctrl_gpio: restrict MCTRL initialization
  tty/serial/8250: use mctrl_gpio helpers

 Documentation/devicetree/bindings/serial/8250.txt | 19 ++++++++++++
 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            |  6 ++++
 include/linux/serial_8250.h                       |  1 +
 8 files changed, 94 insertions(+), 15 deletions(-)

-- 
2.1.4

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



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux