diff options
author | Tao Ren <rentao.bupt@gmail.com> | 2020-09-16 23:42:16 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-09-24 16:37:18 +0300 |
commit | 3e640b1eec38e4c8eba160f26cba4f592e657f3d (patch) | |
tree | b767b6498caa48a196e3c5f68d9e3acf554de600 /Documentation/devicetree/bindings/gpio | |
parent | bf0d394e885015941ed2d5724c0a6ed8d42dd95e (diff) | |
download | linux-3e640b1eec38e4c8eba160f26cba4f592e657f3d.tar.xz |
gpio: aspeed: fix ast2600 bank properties
GPIO_U is mapped to the least significant byte of input/output mask, and
the byte in "output" mask should be 0 because GPIO_U is input only. All
the other bits need to be 1 because GPIO_V/W/X support both input and
output modes.
Similarly, GPIO_Y/Z are mapped to the 2 least significant bytes, and the
according bits need to be 1 because GPIO_Y/Z support both input and
output modes.
Fixes: ab4a85534c3e ("gpio: aspeed: Add in ast2600 details to Aspeed driver")
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
0 files changed, 0 insertions, 0 deletions