public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 0/3] mmc: meson: add MMC support for Meson GX (S905)
Date: Wed, 12 Apr 2017 20:24:12 +0200	[thread overview]
Message-ID: <649cd4e1-774c-bf77-583f-475041978d1d@gmail.com> (raw)

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

             reply	other threads:[~2017-04-12 18:24 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170412182456epcas3p1e652ef3f772bf91ea3fbf7203fa00c71@epcas3p1.samsung.com>
2017-04-12 18:24 ` Heiner Kallweit [this message]
2017-04-12 18:28   ` [U-Boot] [PATCH v7 1/3] arm: dts: update Meson GXBB / Odroid-C2 DT with recent Linux version Heiner Kallweit
2017-04-14  6:21     ` Jaehoon Chung
2017-04-12 18:30   ` [U-Boot] [PATCH v7 2/3] mmc: meson: add MMC driver for Meson GX (S905) Heiner Kallweit
2017-04-12 23:50     ` [U-Boot] [U-Boot, v7, " Vagrant Cascadian
2017-04-14  6:22     ` [U-Boot] [PATCH v7 " Jaehoon Chung
2017-04-15 15:05       ` Andreas Färber
2017-04-15 18:18         ` Heiner Kallweit
2017-04-15 18:27           ` Alexander Graf
2017-04-15 19:13             ` Heinrich Schuchardt
2017-04-15 20:21               ` Alexander Graf
2017-04-15 20:34             ` Andreas Färber
2017-04-15 20:52               ` Heinrich Schuchardt
2017-04-15 21:07                 ` Andreas Färber
2017-04-15 21:04               ` Alexander Graf
2017-04-15 21:16                 ` Andreas Färber
2017-04-15 21:51                   ` Andreas Färber
2017-04-16  2:09                     ` Heinrich Schuchardt
2017-04-16 10:08                       ` Alexander Graf
2017-04-16 19:34                         ` Simon Glass
2017-04-17 21:18                           ` Heinrich Schuchardt
2017-04-17 22:39                             ` Jaehoon Chung
2017-04-24  3:38                               ` Simon Glass
2017-04-24  5:18                                 ` Jaehoon Chung
2017-04-29  0:25                           ` Simon Glass
2017-04-18 18:44         ` [U-Boot] [PATCH 1/1] core/uclass: uclass_get_device_tail: always set devp Heinrich Schuchardt
2017-04-19  0:12           ` Simon Glass
2017-04-19  3:03             ` Andreas Färber
2017-04-19  3:37               ` Simon Glass
2017-04-19  4:48                 ` Heinrich Schuchardt
2017-04-19 11:26                 ` [U-Boot] [PATCH v2 1/1] core/uclass: iterate over all devices of a uclass Heinrich Schuchardt
2017-04-19 14:28                   ` Simon Glass
2017-04-19 14:43                     ` Andreas Färber
2017-04-19 15:14                       ` Simon Glass
2017-04-19 15:52                         ` Simon Glass
2017-04-19 16:37                           ` Andreas Färber
2017-04-19 16:56                             ` Simon Glass
2017-04-19 17:00                               ` Andreas Färber
2017-04-19 17:10                                 ` Simon Glass
2017-04-19 18:08                                   ` Heinrich Schuchardt
2017-04-19 21:29                                     ` Simon Glass
2017-04-19 15:55                     ` Heinrich Schuchardt
2017-04-19 16:02                       ` Simon Glass
2017-04-19 16:22                   ` Álvaro Fernández Rojas
2017-04-19 16:25                     ` Andreas Färber
2017-04-19 16:31                       ` Álvaro Fernández Rojas
2017-04-19 16:45                         ` Andreas Färber
2017-04-19 21:06                   ` Andreas Färber
2017-04-19 21:34                     ` Simon Glass
2017-04-22 23:58                       ` Simon Glass
2017-04-23 10:48                         ` Andreas Färber
2017-04-24  2:11                           ` Simon Glass
2017-04-23 10:55                       ` Andreas Färber
2017-04-24  2:12                         ` Simon Glass
2017-04-23  2:10                   ` Simon Glass
2017-04-23  3:44                     ` Heinrich Schuchardt
2017-04-12 18:32   ` [U-Boot] [PATCH v7 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig Heiner Kallweit
2017-04-14  6:22     ` Jaehoon Chung
2017-04-14  3:12   ` [U-Boot] [PATCH v7 0/3] mmc: meson: add MMC support for Meson GX (S905) Jaehoon Chung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=649cd4e1-774c-bf77-583f-475041978d1d@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox