[PATCH V2 0/4] mmc: sdhci/sdhci-pci: prepare for wl12xx/SDIO

2011-11-02 Thread Adrian Hunter
Hi Here are some changes (V2) to allow wl12xx/SDIO to be set up for sdhci-pci. There a a couple of fixes plus a method to get platform data. The changes to the platform files are not included in this patchset. V2: change sdhci_pci_get_data() from a weak function to a function pointer Adrian

[PATCH V2 1/4] mmc: sdhci: fix vmmc handling

2011-11-02 Thread Adrian Hunter
Presently the vmmc regulator is enabled when the host controller is added and disabled when it is removed. However, the vmmc regulator should be under the control of the upper layers via -set_ios(). Make it so. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- drivers/mmc/host/sdhci.c |

[PATCH V2 3/4] mmc: sdhci-pci: add platform data

2011-11-02 Thread Adrian Hunter
Add a means of getting platform data for the SDHCI PCI devices. The data is stored against the slot not the device in order to support multi-slot devices. The data allows platform-specific setup (such as getting GPIO numbers from firmware or setting up wl12xx for SDIO) to be done in platform

[PATCH V2 2/4] mmc: sdhci: prevent card detection activity for non-removable cards

2011-11-02 Thread Adrian Hunter
Do not enable card detection interrupts for non-removable cards. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- drivers/mmc/host/sdhci.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index

[PATCH V2 4/4] mmc: sdhci-pci: get gpio numbers from platform data

2011-11-02 Thread Adrian Hunter
Retrieve the GPIO numbers for hardware reset and card detect from platform data. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- drivers/mmc/host/sdhci-pci.c | 105 +++--- 1 files changed, 38 insertions(+), 67 deletions(-) diff --git

Re: [GIT PULL] hwspinlock changes for 3.2

2011-11-02 Thread Ohad Ben-Cohen
On Sun, Oct 30, 2011 at 10:06 PM, Ohad Ben-Cohen o...@wizery.com wrote: Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock.git for-linus ... All of the patches have been tested in linux-next and currently there are no merge conflicts, though I expect one to happen

have we the patchwork to view the patch status?

2011-11-02 Thread Huang Changming-R66093
Have we the patchwork? Thanks and Best Regards Jerry Huang -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 0/2] mmc: core: Support packed command feature of eMMC4.5

2011-11-02 Thread Seungwon Jeon
This patch-set adds support of packed command feature for eMMC4.5 devices. Seungwon Jeon (2): mmc: core: Add packed command feature of eMMC4.5 mmc: core: Support packed command for eMMC4.5 device drivers/mmc/card/block.c | 355 --

[PATCH 1/2] mmc: core: Add packed command feature of eMMC4.5

2011-11-02 Thread Seungwon Jeon
This patch adds packed command feature of eMMC4.5. The maximum number for packing read(or write) is offered and exception event relevant to packed command which is used for error handling is enabled. If host wants to use this feature, MMC_CAP2_PACKED_CMD should be set. Signed-off-by: Seungwon

[PATCH 2/2] mmc: core: Support packed command for eMMC4.5 device

2011-11-02 Thread Seungwon Jeon
This patch supports packed command of eMMC4.5 device. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in a single transfer on the bus. Signed-off-by: Seungwon Jeon tgih@samsung.com --- drivers/mmc/card/block.c | 355

Re: [PATCH] mmc: sdhci-pci: move suspend/resume hooks to dev_pm_ops

2011-11-02 Thread Adrian Hunter
On 01/11/11 14:34, Manuel Lauss wrote: Move suspend/resume/freeze/thaw hooks from struct pci_driver to dev_pm_ops, mainly to shut up the driver cores' complaints about this driver using both new and legacy PM methods. Thanks for picking up on this Signed-off-by: Manuel Lauss

Re: [PATCH] mmc: sdhci-pci: move suspend/resume hooks to dev_pm_ops

2011-11-02 Thread Adrian Hunter
On 02/11/11 11:45, Adrian Hunter wrote: On 01/11/11 14:34, Manuel Lauss wrote: Move suspend/resume/freeze/thaw hooks from struct pci_driver to dev_pm_ops, mainly to shut up the driver cores' complaints about this driver using both new and legacy PM methods. Thanks for picking up on this

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

