[PATCH 1/5] mmc: msm_sdcc: Switch to using managed resources

2014-09-16 Thread Pramod Gurav
Hansson ulf.hans...@linaro.org CC: linux-...@vger.kernel.org CC: linux-arm-...@vger.kernel.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/mmc/host/msm_sdcc.c | 43 +-- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git

[PATCH 0/5] mmc: msm_sdcc: Cleanups

2014-09-16 Thread Pramod Gurav
This patchset does some cleanups in msm sdcc driver. Pramod Gurav (5): mmc: msm_sdcc: Switch to using managed resources mmc: msm_sdcc: Add support for platform_driver remove function mmc: msm_sdcc: Replace pr_ with dev_ mmc: msm_sdcc: Remove duplicate check around dmares mmc: msm_sdcc

[PATCH 3/5] mmc: msm_sdcc: Replace pr_ with dev_

2014-09-16 Thread Pramod Gurav
: linux-arm-...@vger.kernel.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/mmc/host/msm_sdcc.c | 34 ++ 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 3e0536d

[PATCH 4/5] mmc: msm_sdcc: Remove duplicate check around dmares

2014-09-16 Thread Pramod Gurav
Hansson ulf.hans...@linaro.org CC: linux-...@vger.kernel.org CC: linux-arm-...@vger.kernel.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/mmc/host/msm_sdcc.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c

[PATCH 5/5] mmc: msm_sdcc: Remove unwanted initializations in probe

2014-09-16 Thread Pramod Gurav
-...@vger.kernel.org CC: linux-arm-...@vger.kernel.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/mmc/host/msm_sdcc.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index

[PATCH 2/5] mmc: msm_sdcc: Add support for platform_driver remove function

2014-09-16 Thread Pramod Gurav
-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/mmc/host/msm_sdcc.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 2b8ac9c..3e0536d 100644 --- a/drivers/mmc/host/msm_sdcc.c +++ b/drivers/mmc

