Skip to content

Commit

Permalink
pinctrl: lochnagar: Add support for the Cirrus Logic Lochnagar
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Charles Keepax authored and Linus Walleij committed Apr 4, 2019
1 parent e3097b6 commit 0548448
Show file tree
Hide file tree
Showing 3 changed files with 1,247 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/pinctrl/cirrus/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions drivers/pinctrl/cirrus/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit 0548448

Please sign in to comment.