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-16 12:44:52 +02:00
2022-06-23 23:24:29 +02:00
2022-05-19 16:19:02 +01:00
2022-04-06 14:31:55 +02:00
2022-06-22 09:49:34 +02:00
2022-06-11 11:44:50 +02:00
2022-04-06 14:31:55 +02:00
2022-06-24 17:07:06 +02:00
2022-06-09 19:32:48 -04:00
2022-06-15 14:50:41 +01:00
2021-04-09 16:05:16 -04:00
2021-05-02 17:24:51 +02:00
2022-06-16 12:54:57 -04:00
2022-06-14 10:34:37 +02:00
2022-05-19 16:19:03 +01:00
2022-05-25 10:31:33 +02:00
2022-05-28 12:25:42 +02:00
2022-05-30 19:49:42 +02:00
2022-06-22 09:49:34 +02:00
2022-06-11 11:44:50 +02:00
2022-06-24 17:07:06 +02:00
2022-06-26 18:40:12 +01:00
2022-06-20 08:38:58 -03:00
2021-09-30 13:42:10 +01:00
2022-06-09 19:32:49 -04:00
2022-06-11 11:44:50 +02:00
2022-06-06 18:14:13 +00:00
2022-05-19 16:19:03 +01:00
2022-05-13 07:57:26 -04:00
2022-04-06 14:31:55 +02:00
2022-06-26 18:40:12 +01:00
2022-06-22 09:49:34 +02:00
2022-06-11 11:44:50 +02:00
2022-04-26 08:17:05 -07:00
2021-09-30 13:42:10 +01:00
2022-06-23 23:24:29 +02:00
2022-05-12 12:29:43 +02:00
2022-05-15 10:33:01 +09:00
2022-06-15 16:43:42 +01:00
2022-06-16 12:54:57 -04:00
2022-06-20 08:38:58 -03:00
2021-05-02 17:24:50 +02:00
2022-06-20 08:38:58 -03:00
2022-04-26 12:25:14 +02:00
2022-06-15 16:43:42 +01:00
2022-06-10 09:31:42 +10:00
2022-06-11 11:44:50 +02:00
2022-04-21 10:06:42 -07:00
2022-06-14 16:50:30 +02:00
2022-06-24 17:07:06 +02:00
2022-05-30 12:34:46 +01:00
2022-03-08 18:46:48 +01:00
2022-03-21 15:44:44 +01:00
2022-03-06 05:28:55 -05:00
2022-05-12 12:29:44 +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-06-09 19:32:49 -04:00
2021-07-20 20:10:21 +02:00
2022-06-14 10:34:36 +02:00
2022-06-14 10:34:37 +02:00
2022-06-16 12:54:58 -04:00
2022-05-02 17:03:03 +02:00
2022-05-12 12:07:06 +02:00
2022-05-09 08:21:14 +02:00
2022-05-06 15:27:40 -07:00
2022-06-06 18:09:03 +00:00
2022-06-06 18:09:03 +00:00