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

Simon Glass sjg at chromium.org
Sun Jan 31 16:16:12 CET 2016


On 24 January 2016 at 13:52, Mateusz Kulikowski
<mateusz.kulikowski at 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 at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Add reviewed-by
>
> 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

Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list