pinctrl: driver for Conexant Digicolor CX92755 pin mapping
authorBaruch Siach <baruch@tkos.co.il>
Tue, 5 May 2015 10:55:10 +0000 (13:55 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 09:47:25 +0000 (11:47 +0200)
commit38b0e5071eca4db618e796a2f1dbad3b20c01358
treeb3ecd04b57eeb84a052d803e7a71378aeb7b33f5
parentcbc59e26e90dab17e233c6cdf51235d5d25f5fba
pinctrl: driver for Conexant Digicolor CX92755 pin mapping

This adds pinctrl and gpio driver to the CX92755 SoC "General
Purpose Pin Mapping" hardware block. The CX92755 is one SoC
from the Conexant Digicolor series. Pin mapping hardware supports
configuring pins as either GPIO, or up to 3 other "client select"
functions. This driver adds support for pin muxing using the
generic device tree binding, and a basic gpiolib driver for
the GPIO functionality.

This driver does not currently support GPIO interrupts, and
pad configuration.

v2:
* Address review comments for Linus Walleij:
  - Add a pointer to pinctrl_desc in struct dc_pinmap
  - Drop the now redundant pinctrl_pin_desc field
  - Adapt dc_get_group_{name,pins} to these changes, and
    add a comment explaining the 1-to-1 pin-groups relation
* Staticise dc_pmxops
* Protect the GP_CLIENTSEL clct parameter with parenthesis

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-digicolor.c [new file with mode: 0644]