qemu/include/hw/input
Mark Cave-Ayland 6beb79e11a ps2: add gpio for output IRQ and optionally use it in ps2_raise_irq() and ps2_lower_irq()
Define the gpio for the PS2 output IRQ in ps2_init() and add logic to optionally
use it in ps2_raise_irq() and ps2_lower_irq() if the gpio is connected. If the
gpio is not connected then call the legacy update_irq() function as before.

This allows the incremental conversion of devices from the legacy update_irq()
function to use gpios instead.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220624134109.881989-35-mark.cave-ayland@ilande.co.uk>
2022-06-26 18:40:12 +01:00
..
adb-keys.h adb-keys.h: initial commit 2016-09-23 10:29:40 +10:00
adb.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
gamepad.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
hid.h Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
i8042.h pckbd: move mapping of I8042_MMIO registers to MIPS magnum machine 2022-06-26 18:40:12 +01:00
lasips2.h hppa: add emulation of LASI PS2 controllers 2020-01-27 10:49:51 -08:00
lm832x.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
ps2.h ps2: add gpio for output IRQ and optionally use it in ps2_raise_irq() and ps2_lower_irq() 2022-06-26 18:40:12 +01:00
tsc2xxx.h hw/input/tsc2xxx: Reduce MouseTransformInfo structure exposure 2020-09-21 11:22:34 +02:00