[PATCH v6 1/3] tty/serial: Add GPIOLIB helpers for controlling modem lines
Richard Genoud
richard.genoud at gmail.com
Sat Mar 22 06:14:48 EDT 2014
2014-03-18 11:13 GMT+01:00 Richard Genoud <richard.genoud at gmail.com>:
> 2014-03-18 0:23 GMT+01:00 Greg Kroah-Hartman <gregkh at linuxfoundation.org>:
>> On Mon, Mar 10, 2014 at 05:45:49PM +0100, Richard Genoud wrote:
>>> This patch add some helpers to control modem lines (CTS/RTS/DSR...) via
>>> GPIO.
>>> This will be useful for many boards which have a serial controller that
>>> only handle CTS/RTS pins (or even just RX/TX).
>>>
>>> Signed-off-by: Richard Genoud <richard.genoud at gmail.com>
>>
>> Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
>>
>> I can't take this series through my tty tree as the non-tty patches
>> don't apply, so feel free to take them through whatever tree is needed.
>>
>> greg k-h
>
> To clarify things, here are the patches that this series needs, on top
> of 3.14-rc6:
> tty/tty-next tree: ddaa603739fe tty/serial: at91: use dev_err instead of printk
> tty/tty-next tree: a3c1fa99f4d2 tty/serial: at91: remove unused open/close hooks
> ukl/dropmachtimexh-fixup: 354e57f3a0a2 ARM/serial: at91: switch atmel
> serial to use gpiolib
> tree unknown: [PATCH v3 5/7] ARM: at91: gpio: implement get_direction
> pinctrl/for-next: 8af584b86836 pinctrl: at91: implement get_direction
>
> after that, the series applies cleanly.
> the patch "[PATCH v3 5/7] ARM: at91: gpio: implement get_direction"
> has been acked-by Linus, but I didn't found it in a tree.
>
> onto next-20140318, it only needs "[PATCH v3 5/7] ARM: at91: gpio:
> implement get_direction" .
>
> trees:
> tty: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
> ukl: git://git.pengutronix.de/git/ukl/linux.git
> pinctrl: git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
>
>
> Richard.
If it helps, I've prepared some branches on github that can be pulled
from tty-next (or pinctrl-next, or dropmachtimexh-fixup)
(I didn't find which branch to base this on in the AT91 tree)
the address is:
git at github.com:rgenoud/linux.git
branch for_upstream/gpiolib-helpers-for-tty-next has the gpiolib
series rebased onto tty-next
branch for_upstream/gpiolib-helpers-for-pinctrl-next : same thing on
pinctrl-next
branch for_upstream/gpiolib-helpers-for-dropmachtimexh-fixup : same on
dropmachtimexh-fixup
branch for_upstream/atmel_serial-final is just the series onto 3.14-rc6
I'm not sure this is the right way to do it though.
Richard.
More information about the linux-arm-kernel
mailing list