William Breathitt Gray
2f7e845f51
gpio: 104-dio-48e: Migrate to the regmap-irq API
...
The regmap API supports IO port accessors so we can take advantage of
regmap abstractions rather than handling access to the device registers
directly in the driver.
For the 104-dio-48e we have the following IRQ registers (0xB and 0xF):
Base Address +B (Write): Enable Interrupt
Base Address +B (Read): Disable Interrupt
Base Address +F (Read/Write): Clear Interrupt
Any write to 0xB will enable interrupts, while any read will disable
interrupts. Interrupts are cleared by a write to 0xF. There's no IRQ
status register, so software has to assume that if an interrupt is
raised then it was for the 104-DIO-48E device.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-01-30 15:55:27 +01:00
..
2022-02-09 13:00:45 +00:00
2022-07-28 15:47:56 +02:00
2023-01-30 15:55:27 +01:00
2022-10-08 09:46:29 -07:00
2022-10-25 09:57:57 +02:00
2022-07-19 09:57:13 +02:00
2021-05-21 15:29:53 +02:00
2022-10-17 11:02:35 +02:00
2022-01-24 17:23:15 +02:00
2021-08-12 11:39:38 +01:00
2022-11-30 17:18:35 +01:00
2020-09-28 12:22:04 +02:00
2022-04-25 12:10:02 +02:00
2022-10-19 17:03:55 +03:00
2022-01-11 12:31:35 -08:00
2022-10-19 17:03:55 +03:00
2021-08-12 11:39:38 +01:00
2022-06-10 14:51:35 +02:00
2021-05-21 15:43:26 +02:00
2021-04-14 10:19:22 +01:00
2021-12-17 17:39:35 +01:00
2022-08-04 18:34:05 -07:00
2020-12-08 09:41:32 +01:00
2022-04-25 12:10:02 +02:00
2021-12-17 17:44:19 +01:00
2022-06-06 14:09:16 +03:00
2020-12-12 01:37:46 +01:00
2022-10-19 17:03:55 +03:00
2021-05-21 14:45:57 +02:00
2022-11-10 15:24:34 +01:00
2022-06-06 14:09:16 +03:00
2022-06-10 14:26:15 +02:00
2022-12-30 16:57:27 +01:00
2021-12-17 17:39:35 +01:00
2022-02-02 10:16:19 +01:00
2023-01-27 14:05:38 +01:00
2022-10-26 14:52:02 +02:00
2022-09-01 16:14:35 +02:00
2022-10-25 09:54:47 +02:00
2021-12-17 17:39:35 +01:00
2022-07-20 17:44:47 +02:00
2022-06-23 16:42:27 +02:00
2022-10-17 10:36:19 +02:00
2022-11-07 21:37:07 +01:00
2022-04-25 12:10:02 +02:00
2022-07-20 17:44:36 +02:00
2022-07-20 17:44:36 +02:00
2021-05-05 16:07:41 +02:00
2022-10-25 09:56:46 +02:00
2022-10-25 09:56:46 +02:00
2022-04-25 12:10:02 +02:00
2022-08-31 17:21:23 +02:00
2021-05-05 16:07:41 +02:00
2022-09-13 16:17:45 +02:00
2022-10-26 14:52:01 +02:00
2021-05-12 13:35:39 +02:00
2022-04-25 12:10:02 +02:00
2022-06-10 14:51:36 +02:00
2022-07-19 09:57:40 +02:00
2022-06-10 14:51:36 +02:00
2021-12-17 17:44:19 +01:00
2021-10-13 19:52:26 +02:00
2022-11-24 09:21:51 +01:00
2022-02-09 13:00:45 +00:00
2022-10-17 10:36:19 +02:00
2022-02-09 13:00:45 +00:00
2022-05-05 14:56:37 +02:00
2020-05-18 09:15:16 +02:00
2022-02-09 13:00:45 +00:00
2022-04-25 12:10:02 +02:00
2022-10-18 17:31:20 +03:00
2022-05-20 19:20:35 +02:00
2022-09-19 15:08:38 +02:00
2020-07-08 09:24:08 +02:00
2020-04-28 22:41:25 +02:00
2022-04-25 12:10:02 +02:00
2022-10-24 12:29:11 +03:00
2021-04-09 14:54:23 -07:00
2022-09-07 13:17:23 +02:00
2023-01-30 15:55:27 +01:00
2022-10-08 09:46:29 -07:00
2022-12-06 12:46:22 +01:00
2023-01-25 13:33:29 +01:00
2022-06-23 23:18:13 +02:00
2022-02-09 13:36:53 +00:00
2021-12-17 17:39:35 +01:00
2023-01-30 15:55:27 +01:00
2022-10-27 09:32:31 +02:00
2022-11-24 09:22:10 +01:00
2022-06-21 18:01:11 +03:00
2022-10-25 09:58:27 +02:00
2021-08-12 11:39:38 +01:00
2022-06-10 14:51:36 +02:00
2022-10-24 12:29:26 +03:00
2022-12-30 16:58:58 +01:00
2022-08-19 14:35:11 +02:00
2021-12-17 17:39:35 +01:00
2022-05-24 16:35:49 +02:00
2021-12-22 10:05:26 +01:00
2022-08-31 17:46:30 +02:00
2023-01-30 15:55:27 +01:00
2022-12-06 10:10:46 +01:00
2021-12-17 17:39:35 +01:00
2022-06-06 14:09:16 +03:00
2023-01-02 13:01:14 +01:00
2022-12-14 09:53:20 +01:00
2020-09-09 12:59:15 +02:00
2022-11-15 15:41:45 +01:00
2021-08-12 11:39:38 +01:00
2022-06-10 14:51:35 +02:00
2022-12-30 16:59:06 +01:00
2021-12-17 17:39:35 +01:00
2020-08-18 21:32:28 +02:00
2022-05-02 10:41:33 +02:00
2022-04-25 12:10:02 +02:00
2022-10-03 20:56:46 +02:00
2022-10-24 12:29:48 +03:00
2022-10-20 13:47:54 +02:00
2022-07-11 09:15:58 +01:00
2022-02-25 09:59:35 +01:00
2022-10-17 10:36:19 +02:00
2021-12-17 17:50:46 +01:00
2021-12-17 17:39:35 +01:00
2021-12-17 17:50:46 +01:00
2021-05-24 20:58:46 +02:00
2022-01-24 17:23:15 +02:00
2022-09-21 09:31:22 +02:00
2022-06-10 14:51:35 +02:00
2022-10-17 10:36:19 +02:00
2022-03-31 16:44:57 +02:00
2022-09-20 09:02:08 +02:00
2021-12-17 17:50:46 +01:00
2022-08-31 13:37:32 +02:00
2021-11-08 11:55:21 -08:00
2022-07-05 15:58:59 +02:00
2021-08-31 11:29:28 +02:00
2022-01-14 18:50:52 -05:00
2022-07-10 09:30:00 +01:00
2021-02-15 11:43:29 +01:00
2021-05-27 09:51:35 +02:00
2022-06-06 14:09:16 +03:00
2022-06-23 16:29:55 +02:00
2021-12-17 17:50:46 +01:00
2022-10-24 12:29:41 +03:00
2021-05-25 16:21:14 +02:00
2022-10-08 09:46:29 -07:00
2020-05-18 09:16:31 +02:00
2021-05-23 20:30:26 +02:00
2022-07-19 09:57:13 +02:00
2022-08-04 18:34:05 -07:00
2021-12-03 16:00:40 +01:00
2020-11-30 17:36:36 +01:00
2022-05-14 14:41:21 +02:00
2021-08-12 11:39:38 +01:00
2021-09-23 10:09:58 +02:00
2023-01-23 16:02:13 +01:00
2022-12-15 09:45:51 -08:00
2022-12-15 09:45:51 -08:00
2020-11-05 15:35:40 +01:00
2022-07-19 09:56:34 +02:00
2022-11-15 15:38:18 +01:00
2022-12-15 09:45:51 -08:00
2022-11-15 11:21:43 +01:00
2022-11-15 11:21:43 +01:00
2022-04-09 22:37:48 +02:00
2022-10-24 12:30:26 +03:00
2023-01-30 15:55:27 +01:00
2022-12-07 09:35:59 +01:00
2023-01-30 15:55:27 +01:00
2022-11-15 11:21:43 +01:00
2022-11-07 09:42:32 +01:00