commit | 88f91d1375aaf4d21d77a2f2daa351dea9132a58 | [log] [tgz] |
---|---|---|
author | Måns Rullgård <mans@mansr.com> | Tue Dec 15 22:27:57 2015 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Thu Jan 07 17:54:16 2016 +0100 |
tree | 773d349d3cbd8d2abea662bda72a4d026281bed7 | |
parent | fcbe8c56743a1f8ec397a71d5a932faee920bc8a [diff] |
gpio: mxs: add name_to_gpio() function Override the default name_to_gpio() function with one that accepts strings of the form bank:pin. If a colon is present in the provided name, it behaves like the default version. This lets the "gpio" command work with sane names rather than requiring the user to enter the bank/pin composite in decimal. Signed-off-by: Mans Rullgard <mans@mansr.com> Reviewed-by: Stefano Babic <sbabic@denx.de>