OSDN Git Service

pinctrl: madera: Add driver for Cirrus Logic Madera codecs
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 21 May 2018 10:00:01 +0000 (11:00 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 5 Jun 2018 10:15:23 +0000 (11:15 +0100)
commit218d72a77b0bc203649c28f03cad6f90af88a787
tree6bb8a8ce81de87be61b817613fb3907b238aa081
parentb3b606c98fa0cb3e4bc5ae40358e9fafd474ce11
pinctrl: madera: Add driver for Cirrus Logic Madera codecs

These codecs have a variable number of I/O lines each of which
is individually selectable to a wide range of possible functions.

The functionality is slightly different from the traditional muxed
GPIO since most of the functions can be mapped to any pin (and even
the same function to multiple pins). Most pins have a dedicated
"alternate" function that is only available on that pin. The
alternate functions are usually a group of signals, though it is
not always necessary to enable the full group, depending on the
alternate function and how it is to be used. The mapping between
alternate functions and GPIO pins varies between codecs depending
on the number of alternate functions and available pins.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
MAINTAINERS
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/cirrus/Kconfig [new file with mode: 0644]
drivers/pinctrl/cirrus/Makefile [new file with mode: 0644]
drivers/pinctrl/cirrus/pinctrl-cs47l35.c [new file with mode: 0644]
drivers/pinctrl/cirrus/pinctrl-cs47l85.c [new file with mode: 0644]
drivers/pinctrl/cirrus/pinctrl-cs47l90.c [new file with mode: 0644]
drivers/pinctrl/cirrus/pinctrl-madera-core.c [new file with mode: 0644]
drivers/pinctrl/cirrus/pinctrl-madera.h [new file with mode: 0644]