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: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录
This deals with the polarity bit and selecting the correct bank device
given a GPIO number.
Signed-off-by: NSimon Glass <sjg@chromium.org>