Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00df0582 authored by Jesper Nilsson's avatar Jesper Nilsson Committed by Linus Walleij
Browse files

pinctrl: Add pincontrol driver for ARTPEC-6 SoC



Add pinctrl driver support for the Axis ARTPEC-6 SoC.
There are only some pins that actually have different
functions available, but all can control bias (pull-up/-down)
and drive strength.

Code originally written by Chris Paterson.

Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9c6c149b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1088,6 +1088,7 @@ L: linux-arm-kernel@axis.com
F:	arch/arm/mach-artpec
F:	arch/arm/boot/dts/artpec6*
F:	drivers/clk/axis
F:	drivers/pinctrl/pinctrl-artpec*
F:	Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt

ARM/ASPEED MACHINE SUPPORT
+11 −0
Original line number Diff line number Diff line
@@ -41,6 +41,17 @@ config PINCTRL_ADI2
	  future processors. This option is selected automatically when specific
	  machine and arch are selected to build.

config PINCTRL_ARTPEC6
        bool "Axis ARTPEC-6 pin controller driver"
        depends on MACH_ARTPEC6
        select PINMUX
        select GENERIC_PINCONF
        help
          This is the driver for the Axis ARTPEC-6 pin controller. This driver
          supports pin function multiplexing as well as pin bias and drive
          strength configuration. Device tree integration instructions can be
          found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt

config PINCTRL_AS3722
	tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
	depends on MFD_AS3722 && GPIOLIB
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ obj-$(CONFIG_PINCONF) += pinconf.o
obj-$(CONFIG_OF)		+= devicetree.o
obj-$(CONFIG_GENERIC_PINCONF)	+= pinconf-generic.o
obj-$(CONFIG_PINCTRL_ADI2)	+= pinctrl-adi2.o
obj-$(CONFIG_PINCTRL_ARTPEC6)	+= pinctrl-artpec6.o
obj-$(CONFIG_PINCTRL_AS3722)	+= pinctrl-as3722.o
obj-$(CONFIG_PINCTRL_BF54x)	+= pinctrl-adi2-bf54x.o
obj-$(CONFIG_PINCTRL_BF60x)	+= pinctrl-adi2-bf60x.o
+992 −0

File added.

Preview size limit exceeded, changes collapsed.