!
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 for HS200
Hello Shen
On 6
Hello Shen
On 6/18/2013 4:32 AM, Shen, Jackey wrote:
On Wed, Jun 12, 2013 at 2:16 PM, Giuseppe CAVALLARO peppe.cavall...@st.com
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
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 youssef.tr...@st.com
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
drivers
and HS200 are effectively the same thing the patch deletes
the defines for HS200 and use SDR104.
Reported-by: Youssef Triki youssef.tr...@st.com
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
Cc: Philip Rakity prak...@nvidia.com
---
drivers/mmc/host/sdhci.c | 14
-by: Youssef Triki youssef.tr...@st.com
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
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 well as
configuration bytes [PARTITION_CONFIG: 0x49]
Reported-by: Youssef TRIKI youssef.tr...@st.com
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
mmc.c |5
mmc.h |6 +
mmc_cmds.c | 62
mmc_cmds.h |1
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 mmcblk0boot0
partition and also set/reset
ago for the Kernel has been
reviewed-by Sebastian Rasmussen, acked-by: Linus Walleij and reported
by Youssef Tiki.
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
mmc.h | 16 ++-
mmc_cmds.c | 415 +---
2 files changed
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,
I've created a repository for userspace mmc tools now:
git://git.kernel.org/pub/scm/linux
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
Acked-by: Linus Walleij linus.wall...@linaro.org
On 11/21/2011 11:08 AM, Linus Walleij wrote:
On Mon, Nov 21, 2011 at 8:39 AM, Giuseppe CAVALLARO
peppe.cavall...@st.com 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
next mmc
Hello Linus, Chris,
On 11/12/2011 2:12 AM, Linus Walleij wrote:
On Tue, Oct 25, 2011 at 1:43 PM, Sebastian Rasmussenseb...@gmail.com wrote:
[Giuseppe]
This patch enhances the debug information reported
for the mmc card by parsing the extended CSD registers
obviously according to all the
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 reported in /sys/kernel/debug/mmcX/ios
: for example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
: for example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
: for example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
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 reported in /sys/kernel/debug/mmcX/ios
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;
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 in a
: for example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
drivers/mmc/core/debugfs.c | 252 ++--
1 files changed, 218 insertions(+), 34 deletions(-)
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 0b9a4aa..fa26cf9 100644
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, something akin to the lspci
database. I
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
this is reported in /sys/kernel/debug
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 youssef.tr...@st.com
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
drivers/mmc/core/debugfs.c | 266
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
drivers/mmc/core/debugfs.c | 266 ++--
1 files changed, 232 insertions(+), 34 deletions(-)
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 0b9a4aa..3771624 100644
: for example, in that case, on Arasan HC,
it should be 48/4=12 (MHz).
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
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 /sys/kernel/debug/mmc0/ios instead
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 frequency in the ios /sys entry.
For example, if the max clk
Control Register).
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
can fail.
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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 100644
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
to 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: Giuseppe
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
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
-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
Reviewed-by: Francesco Virlinzi francesco.virli...@st.com
---
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/host/sdhci-pltfm.c
index 78a8f7a
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 peppe.cavall...@st.com
---
drivers/mmc/core/core.c |1 -
1 files changed, 0
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
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
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
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 peppe.cavall...@st.com
---
drivers/mmc/host/sdhci.c |6 ++
1 files changed, 2 insertions
: drivers/mmc/host/sdhci.h also includes the linux/mmc/sdhci.h
and no modifications should be needed on other sdhci-XXX drivers.
Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com
---
drivers/mmc/host/sdhci.h | 271 ++---
include/linux/mmc/sdhci.h | 269
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 peppe.cavall...@st.com
---
drivers/mmc/host/sdhci.c | 11 ++-
1 files changed, 2
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 peppe.cavall...@st.com
---
drivers/mmc/host/Kconfig | 12 +++
drivers/mmc/host/Makefile
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 peppe.cavall...@st.com
---
drivers/mmc/host/Kconfig | 12 +++
drivers/mmc/host/Makefile
45 matches
Mail list logo