linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kraxel@redhat.com (Gerd Hoffmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/8] mmc: bcm2835: Add new driver for the sdhost controller.
Date: Tue, 07 Feb 2017 09:02:55 +0100	[thread overview]
Message-ID: <1486454575.24589.29.camel@redhat.com> (raw)
In-Reply-To: <1708749883.208474.1486413240581@email.1und1.de>

On Mo, 2017-02-06 at 21:34 +0100, Stefan Wahren wrote:
> Hi Gerd,
> 
> first of all here my wishlist for the next round of this driver:
> * compile test the series with ARM and ARM64

It is tested on both arm and arm64 (rpi2 + rpi3).

> * add me in CC for all patches of the series

Oops.  /me should be more careful when reading names.  I thought I had
you on Cc:  Double-checked.  Turned out that was Stephen Warren ...

> * run checkpatch.pl before submission

Hmm?  Are there any issues?  /me has a pre-commit hook running
checkpatch to avoid anything slipping though.

> * apply the patch series to your cgit repo

Branch pushed now: bcm2837-sdhost-squashed-v2

> > The sdhci controller supports both sdcard and sdio.  The sdhost
> > controller supports the sdcard only, but has better performance.  Also
> 
> Sorry, for the confusion. I was wrong. According to the registers the SDHOST should also support SDIO. It's a feature we could implement later.

Ok.

> > note that the rpi3 has sdio wifi, so driving the sdcard with the sdhost
> > controller allows to use the sdhci controller for wifi support.
> > 
> > The configuration is done by devicetree via pin muxing.  Both SD
> > controller are available on the same pins (2 pin groups = pin 22 to 27 +
> > pin 48 to 53).  So it's possible to use both SD controllers at the same
> > time with different pin groups.
> > 
> > The code was originally written by Phil Elwell in the downstream
> > Rasbperry Pi tree, and I did a major cleanup on it (+319, -707 lines
> > out of the original 2055) for inclusion.
> 
> I think it would be helpful to known the downstream commit, because this commit [1]
> doesn't seem to be included.
> 
> [1] - https://github.com/raspberrypi/linux/commit/ea4b1c5c2ddbb6caba43ab9b0103542a4ca7e1f0
> 
> I've found and fixed a lot of issues in this version and i think it would be better if i send you the patches for squashing them all together. Here is the preview for my patch series:
> 
> Stefan Wahren (15):
>   mmc: bcm2835: Add missing include for threaded irq
>   mmc: bcm2835: Remove CMD_DALLY_US
>   mmc: bcm2835: Fix pio_timeout handling
>   mmc: bcm2835: Remove unnecessary return in bcm2835_data_irq
>   mmc: bcm2835: Handle error cases during probe
>   mmc: bcm2835: Print clk_max as decimal
>   mmc: bcm2835: Downrate message in case of PIO fallback
>   mmc: bcm2835: Don't unveil the data pointer
>   mmc: bcm2835: remove unused host members
>   mmc: bcm2835: Avoid unnecessary linebreaks
>   mmc: bcm2835: Add leading zero to register dumps
>   mmc: bcm2835: Align struct members with tabs
>   mmc: bcm2835: Rearrange bcm2835_finish_request()
>   mmc: bcm2835: Rearrange bcm2835_dma_complete_work()
>   mmc: bcm2835: Rename Kconfig switch
> 
> I'll send it after my tests. In the following review i will mention only the issues which aren't fixed in my patch series.

I'll pick up the patches and look at the remaining issues, new version
later this week (i hope).

thanks,
  Gerd

  reply	other threads:[~2017-02-07  8:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-03 12:11 [PATCH v2 0/8] mmc: bcm2835: Add new driver for the sdhost controller Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 1/8] dt-bindings: Add binding for brcm,bcm2835-sdhost Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 2/8] mmc: bcm2835: Add new driver for the sdhost controller Gerd Hoffmann
2017-02-06 20:34   ` Stefan Wahren
2017-02-07  8:02     ` Gerd Hoffmann [this message]
2017-02-07  8:24       ` Stefan Wahren
2017-02-08 18:08       ` Stefan Wahren
2017-02-03 12:11 ` [PATCH v2 3/8] mmc: bcm2835: add sdhost controller to devicetree Gerd Hoffmann
2017-02-03 17:31   ` Eric Anholt
2017-02-03 12:11 ` [PATCH v2 4/8] arm: set CONFIG_MMC_BCM2835=y in bcm2835_defconfig Gerd Hoffmann
2017-02-03 17:26   ` Eric Anholt
2017-02-03 12:11 ` [PATCH v2 5/8] arm: set CONFIG_MMC_BCM2835=y in multi_v7_defconfig Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 6/8] arm64: set CONFIG_MMC_BCM2835=y in defconfig Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 7/8] ARM: dts: bcm283x: switch from &sdhci to &sdhost Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 8/8] ARM: dts: bcm2837: add &sdhci and &sdhost Gerd Hoffmann

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=1486454575.24589.29.camel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).