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

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

[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

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

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

[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

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

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

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

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

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

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

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

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

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

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

[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

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

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

[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

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 v1] clk: qcom: Add APQ8084 clocks for SATA, PCIe and UFS

2014-06-19 Thread Georgi Djakov
Add the necessary clocks for SATA, PCIe and UFS to the APQ8084 global clock controller (GCC). This will allow the above device drivers to control their clocks. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- Patch applies to clk-next + https://lkml.org/lkml/2014/6/3/443 drivers/clk/qcom

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

[PATCH v1 0/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-19 Thread Georgi Djakov
This set of patches adds pinctrl support for the Qualcomm APQ8084 platform. The first patch adds the pin definitions. The second patch contains the devicetree documentation. The last patch adds the DT node. Georgi Djakov (3): pinctrl: qcom: Add APQ8084 pinctrl support dt: Document Qualcomm

[PATCH v1 2/3] dt: Document Qualcomm APQ8084 pinctrl binding

2014-08-19 Thread Georgi Djakov
Define a new binding for the Qualcomm TLMM (Top-Level Mode Mux) based pin controller inside the APQ8084. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../bindings/pinctrl/qcom,apq8084-pinctrl.txt | 109 1 file changed, 109 insertions(+) create mode 100644

[PATCH v1 3/3] ARM: dts: Add TLMM DT node for apq8084

2014-08-19 Thread Georgi Djakov
This patch adds the TLMM node for the apq8084 platform. 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/boot/dts/qcom-apq8084.dtsi index

[PATCH v1 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-19 Thread Georgi Djakov
This patch adds support for the TLMM (Top-Level Mode Mux) block found in the APQ8084 platform. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/pinctrl/qcom/Kconfig |8 + drivers/pinctrl/qcom/Makefile |1 + drivers/pinctrl/qcom/pinctrl-apq8084.c | 1302

Re: [PATCH v1 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-20 Thread Georgi Djakov
On 20.08.14 18:42, Andy Gross wrote: On Tue, Aug 19, 2014 at 09:39:30PM -0700, Bjorn Andersson wrote: On Tue 19 Aug 10:22 PDT 2014, Georgi Djakov wrote: This patch adds support for the TLMM (Top-Level Mode Mux) block found in the APQ8084 platform. [...] + +#define NUM_GPIO_PINGROUPS 143

[PATCH v2 0/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-26 Thread Georgi Djakov
with the possible functions. Georgi Djakov (3): pinctrl: qcom: Add APQ8084 pinctrl support dt: Document Qualcomm APQ8084 pinctrl binding ARM: dts: qcom: Add TLMM DT node for APQ8084 .../bindings/pinctrl/qcom,apq8084-pinctrl.txt | 104 ++ arch/arm/boot/dts/qcom-apq8084.dtsi| 10

[PATCH v2 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-26 Thread Georgi Djakov
This patchset adds pinctrl support for the Qualcomm APQ8084 platform. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/pinctrl/qcom/Kconfig |8 + drivers/pinctrl/qcom/Makefile |1 + drivers/pinctrl/qcom/pinctrl-apq8084.c | 1243

[PATCH v2 3/3] ARM: dts: qcom: Add TLMM DT node for APQ8084

2014-08-26 Thread Georgi Djakov
This patch adds the TLMM node for the APQ8084 platform. Reviewed-by: Bjorn Andersson bjorn.anders...@sonymobile.com 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

[PATCH v2 2/3] dt: Document Qualcomm APQ8084 pinctrl binding

2014-08-26 Thread Georgi Djakov
Define a new binding for the Qualcomm TLMM (Top-Level Mode Mux) based pin controller inside the APQ8084. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../bindings/pinctrl/qcom,apq8084-pinctrl.txt | 104 1 file changed, 104 insertions(+) create mode 100644

Re: [PATCH v2 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-29 Thread Georgi Djakov
On 08/29/2014 09:01 AM, Bjorn Andersson wrote: On Tue 26 Aug 05:45 PDT 2014, Georgi Djakov wrote: Hi Georgi, Sorry for missing this before, but I did a quick walkthrough and unfortunately the gpio configuration needs a few updates. diff --git a/drivers/pinctrl/qcom/pinctrl-apq8084.c b

Re: [PATCH v2 2/3] dt: Document Qualcomm APQ8084 pinctrl binding

2014-08-29 Thread Georgi Djakov
On 08/29/2014 09:09 AM, Bjorn Andersson wrote: On Tue 26 Aug 05:45 PDT 2014, Georgi Djakov wrote: Define a new binding for the Qualcomm TLMM (Top-Level Mode Mux) based pin controller inside the APQ8084. Signed-off-by: Georgi Djakov gdja...@mm-sol.com [...] +Valid values for function

[PATCH v3 0/4] pinctrl: qcom: Add APQ8084 pinctrl support

2014-09-02 Thread Georgi Djakov
and functions to be consistent with other pinctrls. (suggested by Andy Gross) - Removed unused functions, qdss and test pins. (suggested by Andy Gross) - Updated the documentation with the possible functions. Georgi Djakov (4): pinctrl: qcom: Add APQ8084 pinctrl support dt: Document Qualcomm

[PATCH v3 1/4] pinctrl: qcom: Add APQ8084 pinctrl support

2014-09-02 Thread Georgi Djakov
This patchset adds pinctrl support for the Qualcomm APQ8084 platform. Reviewed-by: Andy Gross agr...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/pinctrl/qcom/Kconfig |8 + drivers/pinctrl/qcom/Makefile |1 + drivers/pinctrl/qcom/pinctrl

[PATCH v3 4/4] pinctrl: qcom: Make the target processor value configurable

2014-09-02 Thread Georgi Djakov
to use the current value, and only for APQ8084 we use the new value. Suggested-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/pinctrl/qcom/pinctrl-apq8064.c |2 ++ drivers/pinctrl/qcom/pinctrl-apq8084.c |2 ++ drivers/pinctrl/qcom

[PATCH v2 0/3] ARM: dts: qcom: Add initial IFC6540 board support

2014-09-02 Thread Georgi Djakov
: - This time add linux-arm-msm list to the CC. - Include a third patch for enabling the eMMC. Georgi Djakov (3): ARM: dts: qcom: Add initial IFC6540 board device tree ARM: dts: qcom: Enable serial port on IFC6540 boards ARM: dts: qcom: Add SDHC nodes for APQ8084 platform arch/arm/boot/dts

[PATCH v2 3/3] ARM: dts: qcom: Add SDHC nodes for APQ8084 platform

2014-09-02 Thread Georgi Djakov
Enable support for the two SD host controllers on the APQ8084 platform by adding the required nodes to the DT files. On the IFC6540 board, the first controller is connected to the onboard eMMC and the second is connected to a micro-SD card slot. Signed-off-by: Georgi Djakov gdja...@mm-sol.com

[PATCH v2 2/3] ARM: dts: qcom: Enable serial port on IFC6540 boards

2014-09-02 Thread Georgi Djakov
Enable the serial port on the IFC6540 boards. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084-ifc6540.dts |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts b/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts index

[PATCH v2 1/3] ARM: dts: qcom: Add initial IFC6540 board device tree

2014-09-02 Thread Georgi Djakov
Add initial device tree for the IFC6540 Snapdragon 805 pico-itx single-board computer. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/qcom-apq8084-ifc6540.dts |6 ++ 2 files changed, 7 insertions(+) create mode

Re: [PATCH] mmc: sdhci-msm: Make tuning block table endian agnostic

2014-09-03 Thread Georgi Djakov
of 32-bit words so we can use memcmp() without needing to byte-swap every word depending on the endianess of the CPU. Cc: Asutosh Das asuto...@codeaurora.org Cc: Venkat Gopalakrishnan venk...@codeaurora.org Cc: Georgi Djakov gdja...@mm-sol.com Fixes: 415b5a75da43 mmc: sdhci-msm: Add

[PATCH v4 0/4] pinctrl: qcom: Add APQ8084 pinctrl support

2014-09-03 Thread Georgi Djakov
the documentation with the possible functions. Georgi Djakov (4): pinctrl: qcom: Add APQ8084 pinctrl support dt: Document Qualcomm APQ8084 pinctrl binding ARM: dts: qcom: Add TLMM DT node for APQ8084 pinctrl: qcom: Make the target processor value configurable .../bindings/pinctrl/qcom

[PATCH v4 2/4] dt: Document Qualcomm APQ8084 pinctrl binding

2014-09-03 Thread Georgi Djakov
Define a new binding for the Qualcomm TLMM (Top-Level Mode Mux) based pin controller inside the APQ8084. Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../bindings/pinctrl/qcom,apq8084-pinctrl.txt | 179 1

[PATCH v4 3/4] ARM: dts: qcom: Add TLMM DT node for APQ8084

2014-09-03 Thread Georgi Djakov
This patch adds the TLMM node for the APQ8084 platform. Reviewed-by: Bjorn Andersson bjorn.anders...@sonymobile.com 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

[PATCH v4 4/4] pinctrl: qcom: Make the target processor value configurable

2014-09-03 Thread Georgi Djakov
to use the current value, and only for APQ8084 we use the new value. Suggested-by: Bjorn Andersson bjorn.anders...@sonymobile.com Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/pinctrl/qcom/pinctrl-apq8064.c |2 ++ drivers

[PATCH v4 1/4] pinctrl: qcom: Add APQ8084 pinctrl support

2014-09-03 Thread Georgi Djakov
This patchset adds pinctrl support for the Qualcomm APQ8084 platform. Reviewed-by: Andy Gross agr...@codeaurora.org Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/pinctrl/qcom/Kconfig |8 + drivers/pinctrl/qcom

[PATCH v3] ARM: dts: qcom: Add initial IFC6540 board device tree

2014-09-03 Thread Georgi Djakov
Add basic support for the IFC6540 single-board computer boards, that are based on the APQ8084 SoC. This patch adds the initial device tree and the neccessary nodes required for enabling the serial port and eMMC. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- Changes since v2: - Squashed all

  1   2   3   >