Linux-Amlogic Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mmc: meson-gx: support platform interrupt as card detect interrupt
@ 2023-01-29 23:02 Heiner Kallweit
  2023-01-29 23:04 ` [PATCH 1/2] mmc: core: " Heiner Kallweit
  2023-01-29 23:10 ` [PATCH 2/2] mmc: meson-gx: " Heiner Kallweit
  0 siblings, 2 replies; 9+ messages in thread
From: Heiner Kallweit @ 2023-01-29 23:02 UTC (permalink / raw)
  To: Ulf Hansson, Kevin Hilman, Neil Armstrong, Jerome Brunet,
	Martin Blumenstingl
  Cc: linux-mmc@vger.kernel.org, open list:ARM/Amlogic Meson...,
	linux-arm-kernel@lists.infradead.org

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


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-02-14  7:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-29 23:02 [PATCH 0/2] mmc: meson-gx: support platform interrupt as card detect interrupt Heiner Kallweit
2023-01-29 23:04 ` [PATCH 1/2] mmc: core: " Heiner Kallweit
2023-02-13 22:46   ` Ulf Hansson
2023-02-14  7:45     ` Heiner Kallweit
2023-01-29 23:10 ` [PATCH 2/2] mmc: meson-gx: " Heiner Kallweit
2023-01-30 11:06   ` Neil Armstrong
2023-01-30 19:04     ` Heiner Kallweit
2023-02-13 22:47   ` Ulf Hansson
2023-02-14  6:39     ` Heiner Kallweit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox