summary refs log tree commit diff stats
path: root/hw/misc/max111x.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-07-03 16:59:44 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-07-03 16:59:44 +0100
commit2e354c028a282b1bae56154ed52ac80746eb24b3 (patch)
treef250e7ce16175e7b868cc3d2b85e2426c822aeb6 /hw/misc/max111x.c
parentffe7f90698099f0f702154492df05cf6a14c6b62 (diff)
downloadfocaccia-qemu-2e354c028a282b1bae56154ed52ac80746eb24b3.tar.gz
focaccia-qemu-2e354c028a282b1bae56154ed52ac80746eb24b3.zip
hw/arm/spitz: Implement inbound GPIO lines for bit5 and power signals
Currently the Spitz board uses a nasty hack for the GPIO lines
that pass "bit5" and "power" information to the LCD controller:
the lcdtg realize function sets a global variable to point to
the instance it just realized, and then the functions spitz_bl_power()
and spitz_bl_bit5() use that to find the device they are changing
the internal state of. There is a comment reading:
 FIXME: Implement GPIO properly and remove this hack.
which was added in 2009.

Implement GPIO properly and remove this hack.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200628142429.17111-6-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc/max111x.c')
0 files changed, 0 insertions, 0 deletions