Searched hist:"88 f91d1375aaf4d21d77a2f2daa351dea9132a58" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | mxs_gpio.c | 88f91d1375aaf4d21d77a2f2daa351dea9132a58 Tue Dec 15 22:27:57 UTC 2015 Måns Rullgård <mans@mansr.com> 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>
|