Thread (1 message) 1 message, 1 author, 2014-02-05

Re: [PATCH v4] gpio: Driver for SYSCON-based GPIOs

From: Alexander Shiyan <hidden>
Date: 2014-02-05 16:08:42
Also in: linux-gpio

On Thu, 30 Jan 2014 14:54:36 +0100
Linus Walleij [off-list ref] wrote:
On Mon, Jan 13, 2014 at 5:56 PM, Alexander Shiyan [off-list ref] wrote:
quoted
SYSCON driver was designed for using memory areas (registers)
that are used in several subsystems. There are systems (CPUs)
which use bits in one register for various purposes and thus
should be handled by various kernel subsystems. This driver
allows you to use the individual SYSCON bits as GPIOs.
ARM CLPS711X SYSFLG1 input lines has been added as first user
of this driver.

Signed-off-by: Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>
Oh the pain. I am so ambivalent of this patch as it obfuscates
some stuff about the hardware that the driver should know,
while at the same time being elegant in a way.

What does the ARM SoC maintainers think about this approach?

Arnd, Olof, Kevin: is this something you'd like to see deployed?
Ping.

-- 
Alexander Shiyan [off-list ref]
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help