linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/3] mmc: mediatek: add support for SDIO async IRQ
@ 2022-03-16  6:00 Axe Yang
  2022-03-16  6:00 ` [PATCH v6 1/3] dt-bindings: mmc: mtk-sd: extend interrupts and pinctrls properties Axe Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Axe Yang @ 2022-03-16  6:00 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Chaotian Jing, Matthias Brugger, Adrian Hunter
  Cc: Yoshihiro Shimoda, Satya Tangirala, Andy Shevchenko,
	Wolfram Sang, Axe Yang, Lucas Stach, Eric Biggers,
	Andrew Jeffery, Stephen Boyd, Kiwoong Kim, Yue Hu, Tian Tao,
	angelogioacchino.delregno, linux-mmc, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek

Change in v6:
- abandon cap-sdio-async-irq flag, use wakeup-source flag instead
- extend interrupts and pinctrls in mediatek mmc host controller DT documents
- add mmc_card_enable_async_irq() to access enable_async_irq flag
- simplify wakeup irq implementation with dedicate wake up irq related interface

Change in v5:
- resort variables to reversed xmas tree order
- restore old copyright year range and add current year back

Change in v4:
- add MMC_CAP2_SDIO_ASYNC_IRQ judge before lookup eint pinctrl
- replace spin_lock_irqsave() variant with spin_lock() in eint irq handler

Changes in v3:
- correct abbreviations with capital letters in commit message
- replace copyright year with 2022 in mtk-sd.c
- remove unnessary pointer casting
- adjust variable order to reversed xmas tree
- remove a redundant blank line
- refine if statement, following standard pattern

Change in v2:
- change flag name from 'cap-sdio-async-int' to 'cap-sdio-async-irq'
- change corresponding macro names from xxx_INT to xxx_IRQ
- resort new member in msdc_host structure
- refine function msdc_request_dat1_eint_irq()
- rename msdc_{suspend,resume} function names, add suffix '_noirq'
- add MMC_CAP2_NO_SDIO judgement before parse eint related pin setting

Axe Yang (3):
  dt-bindings: mmc: mtk-sd: extend interrupts and pinctrls properties
  mmc: core: Add support for SDIO wakeup interrupt
  mmc: mediatek: add support for SDIO eint wakup IRQ

 .../devicetree/bindings/mmc/mtk-sd.yaml       | 24 ++++-
 drivers/mmc/core/sdio.c                       | 17 ++++
 drivers/mmc/host/mtk-sd.c                     | 99 +++++++++++++++++--
 include/linux/mmc/card.h                      |  8 +-
 include/linux/mmc/sdio.h                      |  5 +
 5 files changed, 143 insertions(+), 10 deletions(-)

-- 
2.25.1



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

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

end of thread, other threads:[~2022-03-16  6:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16  6:00 [PATCH v6 0/3] mmc: mediatek: add support for SDIO async IRQ Axe Yang
2022-03-16  6:00 ` [PATCH v6 1/3] dt-bindings: mmc: mtk-sd: extend interrupts and pinctrls properties Axe Yang
2022-03-16  6:00 ` [PATCH v6 2/3] mmc: core: Add support for SDIO wakeup interrupt Axe Yang
2022-03-16  6:00 ` [PATCH v6 3/3] mmc: mediatek: add support for SDIO eint wakup IRQ Axe Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).