Re: [Patch v9 2/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2014-09-12 Thread Pramod Gurav
On 13-09-2014 01:59 AM, Felipe Balbi wrote: > Hi, > > On Sat, Sep 13, 2014 at 01:55:50AM +0530, Pramod Gurav wrote: >>>>> + qdwc = devm_kzalloc(>dev, sizeof(*qdwc), GFP_KERNEL); >>>>> + if (!qdwc) >>>>> + return

Re: [Patch v9 2/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2014-09-12 Thread Pramod Gurav
Hi Felipe, On 13-09-2014 01:50 AM, Felipe Balbi wrote: > On Sat, Sep 13, 2014 at 01:44:25AM +0530, Pramod Gurav wrote: >> Andy, >> Couple of minor comments. >> >> On Sat, Sep 13, 2014 at 12:58 AM, Andy Gross wrote: >> >>> From: "Ivan T. Ivanov&quo

Re: [Patch v9 2/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2014-09-12 Thread Pramod Gurav
Hi Felipe, On 13-09-2014 01:50 AM, Felipe Balbi wrote: On Sat, Sep 13, 2014 at 01:44:25AM +0530, Pramod Gurav wrote: Andy, Couple of minor comments. On Sat, Sep 13, 2014 at 12:58 AM, Andy Gross agr...@codeaurora.org wrote: From: Ivan T. Ivanov iiva...@mm-sol.com DWC3 glue layer

Re: [Patch v9 2/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2014-09-12 Thread Pramod Gurav
On 13-09-2014 01:59 AM, Felipe Balbi wrote: Hi, On Sat, Sep 13, 2014 at 01:55:50AM +0530, Pramod Gurav wrote: + qdwc = devm_kzalloc(pdev-dev, sizeof(*qdwc), GFP_KERNEL); + if (!qdwc) + return -ENOMEM; + + platform_set_drvdata(pdev, qdwc); + + qdwc

[PATCH v2 2/2] pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add

2014-09-09 Thread Pramod Gurav
ean-Christophe Plagniol-Villard CC: Linus Walleij Signed-off-by: Pramod Gurav --- Changes since v1: FIxed the error massage on gpiochio_irqchip_add failure to indicate failure to add irqchip to gpiochip. drivers/pinctrl/pinctrl-at91.c | 14 ++ 1 file changed, 10 insertions(+)

[PATCH v2 1/2] pinctrl: at91: Fix failure path in at91_gpio_probe path

2014-09-09 Thread Pramod Gurav
This fixes the whole error handling in probe function by capturing and returning error values on kernel function like clk_prepare, clk_enable, gpiochip_add etc. CC: Jean-Christophe Plagniol-Villard CC: Linus Walleij Signed-off-by: Pramod Gurav --- Changes since v1: Used PTR_ERR instead

[PATCH v2] pinctrl: lantiq: Release gpiochip resources in fail case

2014-09-09 Thread Pramod Gurav
This patch releases gpiochip resources with of_gpiochip_remove and gpiochip_remove in failure cases. CC: John Crispin CC: Linus Walleij Signed-off-by: Pramod Gurav --- Changes since v1: Dropped call to of_gpiochip_remove() when ltq_pinctrl_register fails as gpiochip_remove() calls

[PATCH v1] pinctrl: lantiq: Release gpiochip resources in fail case

2014-09-09 Thread Pramod Gurav
This patch releases gpiochip resources with of_gpiochip_remove and gpiochip_remove in failure cases. CC: John Crispin CC: Linus Walleij Signed-off-by: Pramod Gurav --- Changes since v1: Dropped call to of_gpiochip_remove() when ltq_pinctrl_register fails as gpiochip_remove() calls

[PATCH v2] pinctrl: st: remove gpiochip in failure cases

2014-09-09 Thread Pramod Gurav
This patch releases gpiochip related resources by calling gpiochip_remove when gpiochip_irqchip_add fails. CC: Srinivas Kandagatla CC: Srinivas Kandagatla CC: Maxime Coquelin CC: Patrice Chotard CC: Linus Walleij CC: Bjorn Andersson Signed-off-by: Pramod Gurav --- Changes since v1

[PATCH v2] pinctrl: st: remove gpiochip in failure cases

2014-09-09 Thread Pramod Gurav
...@st.com CC: Linus Walleij linus.wall...@linaro.org CC: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- Changes since v1: Dropped adding remove function as it will never be tested as the driver is bool. drivers/pinctrl/pinctrl-st.c |1

[PATCH v1] pinctrl: lantiq: Release gpiochip resources in fail case

2014-09-09 Thread Pramod Gurav
This patch releases gpiochip resources with of_gpiochip_remove and gpiochip_remove in failure cases. CC: John Crispin blo...@openwrt.org CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- Changes since v1: Dropped call to of_gpiochip_remove

[PATCH v2] pinctrl: lantiq: Release gpiochip resources in fail case

2014-09-09 Thread Pramod Gurav
This patch releases gpiochip resources with of_gpiochip_remove and gpiochip_remove in failure cases. CC: John Crispin blo...@openwrt.org CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- Changes since v1: Dropped call to of_gpiochip_remove

[PATCH v2 1/2] pinctrl: at91: Fix failure path in at91_gpio_probe path

2014-09-09 Thread Pramod Gurav
This fixes the whole error handling in probe function by capturing and returning error values on kernel function like clk_prepare, clk_enable, gpiochip_add etc. CC: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav

[PATCH v2 2/2] pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add

2014-09-09 Thread Pramod Gurav
: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- Changes since v1: FIxed the error massage on gpiochio_irqchip_add failure to indicate failure to add irqchip to gpiochip. drivers

Re: [PATCH v2 00/15] Krait clocks + Krait CPUfreq

2014-09-08 Thread Pramod Gurav
Sorry Stephen for spaming. I read the full patch cover letter and found your note. Somehow I missed on that. Thanks Pramod On Monday 08 September 2014 03:12 PM, Pramod Gurav wrote: > Hi Stephen, > Looks like one patch is missing from v1. Is this removed from v2 > patchset from so

Re: [PATCH v2 00/15] Krait clocks + Krait CPUfreq

2014-09-08 Thread Pramod Gurav
Hi Stephen, Looks like one patch is missing from v1. Is this removed from v2 patchset from some reason? ARM: Add Krait L2 register accessor functions But there are references to this in v2 set and build fails while compiling drivers/clk/qcom/clk-krait.c. Thanks and Regards Pramod On

Re: [PATCH v2 00/15] Krait clocks + Krait CPUfreq

2014-09-08 Thread Pramod Gurav
Hi Stephen, Looks like one patch is missing from v1. Is this removed from v2 patchset from some reason? ARM: Add Krait L2 register accessor functions But there are references to this in v2 set and build fails while compiling drivers/clk/qcom/clk-krait.c. Thanks and Regards Pramod On

Re: [PATCH v2 00/15] Krait clocks + Krait CPUfreq

2014-09-08 Thread Pramod Gurav
Sorry Stephen for spaming. I read the full patch cover letter and found your note. Somehow I missed on that. Thanks Pramod On Monday 08 September 2014 03:12 PM, Pramod Gurav wrote: Hi Stephen, Looks like one patch is missing from v1. Is this removed from v2 patchset from some reason

Re: [PATCH] pinctrl: st: Add remove function and remove gpio_chip on failure

2014-09-04 Thread Pramod Gurav
Hi Srini, Thanks for review. On 04-09-2014 11:38 PM, Srinivas Kandagatla wrote: > Pramod, > sorry for delay in reply as I was travelling, still in Jet lag. >> Signed-off-by: Pramod Gurav >> --- >> drivers/pinctrl/pinctrl-st.c | 25 +

Re: [PATCH] pinctrl: st: Add remove function and remove gpio_chip on failure

2014-09-04 Thread Pramod Gurav
Hi Srini, Thanks for review. On 04-09-2014 11:38 PM, Srinivas Kandagatla wrote: Pramod, sorry for delay in reply as I was travelling, still in Jet lag. Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/pinctrl-st.c | 25 + 1 files

[PATCH] pinctrl: lantiq: Release gpiochip resources in fail case

2014-08-31 Thread Pramod Gurav
This patch releases gpiochip resources with of_gpiochip_remove gpiochip_remove in failure cases. CC: John Crispin CC: Linus Walleij Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-xway.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/pinctrl/pinctrl

[PATCH 2/4] pinctrl: at91: Fix failure path in at91_gpio_probe path

2014-08-31 Thread Pramod Gurav
This fixes the whole error handling in probe function by capturing and returning error values on kernel function like clk_prepare, clk_enable, gpiochip_add etc. CC: Jean-Christophe Plagniol-Villard CC: Linus Walleij Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-at91.c | 20

[PATCH 4/4] pinctrl: at91: Add remove function in platform_driver at91_gpio_driver

2014-08-31 Thread Pramod Gurav
This adds remove function in at91_gpio_driver platform_driver so that driver can be unloaded cleanly. CC: Jean-Christophe Plagniol-Villard CC: Linus Walleij Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-at91.c | 13 + 1 files changed, 13 insertions(+), 0 deletions

[PATCH 3/4] pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add

2014-08-31 Thread Pramod Gurav
from struct device_node to struct platform_device. Because The device_node argument was anyway not being used. Passed pdev so that on failure dev_err can use >dev and log can be associated with proper device. CC: Jean-Christophe Plagniol-Villard CC: Linus Walleij Signed-off-by: Pramod Gu

[PATCH 1/4] pinctrl: at91: Switch to using managed clk_get

2014-08-31 Thread Pramod Gurav
This patch switches to using managed version of clk_get and hence removes clk_put from failure path. CC: Jean-Christophe Plagniol-Villard CC: Linus Walleij Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-at91.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff

[PATCH 0/4] pinctrl: at91: Fixes in probe function

2014-08-31 Thread Pramod Gurav
This patchset modifies the probe function to do some changes such as switching to manage version of clk_get, fixing the error path by releasing resources etc. The last patch adds a remove function for clean unload. Pramod Gurav (4): pinctrl: at91: Switch to using managed clk_get pinctrl

[PATCH 1/4] pinctrl: at91: Switch to using managed clk_get

2014-08-31 Thread Pramod Gurav
This patch switches to using managed version of clk_get and hence removes clk_put from failure path. CC: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/pinctrl-at91.c

[PATCH 0/4] pinctrl: at91: Fixes in probe function

2014-08-31 Thread Pramod Gurav
This patchset modifies the probe function to do some changes such as switching to manage version of clk_get, fixing the error path by releasing resources etc. The last patch adds a remove function for clean unload. Pramod Gurav (4): pinctrl: at91: Switch to using managed clk_get pinctrl

[PATCH 2/4] pinctrl: at91: Fix failure path in at91_gpio_probe path

2014-08-31 Thread Pramod Gurav
This fixes the whole error handling in probe function by capturing and returning error values on kernel function like clk_prepare, clk_enable, gpiochip_add etc. CC: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav

[PATCH 4/4] pinctrl: at91: Add remove function in platform_driver at91_gpio_driver

2014-08-31 Thread Pramod Gurav
This adds remove function in at91_gpio_driver platform_driver so that driver can be unloaded cleanly. CC: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/pinctrl-at91.c

[PATCH 3/4] pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add

2014-08-31 Thread Pramod Gurav
...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/pinctrl-at91.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 7abe683..8b8772c 100644

[PATCH] pinctrl: lantiq: Release gpiochip resources in fail case

2014-08-31 Thread Pramod Gurav
This patch releases gpiochip resources with of_gpiochip_remove gpiochip_remove in failure cases. CC: John Crispin blo...@openwrt.org CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/pinctrl-xway.c |3 +++ 1 files changed

[PATCH] pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges from remove function

2014-08-30 Thread Pramod Gurav
This patch removes call to gpiochip_remove_pin_ranges() from platform_driver remove function as it will anway be called by gpiochip_remove(). CC: Sonic Zhang CC: Linus Walleij Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-adi2.c |1 - 1 files changed, 0 insertions(+), 1

[PATCH] pinctrl: bcm281xx: Add remove function to pinctrl_unregister

2014-08-30 Thread Pramod Gurav
This patch adds a remove function in platform_driver to pinctrl_unregister for clean unloading. This makes local struct pinctrl_dev a part of struct bcm281xx_pinctrl_data to be accessed from pdev in remove function. CC: Sherman Yin CC: Linus Walleij Signed-off-by: Pramod Gurav --- drivers

[PATCH] pinctrl: st: Add remove function and remove gpio_chip on failure

2014-08-30 Thread Pramod Gurav
: Linus Walleij CC: Bjorn Andersson Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-st.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c index 5475374..9296845 100644 --- a/drivers

[PATCH] pinctrl: sirf: Remove gpiochip on failure cases

2014-08-30 Thread Pramod Gurav
This patch releases gpiochip related resources by calling gpiochip_remove when gpiochip_irqchip_add fails. CC: Linus Walleij CC: Barry Song CC: Rongjun Ying CC: Yuping Luo Signed-off-by: Pramod Gurav --- drivers/pinctrl/sirf/pinctrl-sirf.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH] pinctrl: sirf: Remove gpiochip on failure cases

2014-08-30 Thread Pramod Gurav
This patch releases gpiochip related resources by calling gpiochip_remove when gpiochip_irqchip_add fails. CC: Linus Walleij linus.wall...@linaro.org CC: Barry Song baohua.s...@csr.com CC: Rongjun Ying rongjun.y...@csr.com CC: Yuping Luo yuping@csr.com Signed-off-by: Pramod Gurav pramod.gu

[PATCH] pinctrl: st: Add remove function and remove gpio_chip on failure

2014-08-30 Thread Pramod Gurav
...@linaro.com CC: Maxime Coquelin maxime.coque...@st.com CC: Patrice Chotard patrice.chot...@st.com CC: Linus Walleij linus.wall...@linaro.org CC: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/pinctrl-st.c | 25

[PATCH] pinctrl: bcm281xx: Add remove function to pinctrl_unregister

2014-08-30 Thread Pramod Gurav
Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/pinctrl-bcm281xx.c | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/pinctrl-bcm281xx.c b/drivers/pinctrl/pinctrl-bcm281xx.c index c5ca9e6..63db3b6 100644 --- a/drivers

[PATCH] pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges from remove function

2014-08-30 Thread Pramod Gurav
This patch removes call to gpiochip_remove_pin_ranges() from platform_driver remove function as it will anway be called by gpiochip_remove(). CC: Sonic Zhang sonic.zh...@analog.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers

Re: [PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-29 Thread Pramod Gurav
Bjorn, Thanks for review. :) On 30-08-2014 12:12 AM, Bjorn Andersson wrote: > On Fri 29 Aug 07:30 PDT 2014, Pramod Gurav wrote: > >> This patch adds support for reset functions to reboot the boards >> with soc apq8064. >> >> CC: Linus Walleij >> CC: Bjo

Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
Hi Bjorn, On 30-08-2014 12:27 AM, Bjorn Andersson wrote: > On Fri 29 Aug 01:11 PDT 2014, Pramod Gurav wrote: > >> This patch releases gpiochip related resources by calling >> gpiochip_remove when either of gpiochip_add_pin_range and >> gpiochip_irqchip_add fails. >&g

Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
Hi Bjorn, On 30-08-2014 12:27 AM, Bjorn Andersson wrote: > On Fri 29 Aug 01:11 PDT 2014, Pramod Gurav wrote: > >> This patch releases gpiochip related resources by calling >> gpiochip_remove when either of gpiochip_add_pin_range and >> gpiochip_irqchip_add fails. >&g

[PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-29 Thread Pramod Gurav
This patch adds support for reset functions to reboot the boards with soc apq8064. CC: Linus Walleij CC: Bjorn Andersson CC: "Ivan T. Ivanov" CC: Stephen Boyd CC: Andy Gross Signed-off-by: Pramod Gurav --- drivers/pinctrl/qcom/pinctrl-apq8064.c |7 ++- drivers/pinctrl/qc

[PATCH v3 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-08-29 Thread Pramod Gurav
This adds a function ps_hold (Power Suppy Hold Signal) in pinctrl-ap8064 documentation which was missing. This function is used to reset the targets with apq8064 soc. CC: Linus Walleij Acked-by: Bjorn Andersson CC: "Ivan T. Ivanov" CC: Stephen Boyd CC: Andy Gross Signed-off-by: Pr

[PATCH v3 1/4] ARM: DT: APQ8064: Add pinctrl support

2014-08-29 Thread Pramod Gurav
This patch adds device tree nodes to support pinctrl for apq8064 SOC CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: devicet...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav --- arch/arm/boot/dts/qcom-apq8064.dtsi

[PATCH v3 2/4] ARM: DT: APQ8064: Add node for ps_hold function in pinctrl

2014-08-29 Thread Pramod Gurav
This patch adds DT support to configure GPIO_78 as function ps_hold on apq8064. CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: devicet...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav --- arch/arm/boot/dts/qcom

[PATCH v3 0/4] Add reset support for apq8064

2014-08-29 Thread Pramod Gurav
since v1 to v2: 1. Added #error log as suggested by Kumar Gala 2. Correct interrupts in DT from 32 to 16 based on Bjorn's new patch in bindings 3. Replaced hardcoding in DT with IRQ_TYPE_LEVEL_HIGH for interrupt level type Pramod Gurav (4): ARM: DT: APQ8064: Add pinctrl support ARM: DT

Re: [PATCH 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-29 Thread Pramod Gurav
Hi Bjorn, On 29-08-2014 06:58 AM, Bjorn Andersson wrote: > On Thu 28 Aug 20:22 PDT 2014, Pramod Gurav wrote: > >> This patch adds support for reset functions to reboot the boards >> with soc apq8064. >> >> CC: Linus Walleij >> CC: Bjorn Andersson >>

[PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
This patch releases gpiochip related resources by calling gpiochip_remove when either of gpiochip_add_pin_range and gpiochip_irqchip_add fails. CC: Linus Walleij CC: Bjorn Andersson CC: "Ivan T. Ivanov" Signed-off-by: Pramod Gurav --- Changes since v1: - In v1 of this patch gpioc

Re: [PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-29 Thread Pramod Gurav
On 29-08-2014 09:19 AM, Bjorn Andersson wrote: > On Thu 28 Aug 00:13 PDT 2014, Pramod Gurav wrote: > >> On Thursday 28 August 2014 02:54 AM, Bjorn Andersson wrote: >>> On Wed, Aug 27, 2014 at 3:57 AM, Pramod Gurav >>> wrote: >>>> This patches adds

Re: [PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-29 Thread Pramod Gurav
On 29-08-2014 09:19 AM, Bjorn Andersson wrote: On Thu 28 Aug 00:13 PDT 2014, Pramod Gurav wrote: On Thursday 28 August 2014 02:54 AM, Bjorn Andersson wrote: On Wed, Aug 27, 2014 at 3:57 AM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This patches adds a call

[PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
This patch releases gpiochip related resources by calling gpiochip_remove when either of gpiochip_add_pin_range and gpiochip_irqchip_add fails. CC: Linus Walleij linus.wall...@linaro.org CC: Bjorn Andersson bjorn.anders...@sonymobile.com CC: Ivan T. Ivanov iiva...@mm-sol.com Signed-off-by: Pramod

Re: [PATCH 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-29 Thread Pramod Gurav
Hi Bjorn, On 29-08-2014 06:58 AM, Bjorn Andersson wrote: On Thu 28 Aug 20:22 PDT 2014, Pramod Gurav wrote: This patch adds support for reset functions to reboot the boards with soc apq8064. CC: Linus Walleij linus.wall...@linaro.org CC: Bjorn Andersson bjorn.anders...@sonymobile.com CC

[PATCH v3 0/4] Add reset support for apq8064

2014-08-29 Thread Pramod Gurav
since v1 to v2: 1. Added #error log as suggested by Kumar Gala 2. Correct interrupts in DT from 32 to 16 based on Bjorn's new patch in bindings 3. Replaced hardcoding in DT with IRQ_TYPE_LEVEL_HIGH for interrupt level type Pramod Gurav (4): ARM: DT: APQ8064: Add pinctrl support ARM: DT

[PATCH v3 1/4] ARM: DT: APQ8064: Add pinctrl support

2014-08-29 Thread Pramod Gurav
: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- arch/arm/boot/dts/qcom-apq8064.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index

[PATCH v3 2/4] ARM: DT: APQ8064: Add node for ps_hold function in pinctrl

2014-08-29 Thread Pramod Gurav
...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- arch/arm/boot/dts/qcom-apq8064.dtsi | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064

[PATCH v3 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-08-29 Thread Pramod Gurav
-sol.com CC: Stephen Boyd sb...@codeaurora.org CC: Andy Gross agr...@codeaurora.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- .../bindings/pinctrl/qcom,apq8064-pinctrl.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree

[PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-29 Thread Pramod Gurav
-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/qcom/pinctrl-apq8064.c |7 ++- drivers/pinctrl/qcom/pinctrl-msm.c | 30 ++ 2 files changed, 36 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-apq8064.c b

Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
Hi Bjorn, On 30-08-2014 12:27 AM, Bjorn Andersson wrote: On Fri 29 Aug 01:11 PDT 2014, Pramod Gurav wrote: This patch releases gpiochip related resources by calling gpiochip_remove when either of gpiochip_add_pin_range and gpiochip_irqchip_add fails. CC: Linus Walleij linus.wall

Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
Hi Bjorn, On 30-08-2014 12:27 AM, Bjorn Andersson wrote: On Fri 29 Aug 01:11 PDT 2014, Pramod Gurav wrote: This patch releases gpiochip related resources by calling gpiochip_remove when either of gpiochip_add_pin_range and gpiochip_irqchip_add fails. CC: Linus Walleij linus.wall

Re: [PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-29 Thread Pramod Gurav
Bjorn, Thanks for review. :) On 30-08-2014 12:12 AM, Bjorn Andersson wrote: On Fri 29 Aug 07:30 PDT 2014, Pramod Gurav wrote: This patch adds support for reset functions to reboot the boards with soc apq8064. CC: Linus Walleij linus.wall...@linaro.org CC: Bjorn Andersson bjorn.anders

[PATCH 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-28 Thread Pramod Gurav
This patch adds support for reset functions to reboot the boards with soc apq8064. CC: Linus Walleij CC: Bjorn Andersson CC: "Ivan T. Ivanov" CC: Stephen Boyd CC: Andy Gross Signed-off-by: Pramod Gurav --- drivers/pinctrl/qcom/pinctrl-apq8064.c |7 +- drivers/pinctrl/qc

[PATCH 2/4] ARM: DT: APQ8064: Add node for ps_hold function in pinctrl

2014-08-28 Thread Pramod Gurav
This patch adds DT support to configure GPIO_78 as function ps_hold on apq8064. CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: devicet...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav --- arch/arm/boot/dts/qcom

[PATCH 0/4] Add reset support for apq8064

2014-08-28 Thread Pramod Gurav
by Kumar Gala 2. Correct interrupts in DT from 32 to 16 based on Bjorn's new patch in bindings 3. Replaced hardcoding in DT with IRQ_TYPE_LEVEL_HIGH for interrupt level type Pramod Gurav (4): ARM: DT: APQ8064: Add pinctrl support ARM: DT: APQ8064: Add node for ps_hold function in pinctrl pinctrl

[PATCH 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-08-28 Thread Pramod Gurav
This adds a function ps_hold (Power Suppy Hold Signal) in pinctrl-ap8064 documentation which was missing. This function is used to reset the targets with apq8064 soc. CC: Linus Walleij CC: Bjorn Andersson CC: "Ivan T. Ivanov" CC: Stephen Boyd CC: Andy Gross Signed-off-by: Pr

[PATCH 1/4] ARM: DT: APQ8064: Add pinctrl support

2014-08-28 Thread Pramod Gurav
This patch adds device tree nodes to support pinctrl for apq8064 SOC CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: devicet...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav --- arch/arm/boot/dts/qcom-apq8064.dtsi

Re: [PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-28 Thread Pramod Gurav
On Thursday 28 August 2014 02:54 AM, Bjorn Andersson wrote: > On Wed, Aug 27, 2014 at 3:57 AM, Pramod Gurav > wrote: >> This patches adds a call to gpiochip_remove_pin_ranges when >> gpiochip_irqchip_add fails to release memory allocated for pin_ranges. >> >> dif

Re: [PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-28 Thread Pramod Gurav
On Thursday 28 August 2014 02:54 AM, Bjorn Andersson wrote: On Wed, Aug 27, 2014 at 3:57 AM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This patches adds a call to gpiochip_remove_pin_ranges when gpiochip_irqchip_add fails to release memory allocated for pin_ranges. diff --git

[PATCH 0/4] Add reset support for apq8064

2014-08-28 Thread Pramod Gurav
by Kumar Gala 2. Correct interrupts in DT from 32 to 16 based on Bjorn's new patch in bindings 3. Replaced hardcoding in DT with IRQ_TYPE_LEVEL_HIGH for interrupt level type Pramod Gurav (4): ARM: DT: APQ8064: Add pinctrl support ARM: DT: APQ8064: Add node for ps_hold function in pinctrl pinctrl

[PATCH 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-08-28 Thread Pramod Gurav
-sol.com CC: Stephen Boyd sb...@codeaurora.org CC: Andy Gross agr...@codeaurora.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- .../bindings/pinctrl/qcom,apq8064-pinctrl.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings

[PATCH 1/4] ARM: DT: APQ8064: Add pinctrl support

2014-08-28 Thread Pramod Gurav
: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- arch/arm/boot/dts/qcom-apq8064.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index

[PATCH 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-28 Thread Pramod Gurav
-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/qcom/pinctrl-apq8064.c |7 +- drivers/pinctrl/qcom/pinctrl-msm.c | 38 2 files changed, 44 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-apq8064.c b

[PATCH 2/4] ARM: DT: APQ8064: Add node for ps_hold function in pinctrl

2014-08-28 Thread Pramod Gurav
...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- arch/arm/boot/dts/qcom-apq8064.dtsi | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064

[PATCH 2/3] cpufreq: cpu0: Removes unnecessary IS_ERR check on clk

2014-08-27 Thread Pramod Gurav
This removes unnecessary IS_ERR check on clk when in failure path as execution wont reach till there with clk being a err. CC: Shawn Guo CC: "Rafael J. Wysocki" CC: Viresh Kumar Signed-off-by: Pramod Gurav --- drivers/cpufreq/cpufreq-cpu0.c |3 +-- 1 files changed, 1 insert

[PATCH 1/3] cpufreq: cpu0: Release clk and regulator in remove function

2014-08-27 Thread Pramod Gurav
This function releases clk and regulator in remove function for clean unloading. CC: Shawn Guo CC: "Rafael J. Wysocki" CC: Viresh Kumar Signed-off-by: Pramod Gurav --- drivers/cpufreq/cpufreq-cpu0.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drive

[PATCH 3/3] cpufreq: cpu0: Convert pr_ to dev_ as struct device is available

2014-08-27 Thread Pramod Gurav
CC: Shawn Guo CC: "Rafael J. Wysocki" CC: Viresh Kumar Signed-off-by: Pramod Gurav --- drivers/cpufreq/cpufreq-cpu0.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/cpufreq/cpufreq-cpu0.c b/drivers/cpufreq/cpufreq-cpu0.c index 0652ce

[PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-27 Thread Pramod Gurav
This patches adds a call to gpiochip_remove_pin_ranges when gpiochip_irqchip_add fails to release memory allocated for pin_ranges. CC: Ivan T. Ivanov CC: Bjorn Andersson CC: Linus Walleij Signed-off-by: Pramod Gurav --- drivers/pinctrl/qcom/pinctrl-msm.c |1 + 1 file changed, 1 insertion

[PATCH 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-08-27 Thread Pramod Gurav
This adds a function ps_hold (Power Suppy Hold Signal) in pinctrl-ap8064 documentation which was missing. This function is used to reset the targets with apq8064 soc. CC: Linus Walleij CC: Bjorn Andersson CC: "Ivan T. Ivanov" CC: Stephen Boyd CC: Andy Gross Signed-off-by: Pr

[PATCH 4/4] ARM: DT: APQ8064: Add node for ps_hold function in pinctrl

2014-08-27 Thread Pramod Gurav
This patch adds DT support to configure GPIO_78 as function ps_hold on apq8064. CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: devicet...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav --- arch/arm/boot/dts/qcom

[PATCH 4/4] ARM: DT: APQ8064: Add node for ps_hold function in pinctrl

2014-08-27 Thread Pramod Gurav
...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- arch/arm/boot/dts/qcom-apq8064.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 681e194

[PATCH 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-08-27 Thread Pramod Gurav
-sol.com CC: Stephen Boyd sb...@codeaurora.org CC: Andy Gross agr...@codeaurora.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- .../bindings/pinctrl/qcom,apq8064-pinctrl.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-27 Thread Pramod Gurav
This patches adds a call to gpiochip_remove_pin_ranges when gpiochip_irqchip_add fails to release memory allocated for pin_ranges. CC: Ivan T. Ivanov iiva...@mm-sol.com CC: Bjorn Andersson bjorn.anders...@sonymobile.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav

[PATCH 2/3] cpufreq: cpu0: Removes unnecessary IS_ERR check on clk

2014-08-27 Thread Pramod Gurav
This removes unnecessary IS_ERR check on clk when in failure path as execution wont reach till there with clk being a err. CC: Shawn Guo shawn@linaro.org CC: Rafael J. Wysocki r...@rjwysocki.net CC: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com

[PATCH 1/3] cpufreq: cpu0: Release clk and regulator in remove function

2014-08-27 Thread Pramod Gurav
This function releases clk and regulator in remove function for clean unloading. CC: Shawn Guo shawn@linaro.org CC: Rafael J. Wysocki r...@rjwysocki.net CC: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/cpufreq/cpufreq-cpu0.c |2

[PATCH 3/3] cpufreq: cpu0: Convert pr_ to dev_ as struct device is available

2014-08-27 Thread Pramod Gurav
CC: Shawn Guo shawn@linaro.org CC: Rafael J. Wysocki r...@rjwysocki.net CC: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/cpufreq/cpufreq-cpu0.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 1/2] ARM: DT: APQ8064: Add pinctrl support This patch adds device tree nodes to support pinctrl for apq8064 SOC

2014-08-26 Thread Pramod Gurav
CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: devicet...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav --- arch/arm/boot/dts/qcom-apq8064.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions

[PATCH 2/2] pinctrl: qcom: Add support for reset for apq8064

2014-08-26 Thread Pramod Gurav
This patch adds support for reset functions to reboot the boards with soc apq8064. CC: Linus Walleij CC: Bjorn Andersson CC: "Ivan T. Ivanov" CC: Stephen Boyd CC: Andy Gross Signed-off-by: Pramod Gurav --- drivers/pinctrl/qcom/pinctrl-apq8064.c |7 +- drivers/pinctrl/qc

[PATCH v2 2/2] msm: msm_fb: Move to using managed resources of kzalloc

2014-08-26 Thread Pramod Gurav
Move to managed verion of kzalloc. Also checks return for failure case which was missing. Signed-off-by: Pramod Gurav CC: Jean-Christophe Plagniol-Villard CC: Tomi Valkeinen CC: Stephen Boyd CC: Jingoo Han CC: Rob Clark --- drivers/video/fbdev/msm/msm_fb.c |9 +++-- 1 file

[PATCH v2 1/2] msm: msm_fb: Add remove function for platform driver for clean unloading

2014-08-26 Thread Pramod Gurav
This adds a remove function to platform driver structure so that resources are released when driver is unloaded. Signed-off-by: Pramod Gurav CC: Jean-Christophe Plagniol-Villard CC: Tomi Valkeinen CC: Stephen Boyd CC: Jingoo Han CC: Rob Clark --- drivers/video/fbdev/msm/msm_fb.c | 16

[PATCH v2 1/2] msm: msm_fb: Add remove function for platform driver for clean unloading

2014-08-26 Thread Pramod Gurav
This adds a remove function to platform driver structure so that resources are released when driver is unloaded. Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com CC: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com CC: Tomi Valkeinen tomi.valkei...@ti.com CC: Stephen Boyd sb

[PATCH v2 2/2] msm: msm_fb: Move to using managed resources of kzalloc

2014-08-26 Thread Pramod Gurav
Move to managed verion of kzalloc. Also checks return for failure case which was missing. Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com CC: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com CC: Tomi Valkeinen tomi.valkei...@ti.com CC: Stephen Boyd sb...@codeaurora.org CC: Jingoo

[PATCH 2/2] pinctrl: qcom: Add support for reset for apq8064

2014-08-26 Thread Pramod Gurav
-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/qcom/pinctrl-apq8064.c |7 +- drivers/pinctrl/qcom/pinctrl-msm.c | 36 2 files changed, 42 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-apq8064.c b

[PATCH 1/2] ARM: DT: APQ8064: Add pinctrl support This patch adds device tree nodes to support pinctrl for apq8064 SOC

2014-08-26 Thread Pramod Gurav
CC: Rob Herring robh...@kernel.org CC: Pawel Moll pawel.m...@arm.com CC: Mark Rutland mark.rutl...@arm.com CC: Ian Campbell ijc+devicet...@hellion.org.uk CC: Kumar Gala ga...@codeaurora.org CC: devicet...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav

<    1   2   3   4   5   6   >