]> git.baikalelectronics.ru Git - kernel.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)
commit35bd495f25eafd2ff3ab699f5952202a756d6ce8
treefea531dff6651259dcf4f65a4b809517d841fd44
parent8e67c3e128a54efc103032cbed5d361040f5910b
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