[U-Boot] [PATCH v7 0/3] mmc: meson: add MMC support for Meson GX (S905)

Heiner Kallweit hkallweit1 at gmail.com
Wed Apr 12 18:24:12 UTC 2017


This patch set implements eMMC on Amlogic Meson GX (S905).
It's based on Carlo Caione's work submitted here:
http://lists.denx.de/pipermail/u-boot/2016-May/254391.html

Changes to the original version:
- BLK support added
- fully DT-based now
- minor general refactoring

The driver was successfully tested on a Odroid C2.

Note: On Odroid C2 eMMC is MMC device 1. So you have to
switch from MMC device 0 to 1 first when testing from
uboot prompt.

Latest change in v7:
- rebase due to other recent mmc changes

Heiner Kallweit (3):
  arm: dts: update Meson GXBB / Odroid-C2 DT with recent Linux version
  mmc: meson: add MMC driver for Meson GX (S905)
  odroid-c2: enable new Meson GX MMC driver in board defconfig

 arch/arm/dts/meson-gx.dtsi                | 447 +++++++++++++++++++
 arch/arm/dts/meson-gxbb-odroidc2.dts      | 147 +++++-
 arch/arm/dts/meson-gxbb.dtsi              | 718 ++++++++++++++++++------------
 arch/arm/include/asm/arch-meson/sd_emmc.h |  89 ++++
 configs/odroid-c2_defconfig               |   5 +-
 drivers/mmc/Kconfig                       |   6 +
 drivers/mmc/Makefile                      |   1 +
 drivers/mmc/meson_gx_mmc.c                | 291 ++++++++++++
 include/dt-bindings/clock/gxbb-aoclkc.h   |  66 +++
 include/dt-bindings/clock/gxbb-clkc.h     |  34 ++
 include/dt-bindings/reset/gxbb-aoclkc.h   |  66 +++
 11 files changed, 1594 insertions(+), 276 deletions(-)
 create mode 100644 arch/arm/dts/meson-gx.dtsi
 create mode 100644 arch/arm/include/asm/arch-meson/sd_emmc.h
 create mode 100644 drivers/mmc/meson_gx_mmc.c
 create mode 100644 include/dt-bindings/clock/gxbb-aoclkc.h
 create mode 100644 include/dt-bindings/clock/gxbb-clkc.h
 create mode 100644 include/dt-bindings/reset/gxbb-aoclkc.h

-- 
2.12.2



More information about the U-Boot mailing list