diff options
author | Roger Quadros <rogerq@ti.com> | 2017-03-13 15:04:24 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-03-20 17:56:21 -0400 |
commit | 080795b70ccf97d934676371288650cff5055ca7 (patch) | |
tree | 78071852b3004feee875b6159636aad39a0f9e7d /board/ti/common | |
parent | 30719e2b92c014926c59b25d6d8736959da84219 (diff) | |
download | u-boot-080795b70ccf97d934676371288650cff5055ca7.tar.gz |
ARM: OMAP5+: GPIO: Add GPIO_TO_PIN() macro
GPIO_TO_PIN(bank, bank_gpio) returns the GPIO index
from the GPIO bank number and bank's GPIO offset number.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board/ti/common')
0 files changed, 0 insertions, 0 deletions