ARM: pinctrl: Add Broadcom Capri pinctrl driver
authorSherman Yin <syin@broadcom.com>
Sat, 21 Dec 2013 02:13:35 +0000 (18:13 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jan 2014 13:25:38 +0000 (14:25 +0100)
commit54b1aa5a5b166f3e0863adde6cf9d14442fa244c
tree0739f8d7c62f4736c48253f50079c314f2e03d55
parent9bb412e557bcc43b3f5bc249830989461a83c875
ARM: pinctrl: Add Broadcom Capri pinctrl driver

Adds pinctrl driver for Broadcom Capri (BCM281xx) SoCs.

v4: - PINCTRL selected in Kconfig, PINCTRL_CAPRI selected in bcm_defconfig
    - make use of regmap
    - change CAPRI_PIN_UPDATE from macro to inline function.
    - Handle pull-up strength arg in Ohm instead of enum
v3: Re-work driver to be based on generic pin config. Moved config selection
    from Kconfig to bcm_defconfig.
v2: Use hyphens instead of underscore in DT property names.

Signed-off-by: Sherman Yin <syin@broadcom.com>
Reviewed-by: Christian Daudt <bcm@fixthebug.org>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/configs/bcm_defconfig
arch/arm/mach-bcm/Kconfig
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-capri.c [new file with mode: 0644]