commit | df1687de4587d4e1a87d599bbba3d909b4245e08 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Mar 06 19:27:50 2016 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Mar 17 10:27:22 2016 +0800 |
tree | 58db941696e2d4153370d1b25c11579a89dc8dd3 | |
parent | 8d374cdfeeea95054d158d8fdc960ee407b12186 [diff] |
gpio: Add a function to obtain a GPIO vector value We can use GPIOs as binary digits for reading 'strapping' values. Each GPIO is assigned a single bit and can be set high or low on the circuit board. We already have a legacy function for reading these values. Add one that supports driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>