All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] mmc: Add OMAP SDHCI driver
@ 2017-08-21  7:41 ` Kishon Vijay Abraham I
  0 siblings, 0 replies; 86+ messages in thread
From: Kishon Vijay Abraham I @ 2017-08-21  7:41 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter
  Cc: Rob Herring, Tony Lindgren, Sekhar Nori, Russell King,
	Ravikumar Kattekola, linux-mmc, devicetree, linux-kernel,
	linux-omap, linux-arm-kernel, Kishon Vijay Abraham I

This is the first step in deprecating omap_hsmmc driver completely
and moving to sdhci-omap driver which uses the sdhci library.

This series adds a new SDHCI quirk to indicate MMC_RSP_136 has CRC (since
sdhci in OMAP has CRC)

Apart from the quirk, sdhci-omap has it's own callbacks
to set_clock (clock divider programming is different from generic sdhci)
, set_power, set_bus_width, set_bus_mode and platform_send_init_74_clocks.
These callback functions are implemented based on omap_hsmmc driver.

The sdhci-omap driver supports only the high speed mode and UHS/HS200
mode will be added in a later series.

It has been tested only in boards having DRA7 SoCs like dra7-evm, dra72-evm,
am571x-idk, am572x-idk, am57xx-evm. (Tested only eMMC and SD.
SDIO support will be added later). The plan is to fully convert DRA7
SoC to use SDHCI driver and then convert other legacy platforms to use
SDHCI.

Next Steps:
*) Add UHS support to sdhci-omap
*) Add SDIO support
*) Add support for older TI platforms

Changes from v1:
*) Remove the quirks and instead use sdhci_omap specific callbacks for
   set_power, set_busmode etc.
*) Add a patch from Adrian to tidy reading 136-bit responses

I've also pushed the entire series along with dependent dt patches @
https://github.com/kishon/linux-wip.git sdhci_omap_v1 (in case someone
wants to test)

Adrian Hunter (1):
  mmc: sdhci: Tidy reading 136-bit responses

Kishon Vijay Abraham I (4):
  mmc: sdhci: Add quirk to indicate MMC_RSP_136 has CRC
  dt-bindings: ti-omap-hsmmc: Document new compatible for sdhci omap
  mmc: sdhci-omap: Add OMAP SDHCI driver
  MAINTAINERS: Add TI OMAP SDHCI Maintainer

 .../devicetree/bindings/mmc/ti-omap-hsmmc.txt      |   1 +
 MAINTAINERS                                        |   6 +
 drivers/mmc/host/Kconfig                           |  12 +
 drivers/mmc/host/Makefile                          |   1 +
 drivers/mmc/host/sdhci-omap.c                      | 629 +++++++++++++++++++++
 drivers/mmc/host/sdhci.c                           |  31 +-
 drivers/mmc/host/sdhci.h                           |   2 +
 7 files changed, 672 insertions(+), 10 deletions(-)
 create mode 100644 drivers/mmc/host/sdhci-omap.c

-- 
2.11.0

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

end of thread, other threads:[~2017-09-05 16:51 UTC | newest]

Thread overview: 86+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-21  7:41 [PATCH 0/5] mmc: Add OMAP SDHCI driver Kishon Vijay Abraham I
2017-08-21  7:41 ` Kishon Vijay Abraham I
2017-08-21  7:41 ` Kishon Vijay Abraham I
2017-08-21  7:41 ` [PATCH 1/5] mmc: sdhci: Tidy reading 136-bit responses Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-30 13:13   ` Ulf Hansson
2017-08-30 13:13     ` Ulf Hansson
2017-08-30 13:13     ` Ulf Hansson
2017-08-21  7:41 ` [PATCH 2/5] mmc: sdhci: Add quirk to indicate MMC_RSP_136 has CRC Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-28  7:57   ` Adrian Hunter
2017-08-28  7:57     ` Adrian Hunter
2017-08-30 13:13   ` Ulf Hansson
2017-08-30 13:13     ` Ulf Hansson
2017-08-30 13:13     ` Ulf Hansson
2017-08-21  7:41 ` [PATCH 3/5] dt-bindings: ti-omap-hsmmc: Document new compatible for sdhci omap Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-21 14:21   ` Tony Lindgren
2017-08-21 14:21     ` Tony Lindgren
2017-08-22 13:39     ` [PATCH v2 3/5] dt-bindings: sdhci-omap: Add bindings for the sdhci-omap controller Kishon Vijay Abraham I
2017-08-22 13:39       ` Kishon Vijay Abraham I
2017-08-22 13:39       ` Kishon Vijay Abraham I
2017-08-22 17:39       ` Tony Lindgren
2017-08-22 17:39         ` Tony Lindgren
2017-08-23  5:42     ` [PATCH v3 " Kishon Vijay Abraham I
2017-08-23  5:42       ` Kishon Vijay Abraham I
2017-08-23  5:42       ` Kishon Vijay Abraham I
2017-08-23 13:07       ` Ulf Hansson
2017-08-23 13:07         ` Ulf Hansson
2017-08-23 13:07         ` Ulf Hansson
2017-08-23 13:56         ` Kishon Vijay Abraham I
2017-08-23 13:56           ` Kishon Vijay Abraham I
2017-08-23 13:56           ` Kishon Vijay Abraham I
2017-08-24 11:29           ` Ulf Hansson
2017-08-24 11:29             ` Ulf Hansson
2017-08-24 11:29             ` Ulf Hansson
2017-08-29 11:20             ` Kishon Vijay Abraham I
2017-08-29 11:20               ` Kishon Vijay Abraham I
2017-08-29 11:20               ` Kishon Vijay Abraham I
2017-08-29 11:50               ` Sebastian Reichel
2017-08-29 11:50                 ` Sebastian Reichel
2017-08-29 11:50                 ` Sebastian Reichel
2017-08-29 13:58                 ` Tony Lindgren
2017-08-29 13:58                   ` Tony Lindgren
2017-08-29 13:58                   ` Tony Lindgren
2017-08-29 14:43                   ` Tony Lindgren
2017-08-29 14:43                     ` Tony Lindgren
2017-08-29 14:43                     ` Tony Lindgren
2017-08-29 17:09                   ` Rob Herring
2017-08-29 17:09                     ` Rob Herring
2017-08-29 17:09                     ` Rob Herring
2017-08-29 17:39                     ` Tony Lindgren
2017-08-29 17:39                       ` Tony Lindgren
2017-08-29 17:39                       ` Tony Lindgren
2017-09-05  8:52                       ` Kishon Vijay Abraham I
2017-09-05  8:52                         ` Kishon Vijay Abraham I
2017-09-05  8:52                         ` Kishon Vijay Abraham I
2017-09-05 16:51                         ` Tony Lindgren
2017-09-05 16:51                           ` Tony Lindgren
2017-09-05 16:51                           ` Tony Lindgren
2017-08-29 17:11       ` Rob Herring
2017-08-29 17:11         ` Rob Herring
2017-09-05  8:53         ` Kishon Vijay Abraham I
2017-09-05  8:53           ` Kishon Vijay Abraham I
2017-09-05  8:53           ` Kishon Vijay Abraham I
2017-08-21  7:41 ` [PATCH 4/5] mmc: sdhci-omap: Add OMAP SDHCI driver Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-28  9:06   ` Adrian Hunter
2017-08-28  9:06     ` Adrian Hunter
2017-08-30 13:53     ` Kishon Vijay Abraham I
2017-08-30 13:53       ` Kishon Vijay Abraham I
2017-08-30 13:53       ` Kishon Vijay Abraham I
2017-08-31 13:02       ` Adrian Hunter
2017-08-31 13:02         ` Adrian Hunter
2017-09-05  8:57         ` Kishon Vijay Abraham I
2017-09-05  8:57           ` Kishon Vijay Abraham I
2017-09-05  8:57           ` Kishon Vijay Abraham I
2017-08-21  7:41 ` [PATCH 5/5] MAINTAINERS: Add TI OMAP SDHCI Maintainer Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-21  7:41   ` Kishon Vijay Abraham I
2017-08-28  9:07   ` Adrian Hunter
2017-08-28  9:07     ` Adrian Hunter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.