[U-Boot] [PATCH v1 03/16] mmc: Add support for Qualcomm SDHCI controller

Simon Glass
2016-01-11T16:57:45Z

On 6 January 2016 at 11:21, Mateusz Kulikowski
<mateusz.kulikowski@gmail.com> wrote:
> Add support for SD/eMMC controller present on some Qualcomm Snapdragon
> devices. This controller implements SDHCI 2.0 interface but requires
> vendor-specific initialization.
> Driver works in PIO mode as ADMA is not supported by U-Boot (yet).
>
> Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
> ---
>
> Changes in v1:
> - Added commit message
> - Added DT binding documentation
> - Added Kconfig help
> - Reordered includes
> - Dropped redundant fields from msm_sdhc
> - Cleaned up clock init code (+ added error handling)
> - Dropped mdelay - use wait_for_bit instead in reset code
> - Added missing newline after declarations
> - Added error handling if "reg" is missing
> - Converted base address to pointer
>
> doc/device-tree-bindings/mmc/msm_sdhci.txt | 25 ++++
> drivers/mmc/Kconfig | 9 ++
> drivers/mmc/Makefile | 1 +
> drivers/mmc/msm_sdhci.c | 180 +++++++++++++++++++++++++++++
> 4 files changed, 215 insertions(+)
> create mode 100644 doc/device-tree-bindings/mmc/msm_sdhci.txt
> create mode 100644 drivers/mmc/msm_sdhci.c

Reviewed-by: Simon Glass <sjg@chromium.org>