[PATCH 3/3] mmc: sdhci-msm: Get COMPILE_TEST support

2014-07-11 Thread Georgi Djakov
Increase the build testing coverage. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index a565254..1325cae 100644 --- a/drivers/mmc/host

[PATCH 1/3] mmc: sdhci-msm: Fix the binding example

2014-07-11 Thread Georgi Djakov
The DT binding example in the documentation is missing the -supply suffix for the vmmc and vqmmc regulators. Fix it. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 0/3] mmc: sdhci-msm: Minor fixes and cleanups

2014-07-11 Thread Georgi Djakov
This patchset contains fixes in the documentation, cleanups and enables COMPILE_TEST for better testing coverage. Georgi Djakov (3): mmc: sdhci-msm: Fix the binding example mmc: sdhci-msm: Remove unnecessary header file inclusion mmc: sdhci-msm: Get COMPILE_TEST support .../devicetree

[PATCH 2/3] mmc: sdhci-msm: Remove unnecessary header file inclusion

2014-07-11 Thread Georgi Djakov
The header linux/regulator/consumer.h is unused. Remove it. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/sdhci-msm.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index 40573a5..1a6661e 100644

Re: [PATCH v2 2/4] mmc: sdhci-msm: Convert to mmc_send_tuning()

2014-12-05 Thread Georgi Djakov
for eMMC on apq8074-dragonboard and ifc6540 boards, so: Tested-by: Georgi Djakov gdja...@mm-sol.com Acked-by: Georgi Djakov gdja...@mm-sol.com Thanks, Georgi Changes in v2: Rebased, to get latest version of the mmc_send_tuning() API. --- drivers/mmc/host/sdhci-msm.c | 50

[PATCH RFC v2] mmc: sdhci-msm: Add support for MSM chipsets

2013-08-13 Thread Georgi Djakov
Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- Changes from v1: - GPIO references are replaced by pinctrl - DT parsing is done mostly by mmc_of_parse() - Use of_match_device() for DT matching - A few minor changes .../devicetree/bindings/mmc/sdhci-msm.txt | 62 ++ drivers/mmc/host

[PATCH 0/5] mmc: sdhci: Add quirks for Qualcomm MSM SDHCI controller

2013-08-15 Thread Georgi Djakov
large timeout values for R1B commands. Patches are based on v3.11-rc5. Georgi Djakov (5): mmc: sdhci: add quirk for R/W Transfer Active EOT mmc: sdhci: add quirk for slow interrupt clearance mmc: sdhci: add quirk to ignore CMD CRC err for tuning commands mmc: sdhci: add quirk for max_discard

[PATCH 3/5] mmc: sdhci: add quirk to ignore CMD CRC err for tuning commands

2013-08-15 Thread Georgi Djakov
: Sahitya Tummala stumm...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/sdhci.c | 20 include/linux/mmc/sdhci.h |2 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index d3c9e59

[PATCH 5/5] mmc: sdhci: add quirk to ignore timeout err for R1B

2013-08-15 Thread Georgi Djakov
This patch adds a quirk to ignore data timeout error for R1B commands as there will be no data associated and the busy timeout value for these commands could be larger than the maximum timeout value that controller can handle. CC: Sahitya Tummala stumm...@codeaurora.org Signed-off-by: Georgi

[PATCH 4/5] mmc: sdhci: add quirk for max_discard calculation

2013-08-15 Thread Georgi Djakov
kind of operations are very slow. Add quirk so that the SDHCI host can use the default max_discard value. CC: Krishna Konda kko...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/sdhci.c |3 ++- include/linux/mmc/sdhci.h |4 2 files changed, 6

[PATCH 2/5] mmc: sdhci: add quirk for slow interrupt clearance

2013-08-15 Thread Georgi Djakov
when operating at initialization frequency(400KHz). CC: Venkat Gopalakrishnan venk...@codeaurora.org CC: Asutosh Das asuto...@codeaurora.org CC: Sahitya Tummala stumm...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/sdhci.c |6 ++ include/linux/mmc

[PATCH 1/5] mmc: sdhci: add quirk for R/W Transfer Active EOT

