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
..
2022-06-15 14:50:41 +01:00
2022-06-23 23:24:29 +02:00
2022-06-15 16:43:42 +01:00
2022-06-20 08:38:58 -03:00
2022-04-26 12:25:14 +02:00
2022-06-14 16:50:30 +02:00
2022-06-11 11:44:50 +02:00
2022-05-02 17:03:03 +02:00
2022-06-08 19:38:47 +01:00
2022-05-02 17:03:03 +02:00