pinctrl: lochnagar: Add support for the Cirrus Logic Lochnagar

Lochnagar is an evaluation and development board for Cirrus
Logic Smart CODEC and Amp devices. It allows the connection of
most Cirrus Logic devices on mini-cards, as well as allowing
connection of various application processor systems to provide a
full evaluation platform. This driver supports the board
controller chip on the Lochnagar board.

Lochnagar provides many pins which can generally be used for an
audio function such as an AIF or a PDM interface, but also as
GPIOs.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Charles Keepax 2019-03-19 13:48:51 +00:00 committed by Linus Walleij
parent e3097b6b2e
commit 0548448b71
3 changed files with 1247 additions and 0 deletions

View File

@ -1,3 +1,13 @@
config PINCTRL_LOCHNAGAR
tristate "Cirrus Logic Lochnagar pinctrl driver"
depends on MFD_LOCHNAGAR
select PINMUX
select PINCONF
select GENERIC_PINCONF
help
This driver supports configuring the GPIO and other pin configuration
of the Cirrus Logic Lochnagar audio development board.
# This is all selected by the Madera MFD driver Kconfig options
config PINCTRL_MADERA
tristate

View File

@ -1,4 +1,6 @@
# Cirrus Logic pinctrl drivers
obj-$(CONFIG_PINCTRL_LOCHNAGAR) += pinctrl-lochnagar.o
pinctrl-madera-objs := pinctrl-madera-core.o
ifeq ($(CONFIG_PINCTRL_CS47L35),y)
pinctrl-madera-objs += pinctrl-cs47l35.o

File diff suppressed because it is too large Load Diff