2013-08-15 Thread Georgi Djakov
in Software Reset Register (Bit 2). CC: Venkat Gopalakrishnan venk...@codeaurora.org CC: Asutosh Das asuto...@codeaurora.org CC: Sahitya Tummala stumm...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/sdhci.c |3 +++ include/linux/mmc/sdhci.h |2 ++ 2

Re: [PATCH RFC v2] mmc: sdhci-msm: Add support for MSM chipsets

2013-08-16 Thread Georgi Djakov
Hi Ivan, On 08/15/2013 10:22 AM, Ivan T. Ivanov wrote: Hi Georgi, I have several comments below. snip Shouldn't we add required clocks here? It looks that some of them are optional and others mandatory. Yes, there are various clocks for MMC, SD/SDIO and at least 400mhz must be

Re: [PATCH RFC v2] mmc: sdhci-msm: Add support for MSM chipsets

2013-08-19 Thread Georgi Djakov
this function. Is there a special reason that use the vreg-is_enabled? Best Regards, Jaehoon Chung On 08/13/2013 11:06 PM, Georgi Djakov wrote: This platform driver adds the support of Secure Digital Host Controller Interface compliant controller in MSM chipsets. CC: Asutosh Das asuto

Re: [PATCH RFC v3] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-05 Thread Georgi Djakov
Hi Jaehoon, On 08/27/2013 11:55 AM, Jaehoon Chung wrote: Hi Georgi, I found the sdhci_msm_vreg_reset(). Why do you run enable-disable? +/* + * Reset vreg by ensuring it is off during probe. A call + * to enable vreg is needed to balance disable vreg + */ +static int

Re: [PATCH RFC v3] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-05 Thread Georgi Djakov
Hi Ivan, On 08/23/2013 10:34 AM, Ivan T. Ivanov wrote: Hi Georgi, On Tue, 2013-08-20 at 19:44 +0300, Georgi Djakov wrote: This platform driver adds the support of Secure Digital Host Controller Interface compliant controller in MSM chipsets. CC: Asutosh Das asuto...@codeaurora.org CC: Venkat

[PATCH v4] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-12 Thread Georgi Djakov
...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- Changes from v3: - Allocate memory for all required structs at once - Added termination entry in sdhci_msm_dt_match[] - Fixed a missing sdhci_pltfm_free() in probe() - Removed redundant of_match_ptr - Removed the unneeded function

[PATCH v5] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-16 Thread Georgi Djakov
...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- Changes from v4: - Simplified sdhci_msm_vreg_disable() and sdhci_msm_set_vdd_io_vol() - Use devm_ioremap_resource() instead of devm_ioremap() - Converted IS_ERR_OR_NULL to IS_ERR - Disable regulators in sdhci_msm_remove() - Check

Re: [PATCH v5] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-18 Thread Georgi Djakov
Hi Stan, Thank you for the detailed review on this patch. On 09/17/2013 05:55 PM, Stanimir Varbanov wrote: Hi Georgi, Thanks for the patch. I have some commnets below. On 09/16/2013 05:23 PM, Georgi Djakov wrote: This platform driver adds the support of Secure Digital Host Controller

[PATCH v6 1/2] mmc: sdhci-msm: Initial SDHCI MSM driver documentation

2013-09-27 Thread Georgi Djakov
This patch adds documentation for Qualcomm SDHCI MSM driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt | 70

