]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/serial_sci.h
serial: sh-sci: Handle GPIO function requests.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 2 Dec 2011 11:09:48 +0000 (20:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 2 Dec 2011 11:09:48 +0000 (20:09 +0900)
commit50f0959ad4f9ac1c5ee208bb820de299a1b3730b
tree3e4965ee4764f98ba3cd840e3733604825475998
parent73c3d53f38e0a8e6c67b0d12d77a8e77c082cd03
serial: sh-sci: Handle GPIO function requests.

This adds initial support for requesting the various GPIO functions
necessary for certain ports. This just plugs in dumb request/free logic,
but serves as a building block for migrating off of the ->init_pins mess
to a wholly gpiolib backed solution (primarily parts with external
RTS/CTS pins, but will also allow us to clean up RXD pin testing).

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c
include/linux/serial_sci.h