All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Novotny <tomas@novotny.cz>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 0/9] mmc: sunxi: Enable DM_MMC
Date: Wed, 30 Jan 2019 11:16:07 +0100	[thread overview]
Message-ID: <20190130111607.2b1d3e1a@tomas.local.tbs-biometrics.cz> (raw)
In-Reply-To: <20190129155416.116919-1-andre.przywara@arm.com>

Hi Andre,

On Tue, 29 Jan 2019 15:54:07 +0000, Andre Przywara <andre.przywara@arm.com>
wrote:
> This series gathers all remaining patches we need to enable DM_MMC for
> Allwinner boards. It relies on the clock gates framework already merged,
> and adds the respective gates and resets for each SoC.
> It then teaches the sunxi MMC driver to use the clock framework for
> those reset and gates clocks. The "mod clock", responsible for setting
> the actual interface speed, is still handled in the MMC driver, as the
> DM_CLK part of that is not ready yet (and is not trivial).
> This allows to turn on DM_MMC, and gets rid of the doomsday warning
> message every Allwinner board was blessed with for a while.
> 
> This series is available at:
> https://github.com/apritzel/u-boot/commits/sunxi-dm-gates

I've briefly tested that branch on A83t mainlined tablet (TBS A711). I was
able to boot from SD card and eMMC.

Just noticed that message:
MMC:   Device 'mmc at 1c11000': seq 1 is in use by 'mmc at 1c10000'
mmc at 1c0f000: 0, mmc at 1c10000: 2, mmc at 1c11000: 1
I guess that this is the mmc1/2 renaming stuff?

With 2019.01 I got:
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1

Tomas

> ---------------------------
> 
> Jagan, can you please have a look whether this is fine? If you are not
> sure about patch 7, you can leave this one out for now.
> If you are good with it, can you merge it to sunxi/master and send the
> PR, so that it still goes into the release?
> We can then fix all the remaining issues until the release.
> 
> Cheers,
> Andre.
> 
> Changes in v4:
> - Add proper A80 support (special MMC config clock)
> - Add V3s support (gates and resets)
> - Fix pinmux problem when not booting via SD or eMMC
> - smaller fixes per ML discussion
> Changes for v3:
> - Handle clock via CLK framework.
> Changes for v2:
> - update the 'reset enablement' logic to do
>   required SoC's
> 
> Andre Przywara (5):
>   sunxi: clk: enable clk and reset for CCU devices
>   sunxi: clk: add MMC gates/resets
>   sunxi: clk: A80: add MMC clock support
>   mmc: sunxi: Add DM clk and reset support
>   sunxi: board: do MMC pinmux setup for DM_MMC builds
> 
> Jagan Teki (4):
>   mmc: sunxi: Add remaining compatible strings
>   mmc: sunxi: Add DM_MMC support for H6
>   arm: sunxi: Enable DM_MMC
>   arm: dts: sunxi: Enumerate MMC2 as MMC1
> 
>  arch/arm/Kconfig                      |  1 +
>  arch/arm/dts/sunxi-u-boot.dtsi        |  4 +++
>  arch/arm/mach-sunxi/Kconfig           |  1 -
>  board/sunxi/board.c                   | 15 ++++++++++
>  configs/Linksprite_pcDuino3_defconfig |  1 -
>  drivers/clk/sunxi/clk_a10.c           |  4 +++
>  drivers/clk/sunxi/clk_a10s.c          |  3 ++
>  drivers/clk/sunxi/clk_a23.c           |  6 ++++
>  drivers/clk/sunxi/clk_a31.c           |  8 +++++
>  drivers/clk/sunxi/clk_a64.c           |  6 ++++
>  drivers/clk/sunxi/clk_a80.c           | 32 +++++++++++++++++++-
>  drivers/clk/sunxi/clk_a83t.c          |  6 ++++
>  drivers/clk/sunxi/clk_h3.c            |  6 ++++
>  drivers/clk/sunxi/clk_h6.c            |  6 ++++
>  drivers/clk/sunxi/clk_r40.c           |  8 +++++
>  drivers/clk/sunxi/clk_sunxi.c         | 12 ++++++++
>  drivers/clk/sunxi/clk_v3s.c           |  6 ++++
>  drivers/mmc/sunxi_mmc.c               | 42 +++++++++++++++++++++++----
>  18 files changed, 159 insertions(+), 8 deletions(-)
> 

  parent reply	other threads:[~2019-01-30 10:16 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29 15:54 [U-Boot] [PATCH v4 0/9] mmc: sunxi: Enable DM_MMC Andre Przywara
2019-01-29 15:54 ` [U-Boot] [PATCH v4 1/9] sunxi: clk: enable clk and reset for CCU devices Andre Przywara
2019-01-29 18:10   ` Jagan Teki
2019-01-29 18:16     ` Andre Przywara
2019-01-29 18:26       ` Jagan Teki
2019-01-30 10:33         ` Andre Przywara
2019-01-30 10:38           ` Jagan Teki
2019-01-30 10:55             ` Andre Przywara
2019-01-30 12:46               ` Jagan Teki
2019-01-30 13:42                 ` Andre Przywara
2019-01-30 14:19                   ` Jagan Teki
2019-01-30 14:31                     ` Andre Przywara
2019-01-30 14:47                       ` Jagan Teki
2019-01-30 16:13                         ` Andre Przywara
2019-01-30 16:24                           ` Jagan Teki
2019-01-29 15:54 ` [U-Boot] [PATCH v4 2/9] sunxi: clk: add MMC gates/resets Andre Przywara
2019-01-29 18:02   ` Jagan Teki
2019-01-29 15:54 ` [U-Boot] [PATCH v4 3/9] sunxi: clk: A80: add MMC clock support Andre Przywara
2019-01-29 18:04   ` Jagan Teki
2019-01-29 18:13   ` Jagan Teki
2019-01-29 15:54 ` [U-Boot] [PATCH v4 4/9] mmc: sunxi: Add remaining compatible strings Andre Przywara
2019-01-29 18:08   ` Jagan Teki
2019-01-29 15:54 ` [U-Boot] [PATCH v4 5/9] mmc: sunxi: Add DM_MMC support for H6 Andre Przywara
2019-01-29 18:08   ` Jagan Teki
2019-01-29 15:54 ` [U-Boot] [PATCH v4 6/9] mmc: sunxi: Add DM clk and reset support Andre Przywara
2019-01-29 18:14   ` Jagan Teki
2019-01-29 15:54 ` [U-Boot] [PATCH v4 7/9] sunxi: board: do MMC pinmux setup for DM_MMC builds Andre Przywara
2019-01-29 18:17   ` Jagan Teki
2019-01-29 15:54 ` [U-Boot] [PATCH v4 8/9] arm: sunxi: Enable DM_MMC Andre Przywara
2019-01-29 15:54 ` [U-Boot] [PATCH v4 9/9] arm: dts: sunxi: Enumerate MMC2 as MMC1 Andre Przywara
2019-01-29 17:42 ` [U-Boot] [PATCH v4 0/9] mmc: sunxi: Enable DM_MMC Jagan Teki
2019-01-29 17:49   ` Andre Przywara
2019-01-29 17:53     ` Jagan Teki
2019-01-30 10:16 ` Tomas Novotny [this message]
2019-01-30 11:46   ` Andre Przywara
2019-01-30 12:50     ` Jagan Teki
2019-01-30 13:56       ` Andre Przywara
2019-01-30 13:35     ` Tomas Novotny

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=20190130111607.2b1d3e1a@tomas.local.tbs-biometrics.cz \
    --to=tomas@novotny.cz \
    --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 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.