2011-11-02 Thread Adrian Hunter
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. Unfortunately the actual SDCLK frequency (i.e.

Re: [PATCH 1/2] mmc: core: Add packed command feature of eMMC4.5

2011-11-02 Thread Girish K S
Hi, On 2 November 2011 04:01, Seungwon Jeon tgih@samsung.com wrote: This patch adds packed command feature of eMMC4.5. The maximum number for packing read(or write) is offered and exception event relevant to packed command which is used for error handling is enabled. If host wants to use

Re: [PATCH 2/2] mmc: core: Support packed command for eMMC4.5 device

2011-11-02 Thread Girish K S
On 2 November 2011 04:03, Seungwon Jeon tgih@samsung.com wrote: This patch supports packed command of eMMC4.5 device. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in a single transfer on the bus. Signed-off-by: Seungwon

Re: [PATCH] mmc: sdhci-pci: move suspend/resume hooks to dev_pm_ops

2011-11-02 Thread Manuel Lauss
Hi Adrian, On Wed, Nov 2, 2011 at 10:45 AM, Adrian Hunter adrian.hun...@intel.com wrote: On 01/11/11 14:34, Manuel Lauss wrote: Move suspend/resume/freeze/thaw hooks from struct pci_driver to dev_pm_ops, mainly to shut up the driver cores' complaints about this driver using both new and

Re: [PATCH 2/2] mmc: core: Support packed command for eMMC4.5 device

2011-11-02 Thread S, Venkatraman
On Wed, Nov 2, 2011 at 1:33 PM, Seungwon Jeon tgih@samsung.com wrote: This patch supports packed command of eMMC4.5 device. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in a single transfer on the bus. Signed-off-by:

RE: [PATCH V6] SDHCI: S3C: Use generic clock names for sdhci bus clock options

2011-11-02 Thread Kukjin Kim
Rajeshwari Shinde wrote: This patch modifies the driver to stop depending on the clock names being passed from the platform and switch over to bus clock lookup using generic clock names. V6 Changes: Changed sprintf to snprintf as suggested by Chris Ball. Signed-off-by: Rajeshwari

[PATCH] mmc: sdhci: remove state argument from sdhci_suspend_host

2011-11-02 Thread Manuel Lauss
Drop the state argument from sdhci_suspend_host. It's only user is the PCI glue; this allows to move all SDHCI glues to use dev_pm_ops instead. Signed-off-by: Manuel Lauss manuel.la...@googlemail.com --- drivers/mmc/host/sdhci-cns3xxx.c |5 + drivers/mmc/host/sdhci-dove.c |5

RFC: Ricoh Controller sd

2011-11-02 Thread Philip Rakity
Folks, We are working on some changes to support SDR50 and SDR104 for SDIO cards. The code works on some controllers but not on the ricoh r5c822. The system is 64-bit Fedora 11 x86 with PCI-to-SD adapter card (Ricoh controller). DMI: Hewlett-Packard HP Compaq dx2200 MT /0A48, BIOS MS7254

RE: [PATCH 1/2] arm: samsung: support the second capability for hsmmc

2011-11-02 Thread Kukjin Kim
Jaehoon Chung wrote: Well... Firstly, you need to add description here why this change is needed. Secondly, you need to check latest maintainer's tree, in this case, the dev-xxx.c are merged into plat-samsung/devs.c ago. Thanks. Best regards, Kgene. -- Kukjin Kim kgene@samsung.com,

Re: [PATCH] mmc: sdhci: remove state argument from sdhci_suspend_host

2011-11-02 Thread Adrian Hunter
On 02/11/11 14:13, Manuel Lauss wrote: Drop the state argument from sdhci_suspend_host. It's only user is the PCI glue; this allows to move all SDHCI glues to use dev_pm_ops instead. Signed-off-by: Manuel Lauss manuel.la...@googlemail.com --- drivers/mmc/host/sdhci-cns3xxx.c |5

[PATCH v2] mmc: sdhci: remove state argument from sdhci_suspend_host

2011-11-02 Thread Manuel Lauss
Drop the state argument from sdhci_suspend_host. It's only user is the PCI glue; this allows to move all SDHCI glues to use dev_pm_ops instead. Signed-off-by: Manuel Lauss manuel.la...@googlemail.com --- V2: sdhci-s3c does not use sdhci-pltfm.c and gets its own dev_pm_ops.

Re: [PATCH v2] mmc: sdhci: remove state argument from sdhci_suspend_host

2011-11-02 Thread Adrian Hunter
On 02/11/11 16:06, Manuel Lauss wrote: Drop the state argument from sdhci_suspend_host. It's only user is the PCI glue; this allows to move all SDHCI glues to use dev_pm_ops instead. Signed-off-by: Manuel Lauss manuel.la...@googlemail.com --- V2: sdhci-s3c does not use sdhci-pltfm.c and

Re: [PATCH v2] mmc: sdhci: remove state argument from sdhci_suspend_host

2011-11-02 Thread Manuel Lauss
On Wed, Nov 2, 2011 at 3:21 PM, Adrian Hunter adrian.hun...@intel.com wrote: On 02/11/11 16:06, Manuel Lauss wrote: Drop the state argument from sdhci_suspend_host.  It's only user is the PCI glue;  this allows to move all SDHCI glues to use dev_pm_ops instead. Signed-off-by: Manuel Lauss

[PATCH v3] mmc: sdhci: remove state argument from sdhci_suspend_host

2011-11-02 Thread Manuel Lauss
Drop the state argument from sdhci_suspend_host. Its only user is the PCI glue; this allows to move all SDHCI glues to use dev_pm_ops instead. Signed-off-by: Manuel Lauss manuel.la...@googlemail.com --- V3: remove unused local var in sdhci-pci.c V2: sdhci-s3c does not use sdhci-pltfm.c and gets

[PATCH] mmc: omap_hsmmc: Fix build for hsmmc

2011-11-02 Thread Tony Lindgren
Commit a3c76eb9d4a1e68a69dd880cf0bcb8a52418b993 (mmc: replace printk with appropriate display macro) does not compile: drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_protect_card': drivers/mmc/host/omap_hsmmc.c:1273: error: 'pr_info' undeclared (first use in this function)

Re: [PATCH V6] SDHCI: S3C: Use generic clock names for sdhci bus clock options

2011-11-02 Thread Chris Ball
Hi Kukjin, On Wed, Nov 02 2011, Kukjin Kim wrote: This patch modifies the driver to stop depending on the clock names being passed from the platform and switch over to bus clock lookup using generic clock names. V6 Changes: Changed sprintf to snprintf as suggested by Chris Ball.

Re: [PATCH] mmc: omap_hsmmc: Fix build for hsmmc

2011-11-02 Thread Thomas Weber
Hello Tony, hello Chris,https://mail.google.com/mail/?shva=1#label/linux-omap/133653efb30ae047 isn't this already fixed? http://marc.info/?l=linux-omapm=131991921316862w=2 [PATCH] omap_hsmmc: fix missing parenthesis in pr_info Thomas On Wed, Nov 2, 2011 at 6:06 PM, Tony Lindgren

Re: [PATCH] mmc: omap_hsmmc: Fix build for hsmmc

2011-11-02 Thread Tony Lindgren
* Thomas Weber thomas.weber.li...@googlemail.com [02 11:22]: Hello Tony, hello Chris,https://mail.google.com/mail/?shva=1#label/linux-omap/133653efb30ae047 isn't this already fixed? http://marc.info/?l=linux-omapm=131991921316862w=2 [PATCH] omap_hsmmc: fix missing parenthesis in

[PATCH 0/6] mmc: sdhci-s3c: Rework platform data and add device tree support.

2011-11-02 Thread Thomas Abraham
This patchset removes all uses of 'clk_type' member from the platform data of sdhci-s3c driver and adds device tree support for sdhci-s3c driver. This patchset has merged the following two patchsets submitted earlier into one patchset. [PATCH 0/3] mmc: sdhci-s3c: Remove 'clk_type' member from

[PATCH 1/6] mmc: sdhci-s3c: Remove usage of clk_type member in platform data

2011-11-02 Thread Thomas Abraham
SDHCI controllers on Exynos4 do not include the sdclk divider as per the sdhci controller specification. This case can be represented using the sdhci quirk SDHCI_QUIRK_NONSTANDARD_CLOCK instead of using an additional enum type definition 'clk_types'. Hence, usage of clk_type member in platform

[PATCH 2/6] arm: exynos4: use 'exynos4-sdhci' as device name for sdhci controllers

2011-11-02 Thread Thomas Abraham
With the addition of platform specific driver data in the sdhci driver for exynos4, the device name of sdhci controllers on exynos4 is changed accordingly. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos4/clock.c

[PATCH 5/6] mmc: Add OF bindings support for mmc host controller capabilities

2011-11-02 Thread Thomas Abraham
Device nodes representing sd/mmc controllers in a device tree would include mmc host controller capabilities. Add support for parsing of mmc host controller capabilities included in device nodes. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---

[PATCH 6/6] mmc: sdhci-s3c: Add device tree support

2011-11-02 Thread Thomas Abraham
Add device tree based discovery support for Samsung's sdhci controller Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/mmc/samsung-sdhci.txt | 75 ++ drivers/mmc/host/sdhci-s3c.c | 152

[PATCH 4/6] mmc: sdhci-s3c: Keep a copy of platform data and use it

2011-11-02 Thread Thomas Abraham
The platform data is copied into driver's private data and the copy is used for all access to the platform data. This simpifies the addition of device tree support for the sdhci-s3c driver. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/mmc/host/sdhci-s3c.c | 11

[PATCH 3/6] arm: samsung: remove all uses of clk_type member in sdhci platform data

2011-11-02 Thread Thomas Abraham
The sdhci driver is modified to be independent of clk_type member in the sdhci platform data. Hence, all usage of clk_type in platform code is removed. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: JeongHyeon Kim jh...@insignal.co.kr Cc: Kukjin Kim kgene@samsung.com Cc: Changhwan Youn

Re: [PATCH V6] SDHCI: S3C: Use generic clock names for sdhci bus clock options

2011-11-02 Thread Thomas Abraham
On 31 October 2011 11:14, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch modifies the driver to stop depending on the clock names being passed from the platform and switch over to bus clock lookup using generic clock names. V6 Changes: Changed sprintf to snprintf as suggested

DDR eMMC write failures

2011-11-02 Thread Praveen Krishnan
Hello all, I am working on getting the DDR50 mode up and running for the eMMC cards. I am running into some weird CRC error cases. Initially, I thought that everything works fine, but when I stress test it with large amounts of data (more than 100MB of writes), I notice that my console is

Re: [PATCH] omap_hsmmc: fix missing parenthesis in pr_info

2011-11-02 Thread Kevin Hilman
Hi Chris, Chris Ball c...@laptop.org writes: [...] Oops. Thank you; I've pushed this to mmc-next now, and will send the fix to Linus. I've checked for other errors in the original patch. Where did you push this fix? I don't see this in the mmc-next branch of

RE: [PATCH 2/2] mmc: core: Support packed command for eMMC4.5 device

2011-11-02 Thread Seungwon Jeon
S, Venkatraman svenk...@ti.com wrote: On Wed, Nov 2, 2011 at 1:33 PM, Seungwon Jeon tgih@samsung.com wrote: This patch supports packed command of eMMC4.5 device. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in a single

[PATCHv2 1/2] arm: samsung: support the second capability for samsung-soc

2011-11-02 Thread Jaehoon Chung
In mmc, there are capabilities and use the host_caps. That capability is expressed with bit[0:31]. But now..already filled the bit[0:31]... so we need to denote with the other capability field. (if we want to use the cache, powerclass, etc for eMMC..this field is necessary) Signed-off-by: Jaehoon

[PATCHv2 2/2] mmc: sdhci-s3c: add platform data for the second capability

2011-11-02 Thread Jaehoon Chung
This patch is added host_caps2 in sdhci-s3c.c It's necessary that use the second capabilities. And removed the duplicated host_caps. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changelog v2: - remove the duplicated host_caps.