OSDN Git Service

gpio: madera: Support Cirrus Logic Madera class codecs
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 21 May 2018 10:00:02 +0000 (11:00 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 5 Jun 2018 10:15:30 +0000 (11:15 +0100)
commitaca429ff9d14f0f55f6d319d6bb1dfc2bbee09fe
treebebd7d48560d989ff2b74e4644c17efda2b2b0bd
parent218d72a77b0bc203649c28f03cad6f90af88a787
gpio: madera: Support Cirrus Logic Madera class codecs

This adds support for the GPIOs on Cirrus Logic Madera class codecs.
Any pins not used for special functions (see the pinctrl driver) can be
used as general single-bit input or output lines. The number of available
GPIOs varies between codecs.

Note that this is part of a composite MFD for these codecs and can only
be used with the corresponding MFD and other child drivers on those
silicon. The GPIO block on these codecs does not exist indepedently of
the rest of the MFD.

Signed-off-by: Nariman Poushin <nariman@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
MAINTAINERS
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-madera.c [new file with mode: 0644]