[PATCH 0/2] mmc: meson-gx: support platform interrupt as card detect interrupt
Heiner Kallweit
hkallweit1 at gmail.com
Sun Jan 29 15:02:47 PST 2023
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(-)
--
2.39.1
More information about the linux-amlogic
mailing list