[PATCH V4 0/2] pinctrl: Support for IMG Pistachio

From: Andrew Bresticker
Date: Tue Apr 28 2015 - 21:13:13 EST

This series adds support for the system pin and GPIO controller on the IMG
Pistachio SoC. Pistachio's system pin controller manages 99 pins, 90 of
which are MFIOs which can be muxed between multiple functions or used
as GPIOs. The GPIO control for the 90 MFIOs is broken up into banks
of 16. Pistachio also has a second pin controller, the RPU pin controller,
which will be supported by a future patchset through an extension to this

Tested on an IMG Pistachio BuB. Based on v4.1-rc1.

Changes from v3:
- Addressed review comments from Ezequiel.
Changes from v2:
- Removed module stuff that ends up being compiled out.
Changes from v1:
- Documented pin + function generic binding.
- Changed compatible string to "img,pistachio-system-pinctrl".
- Addressed some review comments.
- A couple of bug fixes.

Cc: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxx>
Cc: James Hartley <james.hartley@xxxxxxxxxx>
Cc: James Hogan <james.hogan@xxxxxxxxxx>

Andrew Bresticker (2):
pinctrl: Add Pistachio SoC pin control binding document
pinctrl: Add Pistachio SoC pin control driver

.../bindings/pinctrl/img,pistachio-pinctrl.txt | 217 +++
drivers/pinctrl/Kconfig | 6 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-pistachio.c | 1502 ++++++++++++++++++++
4 files changed, 1726 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/img,pistachio-pinctrl.txt
create mode 100644 drivers/pinctrl/pinctrl-pistachio.c


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/