]> rtime.felk.cvut.cz Git - linux-imx.git/commit
pinctrl: sunxi: add of_xlate function
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 3 Feb 2013 11:10:11 +0000 (12:10 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Feb 2013 16:32:29 +0000 (17:32 +0100)
commita0d72094f0abad3cbeeed618d24fd0ce1968d1a8
treefea531dff6651259dcf4f65a4b809517d841fd44
parent581981be24f9866b37af535f947da2e7b65aaa53
pinctrl: sunxi: add of_xlate function

Since the pin controller of sunxi chips is represented as a
single bank in the driver.

Since this is neither convenient nor represented that way in the
datasheets, define a custom of_xlate function with the layout
<bank pin flag>

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sunxi.c