y.
Hope I was clear!
Regards,
Youssef.
-Original Message-
From: Giuseppe CAVALLARO [mailto:peppe.cavall...@st.com]
Sent: jeudi 20 juin 2013 09:56
To: Shen, Jackey
Cc: linux-mmc@vger.kernel.org; c...@laptop.org; Philip Rakity; Youssef TRIKI
Subject: Re: [PATCH (v2)] mmc: sdhci: fix caps2 f
Hello Shen
On 6/18/2013 4:32 AM, Shen, Jackey wrote:
On Wed, Jun 12, 2013 at 2:16 PM, Giuseppe CAVALLARO
wrote:
Although the HC supports HS200 (eMMC) the caps2 are always zero; this means that
no way to use the super speed mode (when init the card).
If the HC support SDR104, for SD3.0, so
This patch fixes the HC ctrl_2 programming where, in case of
SDR104 and HS200, we have to write 100b in the the UHS Mode
bits. We wrote 101b that is reserved from Arasan Specs.
Reported-by: Youssef Triki
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci.c |7 +++
1 files
and HS200 are effectively the same thing the patch deletes
the defines for HS200 and use SDR104.
Reported-by: Youssef Triki
Signed-off-by: Giuseppe Cavallaro
Cc: Philip Rakity
---
drivers/mmc/host/sdhci.c | 14 +-
include/linux/mmc/sdhci.h |2 +-
2 files changed, 10
: Youssef Triki
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 2ea429c..5626f5f 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
Hello Johan.
On 6/21/2012 9:44 AM, Johan RUDHOLM wrote:
> Dear all,
>
> this is a release to the community of the source code of the utility
> "lsmmc", created by Sebastian Rasmussen formerly at ST-Ericsson.
>
> lsmmc contains an extensive parser of the CID, CSD, SCR and EXT_CSD
> registers, as
Hi Chris
On 4/19/2012 7:19 PM, Chris Ball wrote:
> Hi Giuseppe,
>
> On Thu, Apr 19 2012, Giuseppe CAVALLARO wrote:
>> This adds a new option to enable the boot from eMMC
>> by writing to the 179 ext_csd register.
>>
>> The example below shows as to enable the m
configuration bytes [PARTITION_CONFIG: 0x49]
Reported-by: Youssef TRIKI
Signed-off-by: Giuseppe Cavallaro
---
mmc.c |5
mmc.h |6 +
mmc_cmds.c | 62
mmc_cmds.h |1 +
4 files changed, 74 insertions(+), 0
On 2/15/2012 2:43 PM, Giuseppe CAVALLARO wrote:
> On 2/15/2012 2:35 PM, Chris Ball wrote:
>> Hi,
>>
>> On Wed, Feb 15 2012, Giuseppe CAVALLARO wrote:
>>> Hi Chris
>>>
>>> On 2/12/2012 6:03 PM, Chris Ball wrote:
>>>> Hi,
>>>>
&
e ago for the Kernel has been
reviewed-by Sebastian Rasmussen, acked-by: Linus Walleij and reported
by Youssef Tiki.
Signed-off-by: Giuseppe Cavallaro
---
mmc.h | 16 ++-
mmc_cmds.c | 415 +---
2 files changed, 408 insertions(+
On 2/15/2012 2:35 PM, Chris Ball wrote:
> Hi,
>
> On Wed, Feb 15 2012, Giuseppe CAVALLARO wrote:
>> Hi Chris
>>
>> On 2/12/2012 6:03 PM, Chris Ball wrote:
>>> Hi,
>>>
>>> I've created a repository for userspace mmc tools now:
>>>
Hi Chris
On 2/12/2012 6:03 PM, Chris Ball wrote:
> Hi,
>
> I've created a repository for userspace mmc tools now:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
>
> At the moment the only commands supported are Johan Rudholm's extcsd
> write-protect commands, exposed as:
>
Hi Chris
On 12/13/2011 5:35 PM, Chris Ball wrote:
> Hi Peppe,
>
> On Tue, Dec 06 2011, Giuseppe CAVALLARO wrote:
>>> I'm all for this patch so it gets visible in debugfs atleast,
>>> since people seem to need to know these things, so take that as an
>>> A
On 11/21/2011 11:08 AM, Linus Walleij wrote:
> On Mon, Nov 21, 2011 at 8:39 AM, Giuseppe CAVALLARO
> wrote:
>
>> Just to summarize: the patch works in debugfs context so the parsing doesn't
>> break the sys rules. I agree with Chris this has to be maintained for the
>
Hello Linus, Chris,
On 11/12/2011 2:12 AM, Linus Walleij wrote:
On Tue, Oct 25, 2011 at 1:43 PM, Sebastian Rasmussen wrote:
[Giuseppe]
This patch enhances the debug information reported
for the mmc card by parsing the extended CSD registers
obviously according to all the current specification
example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/core/debugfs.c |2 ++
drivers/mmc/host/sdhci.c | 10 ++
include/linux/mmc/host.h |2 ++
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc
example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/core/debugfs.c |2 ++
drivers/mmc/host/sdhci.c |9 +
include/linux/mmc/host.h |2 ++
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc
On 11/3/2011 8:41 AM, Adrian Hunter wrote:
> On 03/11/11 08:45, 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 r
On 10/28/2011 12:02 AM, Sebastian Rasmussen wrote:
> Hi!
>
>> +++ b/drivers/mmc/host/sdhci.c
>> @@ -1107,9 +1113,13 @@ static void sdhci_set_clock(struct sdhci_host *host,
>> unsigned int clock)
>>if ((host->max_clk / div) <= clock)
>>break;
On 11/2/2011 11:38 AM, Adrian Hunter wrote:
> On 27/10/11 09: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 r
example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/core/debugfs.c |2 ++
drivers/mmc/host/sdhci.c |9 +
include/linux/mmc/host.h |2 ++
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc
Hello Sebastian,
On 10/27/2011 4:19 PM, Sebastian Rasmussen wrote:
> Hi!
>
>> Before the patch the output from /sys/kernel/debug/mmc0/mmc0:0001/ext_csd
>> was a big number and I had many problems parsing it in real-time.
>> [...]
>> In any case, the patch wants to help to directly get the ext_csd
On 10/26/2011 1:27 PM, Giuseppe CAVALLARO wrote:
> On 10/25/2011 1:43 PM, Sebastian Rasmussen wrote:
[snip]
>> contains a numerical customer id which leads me to believe
>> that it would require some kind of list of number->name to
>> make it accessible to users, som
older specs raised on my side.
Output from /sys/kernel/debug/mmc0/mmc0:0001/ext_csd
looks like this:
Extended CSD rev 1.5 (MMC 4.41)
s_cmd_set: 0x01
hpi_features: 0x00
blops_support: 0x00
ini_timeout_ap: 0x0a
pwr_cl_ddr_52_360 0x00
[snip]
Reported-by: Youssef Triki
Signed-off-by: Giuseppe
example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/core/debugfs.c |2 ++
drivers/mmc/host/sdhci.c | 10 ++
include/linux/mmc/host.h |2 ++
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc
84-A441 and older specs raised on my side.
>>
>> Output from /sys/kernel/debug/mmc0/mmc0:0001/ext_csd
>> looks like this:
>>
>> Extended CSD rev 1.5 (MMC 4.41)
>> s_cmd_set: 0x01
>> hpi_features: 0x00
>> blops_support: 0x00
>> ini_ti
Hello Adrian
On 10/25/2011 10:40 AM, Adrian Hunter wrote:
> 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
older specs raised on my side.
Output from /sys/kernel/debug/mmc0/mmc0:0001/ext_csd
looks like this:
Extended CSD rev 1.5 (MMC 4.41)
s_cmd_set: 0x01
hpi_features: 0x00
blops_support: 0x00
ini_timeout_ap: 0x0a
pwr_cl_ddr_52_360 0x00
[snip]
Reported-by: Youssef Triki
Signed-off-by: Giuseppe
example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/core/debugfs.c |2 ++
drivers/mmc/host/sdhci.c |7 +++
include/linux/mmc/host.h |2 ++
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc
On 10/20/2011 9:38 AM, Adrian Hunter wrote:
> On 20/10/11 09:31, Giuseppe CAVALLARO wrote:
>> Hello Adrian
>>
>> On 10/20/2011 8:22 AM, Adrian Hunter wrote:
>>> On 19/10/11 16:45, Giuseppe CAVALLARO wrote:
>>>> This patch is to expose the SDCLK freq
Hello Adrian
On 10/20/2011 8:22 AM, Adrian Hunter wrote:
> On 19/10/11 16:45, Giuseppe CAVALLARO wrote:
>> This patch is to expose the SDCLK frequency in the ios /sys entry.
>>
>> For example, if the max clk for a normal speed card is 20MHz
>> this will be reported in
Control Register).
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 0e02cc1..6bdf64f 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host
if it is present otherwise
can fail.
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci.c |3 +++
include/linux/mmc/sdhci.h |2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 9e15f41..650ea97 1
Hello.
I wonder if somebody could help me to understand if both
the Advanced Security SD (ASSD) protocol
http://www.sdcard.org/developers/tech/ASSD/
and the M-Commerce Extension Specification 1.10
are supported in Linux.
Welcome advice and comments.
Many thanks in advance.
Kind Regards
Pippo
select
which events have to wake-up the system:
o wake_on_card_int
o wake_on_card_ins
o wake_on_card_rem
Ex:
$ echo 1 > /sys/module/sdhci/parameters/wakeup_card_ins
A new quirk has been also added to allow hosts, based
on sdhci d.d., to set the device as wake-up capable.
Signed-off-by: Giuse
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci-pci.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 59f3de5..8634fb1 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci-pltfm.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c
index 4e881a5..6ea32e1 100644
--- a/drivers/mmc/host/sdhci-pltfm.c
+++ b/drivers/mmc/host
This patch reworks the wake-up support in the sdhci driver.
It is now able to wake-up the system on: Card interrupts,
Card insertion and Card removal events.
This has been tested on ST STB where can make sense to
wake-up the box as soon as a card is inserted.
Signed-off-by: Giuseppe Cavallaro
Hello.
The following patches, currently built against an ST Kernel
"2.6.32", show how to improve the wakeup support in the SDHCI
device driver.
Note:
I'm going to rework them, for example, against the mmc-next
after performing the review process and, obviously, if you
think that they can be actua
n insert/remove
the sdhci-pltfm driver several times without failures.
Signed-off-by: Giuseppe Cavallaro
Reviewed-by: Francesco Virlinzi
---
drivers/mmc/host/sdhci-pltfm.c |6 +-
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/ho
HC driver will be able to use the pm_flags to
undestand if the system can be woken-up by the driver.
So the mmc_suspend_host hasn't to reset this field
in the host structure.
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/core/core.c |1 -
1 files changed, 0 insertions(+), 1 dele
Hello.
The following patches, currently built against an ST Kernel
"2.6.32", show how to improve the wakeup support in the SDHCI
device driver.
Note:
I'm going to rework them, for example, against the mmc-next
after performing the review process and, obviously, if you
think that they can be actua
;
static struct platform_device stx7108_mmc_device = {
.name = "sdhci",
[snip]
Note: drivers/mmc/host/sdhci.h also includes the linux/mmc/sdhci.h
and no modifications should be needed on other sdhci- drivers.
Signed-off-by: Giuseppe Cavallaro
---
driver
This patch adds the suspend and resume functions
in the sdhci-pltfm device driver.
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci-pltfm.c | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host
This patch fixes a warning when compile the sdhci:
pwr may be used uninitialized in sdhci_set_power
Tested with the following compiler versions: 4.2.4 and 4.4.4
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci.c |6 ++
1 files changed, 2 insertions(+), 4 deletions
This patch fixes a warning when compile the sdhci:
pwr may be used uninitialized in sdhci_set_power
Also removes some include files that live in sdhci.h
header file.
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci.c | 11 ++-
1 files changed, 2 insertions(+), 9
: drivers/mmc/host/sdhci.h also includes the linux/mmc/sdhci.h
and no modifications should be needed on other sdhci- drivers.
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci.h | 271 ++---
include/linux/mmc/sdhci.h | 269
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/sdhci-pltfm.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c
index e045e3c..89ea64b 100644
--- a/drivers/mmc/host/sdhci-pltfm.c
This patch adds the Arasan MMC/SD/SDIO driver
for the STM ST40 platforms. It is based on the
SDHCI driver.
It has been tested on the STx7106/STx7108/STx5289
platforms.
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/Kconfig | 12 +++
drivers/mmc/host/Makefile |1 +
drivers
This patch adds the Arasan MMC/SD/SDIO driver
for the STM ST40 platforms. It is based on the
SDHCI driver.
It has been tested on the STx7106/STx7108/STx5289
platforms.
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/Kconfig | 12 +++
drivers/mmc/host/Makefile |1 +
drivers
This patch adds the MMC/SD/SDIO Arasan host controller.
Advanced DMA, Single DMA and PIO modes are supported.
The former is the default.
This has been tested on the 7108/06 STM platforms.
Signed-off-by: Giuseppe Cavallaro
---
drivers/mmc/host/Kconfig|7 +
drivers/mmc/host/Makefile
51 matches
Mail list logo