[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <68761051.37200.1488396112552@email.1und1.de>
Date: Wed, 1 Mar 2017 20:21:52 +0100 (CET)
From: Stefan Wahren <stefan.wahren@...e.com>
To: Gerd Hoffmann <kraxel@...hat.com>, Eric Anholt <eric@...olt.net>,
linux-rpi-kernel@...ts.infradead.org
Cc: will.deacon@....com, linux@...linux.org.uk, lee@...nel.org,
rjui@...adcom.com, robh+dt@...nel.org,
linux-arm-kernel@...ts.infradead.org, ulf.hansson@...aro.org,
sbranden@...adcom.com, linux-kernel@...r.kernel.org,
catalin.marinas@....com, linux-mmc@...r.kernel.org,
bcm-kernel-feedback-list@...adcom.com, swarren@...dotorg.org,
mark.rutland@....com, f.fainelli@...il.com,
devicetree@...r.kernel.org
Subject: Re: [PATCH v3 2/7] mmc: bcm2835: Add new driver for the sdhost
controller.
> Eric Anholt <eric@...olt.net> hat am 1. März 2017 um 19:00 geschrieben:
>
>
> Gerd Hoffmann <kraxel@...hat.com> writes:
>
> > From: Eric Anholt <eric@...olt.net>
> >
> > The 2835 has two SD controllers: The Arasan sdhci controller (supported
> > by the iproc driver) and a custom sdhost controller. This patch adds a
> > driver for the latter.
> >
> > The sdhci controller supports both sdcard and sdio. The sdhost
> > controller supports the sdcard only, but has better performance. Also
> > 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.
> >
> > Signed-off-by: Eric Anholt <eric@...olt.net>
>
> Ulf, what do you need done to this driver patch before it can go in?
> The commit message seems like it could use some rewriting at this point
> (Personally I would drop the detailed changelogs from Stefan and Gerd,
> updating the last paragraph here to give them credit), but what's
> important to me is getting the driver in so that distros don't have to
> carry this patch for wifi support.
I'm still working on 3 small patches for this driver:
1. trivial error in a register comment
2. ignore SDCMD_FAIL_FLAG during bcm2835_finish_command (downstream [1])
3. remove unnecessary call to bcm2835_reset_internal
I plan to submit them on Friday.
[1] - https://github.com/raspberrypi/linux/commit/711cade866c9f865f9b283c9369e9486f27d1fec
Powered by blists - more mailing lists