[PATCH v6 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2013-09-27 Thread Georgi Djakov
subha...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/Kconfig | 13 + drivers/mmc/host/Makefile|1 + drivers/mmc/host/sdhci-msm.c | 644 ++ 3 files changed, 658 insertions(+) create mode 100644 drivers

Re: [PATCH v6 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2013-10-06 Thread Georgi Djakov
part in order to use the power on defaults for regulators and maybe also clocks. On Fri, Sep 27, 2013 at 9:57 AM, Georgi Djakov gdja...@mm-sol.com wrote: ... +static irqreturn_t sdhci_msm_pwr_irq(int irq, void *data) +{ + struct sdhci_msm_host *msm_host = (struct sdhci_msm_host *)data

[PATCH v7 0/2] mmc: sdhci-msm: Add support for MSM chipsets

2013-11-06 Thread Georgi Djakov
- Removed redundant _clk suffix from clock names - Just return instead of goto where possible - Minor fixes Changes from v1: - GPIO references are replaced by pinctrl - DT parsing is done mostly by mmc_of_parse() - Use of_match_device() for DT matching - A few minor changes Georgi Djakov (2): mmc

[PATCH v7 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2013-11-06 Thread Georgi Djakov
This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm MSM chipsets. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/Kconfig | 13 + drivers/mmc/host/Makefile|1 + drivers/mmc/host/sdhci

Re: [PATCH v7 1/2] mmc: sdhci-msm: Initial SDHCI MSM driver documentation

2013-12-06 Thread Georgi Djakov
On 12/05/2013 11:52 AM, Mark Rutland wrote: Hi, Apologies for the late reply. Hi Mark, thanks for the review! On Wed, Nov 06, 2013 at 03:56:44PM +, Georgi Djakov wrote: This patch adds documentation for Qualcomm SDHCI MSM driver. It contains the differences between the core properties

Re: [PATCH v7 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2013-12-06 Thread Georgi Djakov
On 12/05/2013 12:27 PM, Mark Rutland wrote: On Wed, Nov 06, 2013 at 03:56:45PM +, Georgi Djakov wrote: This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm MSM chipsets. Signed-off-by: Georgi Djakov gdja...@mm

Re: [PATCH v7 1/2] mmc: sdhci-msm: Initial SDHCI MSM driver documentation

2014-01-30 Thread Georgi Djakov
Hi, Apologies for the delayed reply. On 12/09/2013 11:38 AM, Mark Rutland wrote: On Fri, Dec 06, 2013 at 11:59:46AM +, Georgi Djakov wrote: On 12/05/2013 11:52 AM, Mark Rutland wrote: [...] + +- qcom,{vdd,vdd-io}-lpm-sup - specifies whether the supply can be kept in low power mode

Re: [PATCH v7 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2014-01-30 Thread Georgi Djakov
On 12/09/2013 11:46 AM, Mark Rutland wrote: [...] + /* +* CORE_SW_RST above may trigger power irq if previous status of PWRCTL +* was either BUS_ON or IO_HIGH_V. So before we enable the power irq +* interrupt in GIC (by registering the interrupt handler), we need

Re: [PATCH v7 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2014-01-30 Thread Georgi Djakov
Hi, Apologies for the delayed reply. On 12/09/2013 07:00 PM, Courtney Cavin wrote: On Wed, Nov 06, 2013 at 04:56:45PM +0100, Georgi Djakov wrote: This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm MSM chipsets

[PATCH v8 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-01-30 Thread Georgi Djakov
redundant _clk suffix from clock names - Just return instead of goto where possible - Minor fixes Georgi Djakov (3): mmc: sdhci-msm: Qualcomm SDHCI binding documentation mmc: sdhci-msm: Initial support for Qualcomm chipsets mmc: sdhci-msm: Add platform_execute_tunning implementation

[PATCH v8 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-01-30 Thread Georgi Djakov
This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/sdhci-msm.c | 417 +- 1 file changed, 412 insertions

[PATCH v8 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-01-30 Thread Georgi Djakov
This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/Kconfig | 13 ++ drivers/mmc/host/Makefile|1 + drivers/mmc/host/sdhci

[PATCH v8 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-01-30 Thread Georgi Djakov
This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt

Re: [PATCH v8 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-02-04 Thread Georgi Djakov
Hi Christopher, On 02/04/2014 03:19 PM, Christopher Covington wrote: Hi Georgi, On 01/30/2014 01:45 PM, Georgi Djakov wrote: This patchset adds basic support of the Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Tested with eMMC and various micro SD

Re: [PATCH v8 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-13 Thread Georgi Djakov
Hi Stephen, On 02/08/2014 05:23 AM, Stephen Boyd wrote: On 01/30, Georgi Djakov wrote: @@ -75,17 +110,389 @@ struct sdhci_msm_host { }; /* MSM platform specific tuning */ -int sdhci_msm_execute_tuning(struct sdhci_host *host, u32 opcode) +static inline int msm_dll_poll_ck_out_en(struct

[PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Georgi Djakov
This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan venk...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com

[PATCH v9 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-02-28 Thread Georgi Djakov
This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt

[PATCH v9 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-02-28 Thread Georgi Djakov
data - Removed unneeded includes - Removed obsolete and wrapper functions - Removed error checking where unnecessary - Removed redundant _clk suffix from clock names - Just return instead of goto where possible - Minor fixes Georgi Djakov (3): mmc: sdhci-msm: Qualcomm SDHCI binding documentation

[PATCH v9 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-02-28 Thread Georgi Djakov
Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/Kconfig | 13 ++ drivers/mmc/host/Makefile|1 + drivers/mmc/host/sdhci-msm.c | 528 ++ 3 files changed, 542 insertions(+) create mode 100644 drivers/mmc/host/sdhci-msm.c diff

Re: [PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Georgi Djakov
On 28.02.14, 18:51, Kumar Gala wrote: On Feb 28, 2014, at 5:24 AM, Georgi Djakov gdja...@mm-sol.com wrote: This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto

Re: [PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Georgi Djakov
On 28.02.14, 22:51, Josh Cartwright wrote: [..] +sg_init_one(sg, data_buf, sizeof(data_buf)); +memset(data_buf, 0, sizeof(data_buf)); +mmc_wait_for_req(mmc, mrq); + +if (!cmd.error !data.error +!memcmp(data_buf,

Re: [PATCH v9 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-04 Thread Georgi Djakov
On 03/04/2014 05:15 AM, Bjorn Andersson wrote: On Fri, Feb 28, 2014 at 3:24 AM, Georgi Djakov gdja...@mm-sol.com wrote: This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Hi Georgi, Sorry for reposting

[PATCH v10 3/3] mmc: sdhci-msm: Add platform_execute_tuning implementation

2014-03-04 Thread Georgi Djakov
This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan venk...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com

[PATCH v10 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-04 Thread Georgi Djakov
Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/Kconfig | 13 ++ drivers/mmc/host/Makefile|1 + drivers/mmc/host/sdhci-msm.c | 427 ++ 3 files changed, 441 insertions(+) create mode 100644 drivers/mmc/host/sdhci-msm.c diff

[PATCH v10 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-03-04 Thread Georgi Djakov
This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt

[PATCH v10 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-03-04 Thread Georgi Djakov
for clocks - Moved voltage regulators data to platform data - Removed unneeded includes - Removed obsolete and wrapper functions - Removed error checking where unnecessary - Removed redundant _clk suffix from clock names - Just return instead of goto where possible - Minor fixes Georgi Djakov (3

Re: [PATCH v10 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-03-05 Thread Georgi Djakov
On 03/05/2014 06:25 AM, Ulf Hansson wrote: On 4 March 2014 20:27, Georgi Djakov gdja...@mm-sol.com wrote: [..] +Required properties: +- compatible: Should contain qcom,sdhci-msm-v4. +- reg: Base address and length of the register set listed in reg-names. +- reg-names: Should contain

Re: [PATCH v10 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-05 Thread Georgi Djakov
On 03/05/2014 06:41 AM, Ulf Hansson wrote: On 4 March 2014 20:27, Georgi Djakov gdja...@mm-sol.com wrote: [..] + +struct sdhci_msm_pltfm_data { + u32 caps; /* Supported UHS-I Modes */ + u32 caps2; /* More capabilities

Re: [PATCH v10 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-03-06 Thread Georgi Djakov
On 03/05/2014 08:56 AM, Rob Herring wrote: On Tue, Mar 4, 2014 at 1:27 PM, Georgi Djakov gdja...@mm-sol.com wrote: [..] +Required properties: +- compatible: Should contain qcom,sdhci-msm-v4. +- reg: Base address and length of the register set listed in reg-names. +- reg-names: Should contain

[PATCH v11 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-03-10 Thread Georgi Djakov
Georgi Djakov (3): mmc: sdhci-msm: Qualcomm SDHCI binding documentation mmc: sdhci-msm: Initial support for Qualcomm chipsets mmc: sdhci-msm: Add platform_execute_tuning implementation .../devicetree/bindings/mmc/sdhci-msm.txt | 55 ++ drivers/mmc/host/Kconfig

[PATCH v11 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-03-10 Thread Georgi Djakov
This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt

[PATCH v11 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-10 Thread Georgi Djakov
Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/mmc/host/Kconfig | 13 +++ drivers/mmc/host/Makefile|1 + drivers/mmc/host/sdhci-msm.c | 208 ++ 3 files changed, 222 insertions(+) create mode 100644 drivers/mmc/host/sdhci-msm.c diff

[PATCH v11 3/3] mmc: sdhci-msm: Add platform_execute_tuning implementation

2014-03-10 Thread Georgi Djakov
This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan venk...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-03-26 Thread Georgi Djakov
On 03/07/2014 04:18 PM, Mike Looijmans wrote: If vmmc or vqmmc regulators are controlled by an I2C device, the request for the regulator is likely to fail because the I2C bus has not been probed yet. The sdhci then incorrectly assumes that the user never wanted to use a regulator anyway and

Re: [PATCH v11 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-03-26 Thread Georgi Djakov
Hello Chris, Ulf, Do you have any comments on the patches? The arch code that will use this driver is already in mainline. The regulators support seem to be still on its way, but this driver also works fine with dummy regulators. Thanks, Georgi On 03/10/2014 05:37 PM, Georgi Djakov wrote

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-03-27 Thread Georgi Djakov
On 27.03.14, 19:47, Mike Looijmans wrote: On 26-3-2014 16:09, Georgi Djakov wrote: On 03/07/2014 04:18 PM, Mike Looijmans wrote: If vmmc or vqmmc regulators are controlled by an I2C device, the request for the regulator is likely to fail because the I2C bus has not been probed yet. The sdhci

Re: [PATCH] mmc: sdhci-msm: Add support for MSM chipsets

2013-07-31 Thread Georgi Djakov
On 07/31/2013 03:19 AM, Bjorn Andersson wrote: On Tue, Jul 30, 2013 at 8:22 AM, Georgi Djakov gdja...@mm-sol.com wrote: This platform driver adds the support of Secure Digital Host Controller Interface compliant controller in MSM chipsets. [snip] + + sdhc_1: qcom,sdhc@f9824900

[PATCH] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-19 Thread Georgi Djakov
Some versions of this controller do not advertise their 3.0v and 8bit bus-width support capabilities. It is required to explicitly set these capabilities for the specific controller versions. Signed-off-by: Georgi Djakov georgi.dja...@linaro.org --- Tested on msm8916-mtp board. drivers/mmc/host

[PATCH v2] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-21 Thread Georgi Djakov
Some versions of this controller do not advertise their 3.0v and 8bit bus-width support capabilities. It is required to explicitly set these capabilities for the specific controller versions. Signed-off-by: Georgi Djakov georgi.dja...@linaro.org --- Changes since v1: * Converted to separate read

Re: [PATCH] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-19 Thread Georgi Djakov
Hi Bjorn, Thanks for taking a look. On 03/19/2015 05:36 PM, Bjorn Andersson wrote: On Thu, Mar 19, 2015 at 5:55 AM, Georgi Djakov georgi.dja...@linaro.org wrote: [..] @@ -516,6 +527,22 @@ static int sdhci_msm_probe(struct platform_device *pdev) host_version, ((host_version

[PATCH v3] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-23 Thread Georgi Djakov
Some versions of this controller do not advertise their 3.0v and 8bit bus-width support capabilities. It is required to explicitly set these capabilities for the specific controller versions. Signed-off-by: Georgi Djakov georgi.dja...@linaro.org --- Changes since v2: * Use the generic sdhci

Re: [PATCH] mmc: sdhci: msm: Boost controller core clock

2015-06-26 Thread Georgi Djakov
On 06/26/2015 02:16 PM, Ivan T. Ivanov wrote: Ensure SDCC is working with maximum clock otherwise card detection could be extremely slow, up to 7 seconds. Signed-off-by: Ivan T. Ivanov ivan.iva...@linaro.org --- drivers/mmc/host/sdhci-msm.c | 5 + 1 file changed, 5 insertions(+)

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-11-09 Thread Georgi Djakov
-off-by: Ivan T. Ivanov <ivan.iva...@linaro.org> >> Reviewed-by: Georgi Djakov <georgi.dja...@linaro.org> >> Acked-by: Stephen Boyd <sb...@codeaurora.org> >> --- >> >> Changes since v0: >> - s/falied/failed in warning message. >> >> driver