commit | 442b2494b17d1a4f0a14721580271eb23ebffd42 | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> | Wed Apr 29 18:35:01 2015 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon May 11 11:53:05 2015 +0200 |
tree | db63de03fa9672e820c5ce792605f7e1be23f90b | |
parent | f30663398ee28ecd1b66ceeb6a73ef704d4abf78 [diff] |
gpio: mxc: read output value from GPIO_DR register All supported iMX GPIO controllers store configured GPIO output value in GPIO_DR data register, which is represented by GPIO generic reg_set. Provide a BGPIOF_READ_OUTPUT_REG_SET flag to bgpio_init() to allow correct getting of previously set output value. Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>