diff options
| author | Nuno Sá <[email protected]> | 2025-07-01 14:32:10 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2025-07-01 20:50:51 +0000 |
| commit | 988b28a83b658137e58123f4dafc3a1588e1cb2b (patch) | |
| tree | 0caa7430e1260fad7f18c6999a7e3d392302e0e7 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | mfd: adp5585: Add support for input devices (diff) | |
| download | kernel-988b28a83b658137e58123f4dafc3a1588e1cb2b.tar.gz kernel-988b28a83b658137e58123f4dafc3a1588e1cb2b.zip | |
gpio: adp5585: support gpi events
Add support for adding GPIs to the event FIFO. This is done by adding
irq_chip support. Like this, one can use the input gpio_keys driver as a
"frontend" device and input handler.
As part of this change, we now implement .request() and .free() as we can't
blindly consume all available pins as GPIOs (example: some pins can be
used for forming a keymap matrix).
Also note that the number of pins can now be obtained from the parent,
top level device. Hence the 'max_gpio' variable can be removed.
Reviewed-by: Linus Walleij <[email protected]>
Acked-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Nuno Sá <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
