All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 0/9] mmc: sunxi: Enable DM_MMC
@ 2019-01-29 15:54 Andre Przywara
  2019-01-29 15:54 ` [U-Boot] [PATCH v4 1/9] sunxi: clk: enable clk and reset for CCU devices Andre Przywara
                   ` (10 more replies)
  0 siblings, 11 replies; 38+ messages in thread
From: Andre Przywara @ 2019-01-29 15:54 UTC (permalink / raw)
  To: u-boot

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

---------------------------

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(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2019-01-30 16:24 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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.