commit | ff2ed0491d9f6e8b1a0fa205324030588f9e4037 | [log] [tgz] |
---|---|---|
author | Vincent Donnefort <vdonnefort@gmail.com> | Fri Feb 07 14:21:06 2014 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Feb 12 16:12:22 2014 +0100 |
tree | 8bd36fdc19fc97e6bb1e12c3c04af67fb1d9a956 | |
parent | b667cf488aa9476b0ab64acd91f2a96f188cfd21 [diff] |
gpio: ich: Add output levels cache support This patch allows GPIO driver to cache GPIO_LVL output registers. The aim is to support chipsets on which GPIO_LVL value can't be read for output pins. Caching output levels implies the first output values reading as 0. The driver so can't be aware of set values GPIOs by bootloader or BIOS. Signed-off-by: Vincent Donnefort <vdonnefort@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>