Skip to content

Commit

Permalink
pinctrl: Add Intel Cherryview/Braswell pin controller support
Browse files Browse the repository at this point in the history
This driver supports the pin/GPIO controllers found in newer Intel SoCs
like Cherryview and Braswell. The driver provides full GPIO support and
minimal set of pin controlling funtionality.

The driver is based on the original Cherryview GPIO driver authored by Ning
Li and Alan Cox.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
westeri authored and linusw committed Nov 4, 2014
1 parent 354567e commit 6e08d6b
Show file tree
Hide file tree
Showing 3 changed files with 1,532 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/pinctrl/intel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,15 @@ config PINCTRL_BAYTRAIL
so only a small amount is available for gpio use.

Requires ACPI device enumeration code to set up a platform device.

config PINCTRL_CHERRYVIEW
tristate "Intel Cherryview/Braswell pinctrl and GPIO driver"
depends on ACPI
select PINMUX
select PINCONF
select GENERIC_PINCONF
select GPIOLIB
select GPIOLIB_IRQCHIP
help
Cherryview/Braswell pinctrl driver provides an interface that
allows configuring of SoC pins and using them as GPIOs.
1 change: 1 addition & 0 deletions drivers/pinctrl/intel/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Intel pin control drivers

obj-$(CONFIG_PINCTRL_BAYTRAIL) += pinctrl-baytrail.o
obj-$(CONFIG_PINCTRL_CHERRYVIEW) += pinctrl-cherryview.o

0 comments on commit 6e08d6b

Please sign in to comment.