sh-pfc: Add DT support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 17 Jun 2013 18:50:02 +0000 (20:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Jun 2013 08:57:51 +0000 (10:57 +0200)
commitfe1c9a822ce72c6ec8476a2501c412265ee2172c
tree743e3e67152fd5883e02a4eded386787d7fa8be5
parent3a7f520e63727e14de9567515d8727c2c01fedb4
sh-pfc: Add DT support

Support device instantiation through the device tree. The compatible
property is used to select the SoC pinmux information.

Set the gpio_chip device field to the PFC device to enable automatic
GPIO OF support.

Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt [new file with mode: 0644]
drivers/pinctrl/sh-pfc/core.c
drivers/pinctrl/sh-pfc/pinctrl.c