]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl/nomadik: basic Nomadik pinctrl interface
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Apr 2012 21:57:25 +0000 (23:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 May 2012 09:14:14 +0000 (11:14 +0200)
commit6369caba1ff9bd087d0cc40a5f4b21d12d852e18
tree95833bd464ee36b68abe4e3c5612dc7e804f771c
parent70a9db5f891df1d9fa0ef9e38f5170780a4ef127
pinctrl/nomadik: basic Nomadik pinctrl interface

This adds a scratch pin control interface to the Nomadik pinctrl
driver, and defines the pins and groups in the DB8500 ASIC. We
define GPIO ranges to cover the pins exposed. The DB8500 has
more pins than this but we restrict the driver to the pins that
can be controlled from the combined GPIO and pin control hardware
to begin with.

ChangeLog v1->v2:
- Base on the latest pinctrl development from
  pinctrl-mergebase-20120418 so we can get rid of legacy
  group count mechanism. Also drop the range checks for group
  index, this is handled by the core now.

Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/Kconfig
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-ux500/devices-common.h
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-nomadik-db8500.c [new file with mode: 0644]
drivers/pinctrl/pinctrl-nomadik.c
drivers/pinctrl/pinctrl-nomadik.h [new file with mode: 0644]