forked from Minki/linux
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:
parent
e3097b6b2e
commit
0548448b71
@ -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
|
||||
|
@ -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
|
||||
|
1235
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
Normal file
1235
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user