Skip to content

mmc: support setting card detect interrupt from drivers and use it in meson-gx

Heiner Kallweit linux-amlogic linux-arm-kernel linux-devicetree linux-mmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 9 repliesIn review

Changes in v2 from the cover letter

- use another mechanism for passing and storing the cd interrupt
- add patch 2

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: core: support setting card detect interrupt from driversdrivers/mmc/core/slot-gpio.c include/linux/mmc/slot-gpio.h+17 -10 replies
2/3dt-bindings: mmc: meson-gx: support specifying cd interruptDocumentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml+1 -16 replies
3/3mmc: meson-gx: support platform interrupt as card detect interruptdrivers/mmc/host/meson-gx-mmc.c+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] mmc: support setting card detect interrupt from drivers and use it in meson-gx

On certain platforms like Amlogic Meson gpiod_to_irq() isn't supported due to the design of gpio / interrupt controller. Therefore provide an option for drivers to pass the card detect interrupt number (retrieved e.g. from device tree) to mmc core.

v2:
- use another mechanism for passing and storing the cd interrupt
- add patch 2

Heiner Kallweit (3):
mmc: core: support setting card detect interrupt from drivers
dt-bindings: mmc: meson-gx: support specifying cd interrupt
mmc: meson-gx: support platform interrupt as card detect interrupt

 .../bindings/mmc/amlogic,meson-gx-mmc.yaml      |  2 +-
 drivers/mmc/core/slot-gpio.c                    | 17 ++++++++++++++++-
 drivers/mmc/host/meson-gx-mmc.c                 |  5 ++++-
 include/linux/mmc/slot-gpio.h                   |  1 +
 4 files changed, 22 insertions(+), 3 deletions(-)
Signature · 1 line
2.39.1