[PATCH RESEND V4] mmc: core: HS200 mode support for eMMC 4.5

2011-10-25 Thread Girish K S
This patch adds the support of the HS200 bus speed for eMMC 4.5 devices. The eMMC 4.5 devices have support for 200MHz bus speed.The mmc core and host modules have been touched to add support for this module. It is necessary to know the card type in the sdhci.c file to add support for eMMC tuning f

Re: [PATCH] mmc: boot partition ro lock support

2011-10-25 Thread Andrei E. Warkentin
2011/10/24 Johan RUDHOLM : >> I think the overlap between your patch and Andrei's >> mmcblkXbootY/force_ro >> node is going to be confusing -- one operates purely in the kernel and >> the other is sent to the card.  Do you have any proposal for making the >> difference clearer? > > I concur, the s

[PATCH 2/3] mmc: sdhci-pxa: Add SDHCI driver for PXA16x

2011-10-25 Thread Tanmay Upadhyay
Signed-off-by: Philip Rakity Signed-off-by: Tanmay Upadhyay --- drivers/mmc/host/Kconfig| 13 ++ drivers/mmc/host/Makefile |1 + drivers/mmc/host/sdhci-pxav1.c | 256 +++ drivers/mmc/host/sdhci.c|3 + d

[PATCH 3/3] ARM: pxa168/gplugd: Add support for SD port 1

2011-10-25 Thread Tanmay Upadhyay
Signed-off-by: Tanmay Upadhyay --- arch/arm/mach-mmp/gplugd.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c index 98e25d9..f453561 100644 --- a/arch/arm/mach-mmp/gplugd.c +++ b/arch/arm/mach-mmp/gplugd.c @@ -

[PATCH 1/3] ARM: pxa168: Add SDHCI support

2011-10-25 Thread Tanmay Upadhyay
Signed-off-by: Tanmay Upadhyay --- arch/arm/mach-mmp/clock.c | 26 ++ arch/arm/mach-mmp/clock.h |1 + arch/arm/mach-mmp/include/mach/pxa168.h | 20 arch/arm/mach-mmp/pxa168.c | 13 + 4 file

Re: [PATCH] mmc: debugfs: parse all ext_csd via debug_fs

2011-10-25 Thread Sebastian Rasmussen
> This patch enhances the debug information reported > for the mmc card by parsing the extended CSD registers > obviously according to all the current specifications. Does this belong kernel or in userspace? I'm not sure, and I'm hoping that any of the old-timers here chime in on it. Anyway I supp

Re: [PATCH RESEND] mmc: core: Assemble the codes of related to eMMC4.5

2011-10-25 Thread Chris Ball
Hi, On Mon, Oct 24 2011, Seungwon Jeon wrote: > Code cleanup. The codes of related to eMMC4.5 are scattered. > This patch removes one if-statement and assembles all. And it also > removes variable initialization below else-statement. It is obvious > for previous version but seems unnecessary. All

Re: [PATCH] mmc: mmci: Improve runtime PM support

2011-10-25 Thread Linus Walleij
On Tue, Oct 25, 2011 at 10:05 AM, Adrian Hunter wrote: > The spec does say that it is OK to turn off the clock, but it > must be turned back on to release the busy signal.  That will always > happen with the block driver because it always sends a status command > when waiting. Aha, thanks for cl

Re: [PATCH] mmc: debugfs: expose the SDCLK frq in sys ios (v2)

2011-10-25 Thread Adrian Hunter
On 21/10/11 11:16, Giuseppe CAVALLARO wrote: > This patch is to expose the actual SDCLK frequency in > /sys/kernel/debug/mmcX/ios entry. > > For example, if the max clk for a normal speed card is 20MHz > this is reported in /sys/kernel/debug/mmcX/ios. > Unfortunately the actual SDCLK frequency (i.e

Re: [PATCH] mmc: mmci: Improve runtime PM support

2011-10-25 Thread Adrian Hunter
On 24/10/11 12:56, Russell King - ARM Linux wrote: > On Mon, Oct 24, 2011 at 11:54:00AM +0200, Linus Walleij wrote: >> On Mon, Oct 24, 2011 at 11:36 AM, Russell King - ARM Linux >> wrote: >>> On Sun, Oct 23, 2011 at 02:31:39AM +0200, Sebastian Rasmussen wrote: I guess the patch would appeal m

Re: [PATCH] mmc: mmci: Improve runtime PM support

2011-10-25 Thread Ulf Hansson
Linus Walleij wrote: 2011/10/24 Ulf Hansson : Could we assume that all boards which utilizes the ARM PL180 are using the MMCIPWR register to control power the card? Or should we add a new amba mmci platform member so this is configurable for each board? I think we should take entire variants,

Re: [PATCH] mmc: mmci: Improve runtime PM support

2011-10-25 Thread Linus Walleij
2011/10/24 Ulf Hansson : > Could we assume that all boards which utilizes the ARM PL180 are using the > MMCIPWR register to control power the card? Or should we add a new amba mmci > platform member so this is configurable for each board? I think we should take entire variants, like currently U30