aboutsummaryrefslogtreecommitdiff
path: root/hw/gpio
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-07-02 11:40:15 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-07-09 16:09:12 +0100
commitd6773a1f996db5339cdc1e01f14ffb70ca9f4d28 (patch)
treeeff4dfb21498ac71e6116cb8bd5e8f2d6901c502 /hw/gpio
parentc1e69e92aea696fa148c4d79aff6a2fdf46ef2b8 (diff)
downloadqemu-d6773a1f996db5339cdc1e01f14ffb70ca9f4d28.zip
qemu-d6773a1f996db5339cdc1e01f14ffb70ca9f4d28.tar.gz
qemu-d6773a1f996db5339cdc1e01f14ffb70ca9f4d28.tar.bz2
hw/arm/virt: Make PL061 GPIO lines pulled low, not high
For the virt board we have two PL061 devices -- one for NonSecure which is inputs only, and one for Secure which is outputs only. For the former, we don't care whether its outputs are pulled low or high when the line is configured as an input, because we don't connect them. For the latter, we do care, because we wire the lines up to the gpio-pwr device, which assumes that level 1 means "do the action" and 1 means "do nothing". For consistency in case we add more outputs in future, configure both PL061s to pull GPIO lines down to 0. Reported-by: Maxim Uvarov <maxim.uvarov@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/gpio')
0 files changed, 0 insertions, 0 deletions