mbox series

[0/2] mmc: meson-gx: support platform interrupt as card detect interrupt

Message ID dfb90ca4-1f62-e3ed-2ce4-a7b5f661e36d@gmail.com
Headers show
Series mmc: meson-gx: support platform interrupt as card detect interrupt | expand

Message

Heiner Kallweit Jan. 29, 2023, 11:02 p.m. UTC
On certain platforms like Amlogic Meson gpiod_to_irq() isn't supported
due to the design of gpio / interrupt controller. Therefore provide an
option to specify the cd interrupt e.g. by device tree. The host
controller can store the interrupt in cd_irq for use by
mmc_gpiod_request_cd_irq().

Heiner Kallweit (2):
  mmc: core: support platform interrupt as card detect interrupt
  mmc: meson-gx: support platform interrupt as card detect interrupt

 drivers/mmc/core/slot-gpio.c    | 2 +-
 drivers/mmc/host/meson-gx-mmc.c | 3 +++
 include/linux/mmc/host.h        | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)