]> git.sur5r.net Git - u-boot/commit
dm: tegra: Add a GPIO translation function
authorSimon Glass <sjg@chromium.org>
Tue, 6 Jan 2015 03:05:33 +0000 (20:05 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:09:51 +0000 (17:09 -0700)
commit838aa5c94adc0da95c858ef70271078fd18dc4c9
tree45057746758a6303ce920f26e3ecf254d7a8e584
parent32f8a19f6d9aa551dc64868fac4b662c088dfb1f
dm: tegra: Add a GPIO translation function

This deals with the polarity bit and selecting the correct bank device
given a GPIO number.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/tegra_gpio.c