diff options
author | Joshua Henderson <joshua.henderson@microchip.com> | 2016-02-01 15:48:30 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-05 23:54:47 +0100 |
commit | 2ba384e6c3810733e14e183dedc3406f402a686f (patch) | |
tree | 4e4c1408bfee94f0544f6c20ca8a8ffad3eeaeb0 /drivers/pinctrl/Kconfig | |
parent | ad2db351e77d3022f61934406fbefce1616b6f76 (diff) | |
download | blackbird-op-linux-2ba384e6c3810733e14e183dedc3406f402a686f.tar.gz blackbird-op-linux-2ba384e6c3810733e14e183dedc3406f402a686f.zip |
pinctrl: pinctrl-pic32: Add PIC32 pin control driver
Add a driver for the pin controller present on the Microchip PIC32
including the specific variant PIC32MZDA. This driver provides pinmux
and pinconfig operations as well as GPIO and IRQ chips for the GPIO
banks.
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r-- | drivers/pinctrl/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 6ba67a619062..a4c07394e313 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -207,6 +207,23 @@ config PINCTRL_PALMAS open drain configuration for the Palmas series devices like TPS65913, TPS80036 etc. +config PINCTRL_PIC32 + bool "Microchip PIC32 pin controller driver" + depends on OF + depends on MACH_PIC32 + select PINMUX + select GENERIC_PINCONF + select GPIOLIB_IRQCHIP + select OF_GPIO + help + This is the pin controller and gpio driver for Microchip PIC32 + microcontrollers. This option is selected automatically when specific + machine and arch are selected to build. + +config PINCTRL_PIC32MZDA + def_bool y if PIC32MZDA + select PINCTRL_PIC32 + config PINCTRL_ZYNQ bool "Pinctrl driver for Xilinx Zynq" depends on ARCH_ZYNQ |