All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: linux-renesas-soc@vger.kernel.org
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Subject: [PATCH 0/3] r8a779f0: add SDHI support
Date: Mon, 11 Jul 2022 15:46:53 +0200	[thread overview]
Message-ID: <20220711134656.277730-1-wsa+renesas@sang-engineering.com> (raw)

These are the remaining patches to enable basic eMMC support on the
Renesas Spider board with a R-Car S4-8 SoC. The patches are based on
mmc/next.

Some comments:

- For reasons, I have not understood yet, the performance is a bit lower
  than our BSP when checksumming a 250MB file (BSP: 2.7s, this: 3.4s).
  I was investigating clock handling differences between BSP and upstream
  for a while because the values of the clock trees differed quite a
  lot. The patch "clk: renesas: rcar-gen4: implement SDSRC properly" was
  rejected which is fine with me. I meanwhile found out that the BSP had
  PLL4 entries missing which made the values all bogus. The newest
  version of the BSP fixed that. So, it doesn't seem to be the clocks.
  Back to the drawing board, let's handle this incrementally.

- I made prototypes to support the microSD slot despite it is hardly
  accessible because the Ethernet subboard is blocking the way. After
  further discussions with Shimoda-san, we agreed to not support it
  upstream because the voltage switching in hardware or CPLD is only
  for specific testing. I added a comment to describe that.

Other than that, eMMC works fine so far.

All the best,

   Wolfram


Wolfram Sang (3):
  clk: renesas: r8a779f0: Add sdh0 clock
  arm64: dts: renesas: r8a779f0: Add SDHI0 support
  arm64: dts: renesas: spider-cpu: enable eMMC0

 .../boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 45 +++++++++++++++++++
 arch/arm64/boot/dts/renesas/r8a779f0.dtsi     | 13 ++++++
 drivers/clk/renesas/r8a779f0-cpg-mssr.c       |  3 +-
 3 files changed, 60 insertions(+), 1 deletion(-)

-- 
2.35.1


             reply	other threads:[~2022-07-11 13:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-11 13:46 Wolfram Sang [this message]
2022-07-11 13:46 ` [PATCH 1/3] clk: renesas: r8a779f0: Add sdh0 clock Wolfram Sang
2022-07-12  8:02   ` Geert Uytterhoeven
2022-07-11 13:46 ` [PATCH 2/3] arm64: dts: renesas: r8a779f0: Add SDHI0 support Wolfram Sang
2022-07-12  8:07   ` Geert Uytterhoeven
2022-07-11 13:46 ` [PATCH 3/3] arm64: dts: renesas: spider-cpu: enable eMMC0 Wolfram Sang
2022-07-11 13:48   ` Wolfram Sang
2022-07-12  8:12   ` Geert Uytterhoeven
2022-07-21  1:49 ` [PATCH 0/3] r8a779f0: add SDHI support Yoshihiro Shimoda

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=20220711134656.277730-1-wsa+renesas@sang-engineering.com \
    --to=wsa+renesas@sang-engineering.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    /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.