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

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

2013-08-20 Thread Georgi Djakov
Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- Changes from v2: - Added DT bindings 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

[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 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 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 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

[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] mmc: sdhci-msm: Add support for MSM chipsets

2013-07-30 Thread Georgi Djakov
Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- This is an initial version of the Qualcomm MSM SDHCI driver. It is based on the SDHCI code from coreaurora.org with minor modifications. The MMC standard DT bindings are used where possible. The patch applies to v3.11-rc3. .../devicetree

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 v7 1/2] mmc: sdhci-msm: Initial SDHCI MSM driver documentation

2013-11-06 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 | 92

[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 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 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

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

[PATCH] pinctrl: msm: Fix compile error in msm_config_reg()

2014-03-14 Thread Georgi Djakov
: ed118a5fd951bd2def8249ee251842c4f81fe4bd 051a58b4622f0e1b732acb750097c64bc00ddb93 Cc: Stephen Boyd sb...@codeaurora.org Cc: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/pinctrl/pinctrl-msm.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-msm.c

[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 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 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 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 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 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 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 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-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 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 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

[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

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

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 v6 0/2] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-27 Thread Georgi Djakov
changes Georgi Djakov (2): mmc: sdhci-msm: Initial SDHCI MSM driver documentation mmc: sdhci-msm: Initial support for MSM chipsets .../devicetree/bindings/mmc/sdhci-msm.txt | 70 +++ drivers/mmc/host/Kconfig | 13 + drivers/mmc/host/Makefile

[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

[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

Re: [PATCH] mmc: sdhci-msm: Fix fallout from sdhci refactoring

2014-06-10 Thread Georgi Djakov
in the basic library functions so that we can boot apq8074 dragonboards again instead of crashing when we try to jump to NULL function pointers. Reported-by: Kevin Hilman khil...@linaro.org Cc: Georgi Djakov gdja...@mm-sol.com Cc: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Stephen Boyd

[PATCH] clk: qcom: Fix blsp2_ahb_clk register offset

2014-05-20 Thread Georgi Djakov
The address of the blsp2_ahb_clk register is incorrect. Fix it. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/clk/qcom/gcc-msm8974.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gcc-msm8974.c b/drivers/clk/qcom/gcc-msm8974.c index 51d457e

[PATCH v1 0/4] Add Qualcomm APQ8084 SoC support

2014-05-21 Thread Georgi Djakov
and a Kconfig entry. Tested on APQ8084-MTP board. Georgi Djakov (4): ARM: dts: qcom: Add APQ8084 SoC support ARM: dts: qcom: Add APQ8084-MTP board support ARM: qcom: Add APQ8084-MTP board to mach-qcom ARM: debug: qcom: Add APQ8084 DEBUG_LL UART support arch/arm/Kconfig.debug |9

[PATCH v1 2/4] ARM: dts: qcom: Add APQ8084-MTP board support

2014-05-21 Thread Georgi Djakov
Add device-tree file for APQ8084-MTP board, which belongs to the Snapdragon 805 family. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/Makefile |3 ++- arch/arm/boot/dts/qcom-apq8084-mtp.dts |6 ++ 2 files changed, 8 insertions(+), 1 deletion

[PATCH v1 3/4] ARM: qcom: Add APQ8084-MTP board to mach-qcom

2014-05-21 Thread Georgi Djakov
Add board compatibility string to the board machine descriptors. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/mach-qcom/board.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-qcom/board.c b/arch/arm/mach-qcom/board.c index bae617e..ae0a405 100644 --- a/arch

[PATCH v1 4/4] ARM: debug: qcom: Add APQ8084 DEBUG_LL UART support

2014-05-21 Thread Georgi Djakov
Add debug UART support for Qualcomm APQ8084 SoC. This patch adds a Kconfig entry and the base address of the debug UART. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/Kconfig.debug |9 + arch/arm/include/debug/msm.S |5 + 2 files changed, 14 insertions

[PATCH v1 1/4] ARM: dts: qcom: Add APQ8084 SoC support

2014-05-21 Thread Georgi Djakov
Add support for the Qualcomm Snapdragon 805 APQ8084 SoC. It is used on APQ8084-MTP and other boards. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084.dtsi | 180 +++ 1 file changed, 180 insertions(+) create mode 100644 arch/arm

Re: [PATCH v1 3/4] ARM: qcom: Add APQ8084-MTP board to mach-qcom

2014-05-21 Thread Georgi Djakov
On 05/21/2014 06:18 PM, Kumar Gala wrote: On May 21, 2014, at 9:57 AM, Georgi Djakov gdja...@mm-sol.com wrote: Add board compatibility string to the board machine descriptors. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/mach-qcom/board.c |1 + 1 file changed, 1 insertion

Re: [PATCH v1 1/4] ARM: dts: qcom: Add APQ8084 SoC support

2014-05-21 Thread Georgi Djakov
On 21.05.14, 20:24, Stephen Boyd wrote: On 05/21/14 07:57, Georgi Djakov wrote: + +L2: l2-cache { +compatible = qcom,arch-cache; +cache-level = 2; +interrupts = 0 2 0x4; Let's leave out interrupts until the binding

[PATCH v1 4/5] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node

2014-05-22 Thread Georgi Djakov
This patch adds the necessary node to probe the global clock controller on APQ8084 platforms. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm

[PATCH v1 3/5] clk: gcc: Add APQ8084 Global Clock Controller support

2014-05-22 Thread Georgi Djakov
This patch adds support for the global clock controller found on the APQ8084 based devices. The APQ8084 and MSM8974 share a lot of clock data, so instead of duplicating all the data, we add support to the MSM8974 code. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/clk/qcom/Kconfig

[PATCH v1 5/5] ARM: dts: qcom: Add APQ8084 serial port DT node

2014-05-22 Thread Georgi Djakov
Add the necessary DT node to probe the serial driver on APQ8084 platforms. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084.dtsi |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084

[PATCH v1 0/5] clk: gcc: Add APQ8084 Global Clock Controller support

2014-05-22 Thread Georgi Djakov
This patchset adds support for the global clock controller found on the APQ8084 based platforms. It applies to the clk-next tree and the following patchset on top of it: https://lkml.org/lkml/2014/5/16/666 Georgi Djakov (5): clk: qcom: Add APQ8084 Global Clock Controller documentation clk

[PATCH v1 2/5] clk: qcom: Allow an override function to be passed as data

2014-05-22 Thread Georgi Djakov
of it: https://lkml.org/lkml/2014/5/16/666 Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/clk/qcom/gcc-msm8974.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8974.c b/drivers/clk/qcom/gcc-msm8974.c index 33eb051

[PATCH v1 1/5] clk: qcom: Add APQ8084 Global Clock Controller documentation

2014-05-22 Thread Georgi Djakov
Add the compatible string for the APQ8084 global clock controller to the clock binding documentation. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/clock/qcom,gcc.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 0/4] clk: qcom: Add APQ8084 Global Clock Controller support

2014-05-31 Thread Georgi Djakov
from v1. - Added the missing information about resets (suggested by Kumar Gala). - Made the UART DT node disabled in dtsi and okay in dts (suggested by Kumar Gala) Georgi Djakov (4): clk: qcom: Add APQ8084 Global Clock Controller documentation clk: qcom: Add APQ8084 Global Clock Controller

[PATCH v2 4/4] ARM: dts: qcom: Add APQ8084 serial port DT node

2014-05-31 Thread Georgi Djakov
Add the necessary DT node to probe the serial driver on APQ8084 platforms. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084-mtp.dts |6 ++ arch/arm/boot/dts/qcom-apq8084.dtsi|8 2 files changed, 14 insertions(+) diff --git a/arch/arm

[PATCH v2 1/4] clk: qcom: Add APQ8084 Global Clock Controller documentation

2014-05-31 Thread Georgi Djakov
Add the compatible string for the APQ8084 global clock controller to the clock binding documentation. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/clock/qcom,gcc.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 3/4] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node

2014-05-31 Thread Georgi Djakov
This patch adds the necessary node to probe the global clock controller on APQ8084 platforms. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm

Re: [PATCH v1 5/5] ARM: dts: qcom: Add APQ8084 serial port DT node

2014-05-23 Thread Georgi Djakov
On 05/22/2014 07:32 PM, Kumar Gala wrote: On May 22, 2014, at 11:24 AM, Georgi Djakov gdja...@mm-sol.com wrote: Add the necessary DT node to probe the serial driver on APQ8084 platforms. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084.dtsi |7 +++ 1

Re: [PATCH v1 3/5] clk: gcc: Add APQ8084 Global Clock Controller support

2014-05-23 Thread Georgi Djakov
On 05/22/2014 07:38 PM, Kumar Gala wrote: On May 22, 2014, at 11:24 AM, Georgi Djakov gdja...@mm-sol.com wrote: This patch adds support for the global clock controller found on the APQ8084 based devices. The APQ8084 and MSM8974 share a lot of clock data, so instead of duplicating all

Re: [PATCH v1 3/5] clk: gcc: Add APQ8084 Global Clock Controller support

2014-05-23 Thread Georgi Djakov
On 05/22/2014 08:22 PM, Stephen Boyd wrote: On 05/22/14 09:24, Georgi Djakov wrote: diff --git a/drivers/clk/qcom/gcc-msm8974.c b/drivers/clk/qcom/gcc-msm8974.c index 58cb2f5..c2a8d77 100644 --- a/drivers/clk/qcom/gcc-msm8974.c +++ b/drivers/clk/qcom/gcc-msm8974.c @@ -204,6 +204,12 @@ static

[PATCH v2 4/4] ARM: debug: qcom: add UART addresses to Kconfig help

2014-05-23 Thread Georgi Djakov
Add information about the APQ8084 debug UART physical and virtual addresses in the DEBUG_QCOM_UARTDM Kconfig help section. Requires: https://lkml.org/lkml/2014/4/14/312 Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/Kconfig.debug |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 1/4] ARM: dts: qcom: Add APQ8084 SoC support

2014-05-23 Thread Georgi Djakov
Add support for the Qualcomm Snapdragon 805 APQ8084 SoC. It is used on APQ8084-MTP and other boards. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084.dtsi | 179 +++ 1 file changed, 179 insertions(+) create mode 100644 arch/arm

[PATCH v2 3/4] ARM: qcom: Add APQ8084 to mach-qcom

2014-05-23 Thread Georgi Djakov
Add the SoC compatibility string to the board machine descriptors. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/mach-qcom/board.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-qcom/board.c b/arch/arm/mach-qcom/board.c index bae617e..c17e7b0 100644

[PATCH v2 2/4] ARM: dts: qcom: Add APQ8084-MTP board support

2014-05-23 Thread Georgi Djakov
Add device-tree file for APQ8084-MTP board, which belongs to the Snapdragon 805 family. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/Makefile |3 ++- arch/arm/boot/dts/qcom-apq8084-mtp.dts |6 ++ 2 files changed, 8 insertions(+), 1 deletion

[PATCH v2 0/4] Add Qualcomm APQ8084 SoC support

2014-05-23 Thread Georgi Djakov
://lkml.org/lkml/2014/4/14/312 Georgi Djakov (4): ARM: dts: qcom: Add APQ8084 SoC support ARM: dts: qcom: Add APQ8084-MTP board support ARM: qcom: Add APQ8084 to mach-qcom ARM: debug: qcom: add UART addresses to Kconfig help arch/arm/Kconfig.debug |1 + arch/arm/boot

Re: [PATCH v2 4/4] ARM: debug: qcom: add UART addresses to Kconfig help

2014-05-26 Thread Georgi Djakov
On 23.05.14, 19:39, Matthias Brugger wrote: 2014-05-23 17:12 GMT+02:00 Georgi Djakov gdja...@mm-sol.com: Add information about the APQ8084 debug UART physical and virtual addresses in the DEBUG_QCOM_UARTDM Kconfig help section. Requires: https://lkml.org/lkml/2014/4/14/312 Signed-off

Re: [GIT PULL] qcom SoC changes for v3.16

2014-05-26 Thread Georgi Djakov
On 05/26/2014 03:49 PM, Paul Bolle wrote: On Fri, 2014-05-23 at 13:42 -0500, Kumar Gala wrote: Ivan T. Ivanov (1): ARM: debug: qcom: make UART address selection configuration option This one just landed in linux-next (next-20140526). It removed the Kconfig options DEBUG_MSM_UART1,

[PATCH] ARM: msm: Update the references to DEBUG_MSM_UARTx

2014-05-26 Thread Georgi Djakov
The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2 and DEBUG_MSM_UART3 are removed, but they are still referenced in arch/arm/mach-msm/io.c Fix this by updating the reference to the new Kconfig option. Reported-by: Paul Bolle pebo...@tiscali.nl Signed-off-by: Georgi Djakov gdja...@mm-sol.com

Re: [PATCH] ARM: msm: Update the references to DEBUG_MSM_UARTx

2014-05-26 Thread Georgi Djakov
On 05/26/2014 05:58 PM, Paul Bolle wrote: Hi Georgi, Hi Paul, On Mon, 2014-05-26 at 16:58 +0300, Georgi Djakov wrote: The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2 and DEBUG_MSM_UART3 are removed, but they are still referenced in arch/arm/mach-msm/io.c Fix this by updating

[PATCH v2] ARM: msm: Update the references to DEBUG_MSM_UARTx

2014-05-26 Thread Georgi Djakov
-trout-gpio.c Fix this by updating the reference to the new Kconfig option. Reported-by: Paul Bolle pebo...@tiscali.nl Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- Changes since v1: - Fixed similar issue in board-trout.c and board-trout-gpio.c Applies to next-20140526. arch/arm/mach-msm

Re: [PATCH v2 4/4] ARM: debug: qcom: add UART addresses to Kconfig help

2014-05-27 Thread Georgi Djakov
On 05/26/2014 08:17 PM, Matthias Brugger wrote: 2014-05-26 15:45 GMT+02:00 Georgi Djakov gdja...@mm-sol.com: On 23.05.14, 19:39, Matthias Brugger wrote: 2014-05-23 17:12 GMT+02:00 Georgi Djakov gdja...@mm-sol.com: Add information about the APQ8084 debug UART physical and virtual addresses

Re: [PATCH v2 2/4] clk: qcom: Add APQ8084 Global Clock Controller support

2014-06-02 Thread Georgi Djakov
On 02.06.14, 22:36, Stephen Boyd wrote: On 05/31, Georgi Djakov wrote: + +static const struct qcom_reset_map gcc_apq8084_resets[] = { +[GCC_VENUS0_BCR] = { 0x1020 }, +[GCC_VPU_BCR] = { 0x1400 }, +[GCC_MDSS_BCR] = { 0x2300 }, +[GCC_AVSYNC_BCR] = { 0x2400

Re: [PATCH v2 3/4] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node

2014-06-02 Thread Georgi Djakov
On 02.06.14, 23:41, Kumar Gala wrote: On May 31, 2014, at 10:45 AM, Georgi Djakov gdja...@mm-sol.com wrote: This patch adds the necessary node to probe the global clock controller on APQ8084 platforms. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084

[PATCH v3 1/2] clk: qcom: Add APQ8084 Global Clock Controller documentation

2014-06-03 Thread Georgi Djakov
Add the compatible string for the APQ8084 global clock controller to the clock binding documentation. Signed-off-by: Georgi Djakov gdja...@mm-sol.com Reviewed-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/clock/qcom,gcc.txt |1 + 1 file changed, 1 insertion

[PATCH v3 0/2] clk: qcom: Add APQ8084 Global Clock Controller support

2014-06-03 Thread Georgi Djakov
: - Moved APQ8084 clocks into a separate file and under separate Kconfig entry. Dropped the override function patch from v1. - Added the missing information about resets (suggested by Kumar Gala). - Made the UART DT node disabled in dtsi and okay in dts (suggested by Kumar Gala) Georgi Djakov

[PATCH v3 1/2] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node

2014-06-03 Thread Georgi Djakov
This patch adds the necessary node to probe the global clock controller on APQ8084 platforms. Signed-off-by: Georgi Djakov gdja...@mm-sol.com Reviewed-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/boot/dts/qcom-apq8084.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v3 2/2] ARM: dts: qcom: Add APQ8084 serial port DT node

2014-06-03 Thread Georgi Djakov
Add the necessary DT node to probe the serial driver on APQ8084 platforms. Signed-off-by: Georgi Djakov gdja...@mm-sol.com Reviewed-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/boot/dts/qcom-apq8084-mtp.dts |6 ++ arch/arm/boot/dts/qcom-apq8084.dtsi|8 2 files

[PATCH v3 0/2] ARM: dts: qcom: Add APQ8084 DT nodes for GCC and UART

2014-06-03 Thread Georgi Djakov
Kconfig entry. Dropped the override function patch from v1. - Added the missing information about resets (suggested by Kumar Gala). - Made the UART DT node disabled in dtsi and okay in dts (suggested by Kumar Gala) Georgi Djakov (2): ARM: dts: qcom: Add APQ8084 Global Clock Controller DT

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 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 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
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 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

[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 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 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

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

[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 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 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

  1   2   3   4   5   6   7   8   9   10   >