[PATCH v2 0/4] Add emev2 pinmux support

Niklas Söderlund
2015-01-18T12:20:30Z

Greetings,

This is v2 of a patchset that introduces pinmux support for the EMMA
Mobile EV2 board to the sh-pfc pin-controller driver. Devicetree
bindings for gpio and the populated serial connector are also defined in
3/4 and 4/4.

Changes since v1:

* GPIOs numbered linearly instead of using a bank_number schema
* Group pins in larger groups instead of one group per pin
* Only define the actual 159 GPIOs instead of 160
* There are 23 pins per row not 25, correct PIN_NUMBER macro
* Define one larger reg entry in dts for pfc instead of four small

Niklas Söderlund (4):
sh-pfc: add macro to define pinmux without function
sh-pfc: Add emev2 pinmux support
ARM: shmobile: emev2: Add PFC information to emev2.dtsi
ARM: shmobile: emev2-kzm9d: Add PFC information for uart1

.../bindings/pinctrl/renesas,pfc-pinctrl.txt | 1 +
arch/arm/boot/dts/emev2-kzm9d.dts | 13 +
arch/arm/boot/dts/emev2.dtsi | 10 +
drivers/pinctrl/sh-pfc/Kconfig | 5 +
drivers/pinctrl/sh-pfc/Makefile | 1 +
drivers/pinctrl/sh-pfc/core.c | 9 +
drivers/pinctrl/sh-pfc/core.h | 1 +
drivers/pinctrl/sh-pfc/pfc-emev2.c | 1774 ++++++++++++++++++++
drivers/pinctrl/sh-pfc/sh_pfc.h | 2 +
9 files changed, 1816 insertions(+)
create mode 100644 drivers/pinctrl/sh-pfc/pfc-emev2.c

--
2.2.1