summaryrefslogtreecommitdiff
path: root/board/sunxi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-07-22 08:12:59 (GMT)
committerHans de Goede <hdegoede@redhat.com>2016-07-31 19:45:12 (GMT)
commit4694dc56e974eac94d6a4aa07c3d4071bf64e28c (patch)
treeb203818288d5de6384553f733bfb2e3b7974e311 /board/sunxi
parent5c928d02044345b843202f23540c3765468c1d6f (diff)
downloadu-boot-4694dc56e974eac94d6a4aa07c3d4071bf64e28c.tar.xz
sunxi: gpio: Add .xlate function for gpio phandle resolution
sunxi uses a 2 cell phandle for gpio bindings. Also there are no seperate nodes for each pin bank. Add a custom .xlate function to map gpio phandles to the correct pin bank device. This fixes gpio_request_by_name usage. Fixes: 7aa974858422 ("dm: sunxi: Modify the GPIO driver to support driver model") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'board/sunxi')
0 files changed, 0 insertions, 0 deletions