Re: [PATCH 4/8] ARM: mvebu: make use of of_find_matching_node_and_match

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 12:34:46PM -0500, Jason Cooper wrote: > > Ok, great! Josh, do you want us to take the two mvebu patches through > mvebu/arm-soc? Or would you prefer to take them? Please, take them through the mvebu tree. Thanks, Josh -- Qualcomm Innovation Center, Inc. is a member

Re: [Patch v5 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 11:00:48PM +0530, Vinod Koul wrote: > On Tue, Feb 04, 2014 at 02:42:35PM -0600, Andy Gross wrote: > > Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA > > controller > > found in the MSM 8x74 platforms. > > > > Each BAM DMA device is associated with a sp

Re: [Patch v5 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-11 Thread Josh Cartwright
Ugh. On Tue, Feb 11, 2014 at 11:49:10AM -0600, Josh Cartwright wrote: > On Tue, Feb 11, 2014 at 11:00:48PM +0530, Vinod Koul wrote: > > On Tue, Feb 04, 2014 at 02:42:35PM -0600, Andy Gross wrote: > > > Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 06:20:49PM +0100, Laurent Pinchart wrote: > On Tuesday 11 February 2014 10:48:26 Josh Cartwright wrote: > > On Tue, Feb 11, 2014 at 03:55:35PM +0100, Laurent Pinchart wrote: > > > On Tuesday 11 February 2014 08:41:08 Josh Cartwright wrote: > > > &

Re: [PATCH 3/8] ARM: at91: make use of of_find_matching_node_and_match

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 06:46:28PM +0100, Nicolas Ferre wrote: > On 11/02/2014 17:24, Josh Cartwright : > > Instead of the of_find_matching_node()/of_match_node() pair, which requires > > two > > iterations through the match table, make use of > > of_find_matching_

Re: [PATCH v2 1/5] drivers: of: add initialization code for reserved memory

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 09:04:21PM +0100, Tomasz Figa wrote: > > > On 11.02.2014 21:02, Benjamin Herrenschmidt wrote: > >On Tue, 2014-02-11 at 19:01 +, Grant Likely wrote: > > > >>>except that the former IMHO better suits the definition of memory > >>>region, which I see as a single contiguou

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 03:30:33PM -0600, Rob Herring wrote: > On Tue, Feb 11, 2014 at 12:29 PM, Geert Uytterhoeven > wrote: > > On Tue, Feb 11, 2014 at 7:08 PM, Josh Cartwright > > wrote: > >> It sure would be convenient if platform_device had a 'const struc

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 05:14:51PM -0600, Rob Herring wrote: > On Tue, Feb 11, 2014 at 3:55 PM, Josh Cartwright wrote: [..] > > Okay, so maybe caching a pointer in the device isn't the best option, > > what if we considered extending the platform_driver callbacks to incl

[PATCH v6 0/6] Add support for the System Power Management Interface (SPMI)

2014-02-12 Thread Josh Cartwright
.git.jo...@codeaurora.org [6]: http://lkml.kernel.org/r/cover.1376596224.git.jo...@codeaurora.org Josh Cartwright (4): spmi: add generic SPMI controller binding documentation spmi: pmic_arb: add support for interrupt handling spmi: document the PMIC arbiter SPMI bindings regmap: spmi: suppo

[PATCH v6 2/6] spmi: add generic SPMI controller binding documentation

2014-02-12 Thread Josh Cartwright
Signed-off-by: Josh Cartwright --- Documentation/devicetree/bindings/spmi/spmi.txt | 41 + 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/spmi.txt diff --git a/Documentation/devicetree/bindings/spmi/spmi.txt b/Documentation

[PATCH v6 3/6] spmi: Add MSM PMIC Arbiter SPMI controller

2014-02-12 Thread Josh Cartwright
es on the SPMI bus. The status register is read to determine when the command sequence has completed and whether or not it completed successfully. Signed-off-by: Kenneth Heitke Signed-off-by: Josh Cartwright --- drivers/spmi/Kconfig | 17 ++ drivers/spmi/Makefile| 2 + drivers

[PATCH v6 5/6] spmi: document the PMIC arbiter SPMI bindings

2014-02-12 Thread Josh Cartwright
Signed-off-by: Josh Cartwright --- .../bindings/spmi/qcom,spmi-pmic-arb.txt | 61 ++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.txt diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi

[PATCH v6 4/6] spmi: pmic_arb: add support for interrupt handling

2014-02-12 Thread Josh Cartwright
handling which allows for these interrupts to be used. Cc: Thomas Gleixner Signed-off-by: Josh Cartwright --- Thomas- You've looked at this before[1], but I conservatively didn't turn your "Looks sane otherwise" comment into full Ack. The only thing that has changed is n

[PATCH v6 1/6] spmi: Linux driver framework for SPMI

2014-02-12 Thread Josh Cartwright
to 16 logical slaves. The framework supports message APIs, multiple busses (1 controller per bus) and multiple clients/slave devices per controller. Signed-off-by: Kenneth Heitke Signed-off-by: Michael Bohan Signed-off-by: Josh Cartwright --- drivers/Kconfig | 2 + drivers

[PATCH v6 6/6] regmap: spmi: support base and extended register spaces

2014-02-12 Thread Josh Cartwright
Write Long') when possible. Signed-off-by: Josh Cartwright Acked-by: Mark Brown --- drivers/base/regmap/regmap-spmi.c | 228 -- include/linux/regmap.h| 12 +- 2 files changed, 205 insertions(+), 35 deletions(-) diff --git a/drivers/base/reg

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-12 Thread Josh Cartwright
On Wed, Feb 12, 2014 at 10:54:37PM +0100, Geert Uytterhoeven wrote: > On Tue, Feb 11, 2014 at 9:06 PM, Arnd Bergmann wrote: > > On Tuesday 11 February 2014 19:29:19 Geert Uytterhoeven wrote: [..] > > You can't reorder the fields because they are shared with user > > space in form of the module-ini

Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information

2014-02-18 Thread Josh Cartwright
On Tue, Feb 18, 2014 at 03:21:19PM +0200, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > Document device tree binding information as required by > the Qualcomm USB controller. > > Signed-off-by: Ivan T. Ivanov > --- > .../devicetree/bindings/usb/msm-hsusb.txt | 17 ++

Re: [PATCH v2] usb: phy: msm: fix compilation errors when !CONFIG_PM_SLEEP

2014-02-18 Thread Josh Cartwright
On Tue, Feb 18, 2014 at 10:24:16AM -0600, Felipe Balbi wrote: > On Fri, Jan 17, 2014 at 12:26:50PM -0600, Josh Cartwright wrote: > > On Fri, Jan 17, 2014 at 11:58:51AM -0600, Josh Cartwright wrote: > > > Both the PM_RUNTIME and PM_SLEEP callbacks call into the common > > &

[PATCH RESEND v3] usb: phy: msm: fix compilation errors when !CONFIG_PM_SLEEP

2014-02-18 Thread Josh Cartwright
r: implicit declaration of function 'msm_otg_resume' Cc: Ivan T. Ivanov Reported-by: Russell King Signed-off-by: Josh Cartwright --- drivers/usb/phy/phy-msm-usb.c | 57 --- 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/driver

Re: [PATCH v5 1/6] spmi: Linux driver framework for SPMI

2014-02-18 Thread Josh Cartwright
On Sat, Feb 15, 2014 at 05:47:48PM -0600, Felipe Balbi wrote: > On Mon, Feb 03, 2014 at 05:05:33PM -0600, Josh Cartwright wrote: > > +#ifdef CONFIG_PM_RUNTIME > > +static int spmi_runtime_suspend(struct device *dev) > > +{ > > + struct spmi_device *sdev = to_spmi_d

Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information

2014-02-18 Thread Josh Cartwright
On Tue, Feb 18, 2014 at 07:27:00PM +0200, Ivan T. Ivanov wrote: > On Tue, 2014-02-18 at 10:13 -0600, Josh Cartwright wrote: > > On Tue, Feb 18, 2014 at 03:21:19PM +0200, Ivan T. Ivanov wrote: > > > .../devicetree/bindings/usb/msm-hsusb.txt | 17 > > > ++

Re: [PATCH 1/3] drivers: Introduce MEN Chameleon Bus

2014-02-18 Thread Josh Cartwright
Hello Johannes, On Tue, Feb 18, 2014 at 04:34:12PM +0100, Johannes Thumshirn wrote: [..] > +++ b/drivers/mcb/mcb-core.c > @@ -0,0 +1,420 @@ > +/* > + * MEN Chameleon Bus. > + * > + * Copyright (C) 2013 MEN Mikroelektronik GmbH (www.men.de) > + * Author: Johannes Thumshirn > + * > + * This program

Re: [PATCH 2/3] mcb: Add PCI carrier for MEN Chameleon Bus

2014-02-18 Thread Josh Cartwright
On Tue, Feb 18, 2014 at 04:34:13PM +0100, Johannes Thumshirn wrote: > Add support for MCB over PCI devices. Both PCI attached on-board Chameleon > FPGAs > as well as CompactPCI based MCB carrier cards are supported with this driver. > > Signed-off-by: Johannes Thumshirn > --- > drivers/mcb/Kcon

[PATCH RFC 1/4] drivers: of: add initialization code for reserved memory

2014-01-22 Thread Josh Cartwright
: rework to implement new DT binding, provide mechanism for plugging in new reserved-memory node handlers via RESERVEDMEM_OF_DECLARE] Signed-off-by: Josh Cartwright --- drivers/of/Kconfig| 6 ++ drivers/of/Makefile | 1 + drivers/of/of_reserved_mem.c | 188

[PATCH RFC 2/4] drivers: of: implement reserved-memory handling for dma

2014-01-22 Thread Josh Cartwright
Add support for handling 'shared-dma-pool' reserved-memory nodes. Cc: Benjamin Herrenschmidt Cc: Laura Abbott Cc: Marek Szyprowski Signed-off-by: Josh Cartwright --- drivers/of/Kconfig | 7 ++ drivers/of/Makefile | 1 + drivers/of/of_reserved_mem_d

[PATCH RFC 0/4] reserved-memory regions/CMA in devicetree, again

2014-01-22 Thread Josh Cartwright
-m.szyprow...@samsung.com [3]: http://lkml.kernel.org/g/20131030134702.19b57c40...@trevor.secretlab.ca Grant Likely (1): of: document bindings for reserved-memory nodes Josh Cartwright (1): drivers: of: implement reserved-memory handling for dma Marek Szyprowski (2): drivers: of: add initialization code f

[PATCH RFC 3/4] ARM: init: add support for reserved memory defined by device tree

2014-01-22 Thread Josh Cartwright
From: Marek Szyprowski Enable reserved memory initialization from device tree. Cc: Benjamin Herrenschmidt Cc: Laura Abbott Signed-off-by: Marek Szyprowski --- arch/arm/mm/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 403ba90..5efe

[PATCH RFC 4/4] of: document bindings for reserved-memory nodes

2014-01-22 Thread Josh Cartwright
...@trevor.secretlab.ca adapted to support #memory-region-cells] Cc: Marek Szyprowski Cc: Benjamin Herrenschmidt Cc: Laura Abbott Signed-off-by: Josh Cartwright --- Hey Grant- Seeing as you are the primary author of this binding, with only a few minor changes on my part, I've marked you as the commit a

Re: [PATCH 1/9] crypto: qce: Add core driver implementation

2014-04-03 Thread Josh Cartwright
Hey Stanimir- Just a few comments/questions from a quick scan of your patchset: On Thu, Apr 03, 2014 at 07:17:58PM +0300, Stanimir Varbanov wrote: [..] > +++ b/drivers/crypto/qce/core.c [..] > + > +static struct qce_algo_ops qce_ops[] = { > + { > + .type = CRYPTO_ALG_TYPE_ABLKCIPH

Re: [PATCH 3/9] crypto: qce: Add dma and sg helpers

2014-04-03 Thread Josh Cartwright
Nitworthy comments :). On Thu, Apr 03, 2014 at 07:18:00PM +0300, Stanimir Varbanov wrote: [..] > +++ b/drivers/crypto/qce/dma.c [..] > +int qce_dma_request(struct device *dev, struct qce_dma_data *dma) > +{ > + unsigned int memsize; > + void *va; > + int ret; > + > + dma->txchan =

Re: [PATCH V7 1/1] drivers/gpio: Altera soft IP GPIO driver and devicetree binding

2014-04-07 Thread Josh Cartwright
On Mon, Apr 07, 2014 at 04:00:43PM +0800, Tien Hock Loh wrote: > On Wed, Mar 19, 2014 at 6:09 PM, Tien Hock Loh wrote: > > On Fri, Mar 7, 2014 at 11:14 PM, Josh Cartwright > > wrote: > >> On Mon, Mar 03, 2014 at 06:27:43PM +0800, th...@altera.com wrote: &

[PATCH v4 1/6] spmi: Linux driver framework for SPMI

2014-01-14 Thread Josh Cartwright
to 16 logical slaves. The framework supports message APIs, multiple busses (1 controller per bus) and multiple clients/slave devices per controller. Signed-off-by: Kenneth Heitke Signed-off-by: Michael Bohan Signed-off-by: Josh Cartwright --- drivers/Kconfig | 2 + drivers

[PATCH v4 6/6] regmap: spmi: support base and extended register spaces

2014-01-14 Thread Josh Cartwright
Write Long') when possible. Signed-off-by: Josh Cartwright --- drivers/base/regmap/regmap-spmi.c | 228 -- include/linux/regmap.h| 12 +- 2 files changed, 205 insertions(+), 35 deletions(-) diff --git a/drivers/base/regmap/regmap-spmi.c b

[PATCH v4 2/6] spmi: add generic SPMI controller binding documentation

2014-01-14 Thread Josh Cartwright
Signed-off-by: Josh Cartwright --- Documentation/devicetree/bindings/spmi/spmi.txt | 41 + 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/spmi.txt diff --git a/Documentation/devicetree/bindings/spmi/spmi.txt b/Documentation

[PATCH v4 0/6] Add support for the System Power Management Interface (SPMI)

2014-01-14 Thread Josh Cartwright
git.jo...@codeaurora.org [3]: http://lkml.kernel.org/r/1389206270-3728-1-git-send-email-sb...@codeaurora.org [4]: http://lkml.kernel.org/r/cover.1377202730.git.jo...@codeaurora.org [5]: http://lkml.kernel.org/r/cover.1376596224.git.jo...@codeaurora.org Josh Cartwright (4): spmi: add generic SPMI control

[PATCH v4 4/6] spmi: pmic_arb: add support for interrupt handling

2014-01-14 Thread Josh Cartwright
handling which allows for these interrupts to be used. Signed-off-by: Josh Cartwright --- drivers/spmi/spmi-pmic-arb.c | 393 ++- 1 file changed, 391 insertions(+), 2 deletions(-) diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c

[PATCH v4 5/6] spmi: document the PMIC arbiter SPMI bindings

2014-01-14 Thread Josh Cartwright
Signed-off-by: Josh Cartwright --- .../bindings/spmi/qcom,spmi-pmic-arb.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.txt diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi

[PATCH v4 3/6] spmi: Add MSM PMIC Arbiter SPMI controller

2014-01-14 Thread Josh Cartwright
es on the SPMI bus. The status register is read to determine when the command sequence has completed and whether or not it completed successfully. Signed-off-by: Kenneth Heitke Signed-off-by: Josh Cartwright --- drivers/spmi/Kconfig | 15 ++ drivers/spmi/Makefile| 2 + drivers

Re: [PATCH v4 5/6] spmi: document the PMIC arbiter SPMI bindings

2014-01-15 Thread Josh Cartwright
On Tue, Jan 14, 2014 at 04:13:45PM -0800, Courtney Cavin wrote: > On Tue, Jan 14, 2014 at 07:41:39PM +0100, Josh Cartwright wrote: > > Signed-off-by: Josh Cartwright > > --- > > .../bindings/spmi/qcom,spmi-pmic-arb.txt | 46 > > ++ > &g

Re: [PATCH v4 4/6] spmi: pmic_arb: add support for interrupt handling

2014-01-15 Thread Josh Cartwright
On Tue, Jan 14, 2014 at 03:44:03PM -0800, Courtney Cavin wrote: > On Tue, Jan 14, 2014 at 07:41:38PM +0100, Josh Cartwright wrote: > > The Qualcomm PMIC Arbiter, in addition to being a basic SPMI controller, > > also implements interrupt handling for slave devices. Note, this is

[PATCH v3 09/10] mfd: pm8x41: document device tree bindings

2013-10-28 Thread Josh Cartwright
Document the bindings used to describe the Qualcomm 8x41 PMICs. Signed-off-by: Josh Cartwright --- Documentation/devicetree/bindings/mfd/pm8x41.txt | 33 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/pm8x41.txt diff --git a

[PATCH v3 06/10] spmi: document the PMIC arbiter SPMI bindings

2013-10-28 Thread Josh Cartwright
Signed-off-by: Josh Cartwright --- .../bindings/spmi/qcom,spmi-pmic-arb.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.txt diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi

[PATCH v3 08/10] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2013-10-28 Thread Josh Cartwright
The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon 800 series SoC family. This driver exists largely as a glue mfd component, it exists to be an owner of an SPMI regmap for children devices described in device tree. Signed-off-by: Josh Cartwright --- drivers/mfd/Kconfig

[PATCH v3 07/10] regmap: add SPMI support

2013-10-28 Thread Josh Cartwright
Add basic support for the System Power Management Interface (SPMI) bus. This is a simple implementation which only implements register accesses via the Extended Register Read/Write Long commands. Signed-off-by: Josh Cartwright --- drivers/base/regmap/Kconfig | 5 ++- drivers/base/regmap

[PATCH v3 01/10] of: Add empty for_each_available_child_of_node() macro definition

2013-10-28 Thread Josh Cartwright
From: Sylwester Nawrocki Add this empty macro definition so users can be compiled without excluding this macro call with preprocessor directives when CONFIG_OF is disabled. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- include/linux/of.h | 3 +++ 1 file changed, 3 inserti

[PATCH v3 04/10] spmi: Add MSM PMIC Arbiter SPMI controller

2013-10-28 Thread Josh Cartwright
es on the SPMI bus. The status register is read to determine when the command sequence has completed and whether or not it completed successfully. Signed-off-by: Kenneth Heitke Signed-off-by: Josh Cartwright --- drivers/spmi/Kconfig | 15 ++ drivers/spmi/Makefile| 2 + drivers

[PATCH v3 10/10] rtc: pm8xxx: add support for pm8941

2013-10-28 Thread Josh Cartwright
ing a chip-specific initialization function. Signed-off-by: Josh Cartwright --- drivers/rtc/Kconfig | 1 - drivers/rtc/rtc-pm8xxx.c | 229 +-- 2 files changed, 143 insertions(+), 87 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kc

[PATCH v3 02/10] spmi: Linux driver framework for SPMI

2013-10-28 Thread Josh Cartwright
to 16 logical slaves. The framework supports message APIs, multiple busses (1 controller per bus) and multiple clients/slave devices per controller. Signed-off-by: Kenneth Heitke Signed-off-by: Michael Bohan Signed-off-by: Josh Cartwright --- drivers/Kconfig | 2 + drivers

[PATCH v3 00/10] Add support for the System Power Management Interface (SPMI)

2013-10-28 Thread Josh Cartwright
ations/system-power-management-interface [2]: http://marc.info/?l=linux-arm-kernel&m=137721241427533&w=2 [3]: http://thread.gmane.org/gmane.linux.ports.arm.msm/4886 Josh Cartwright (7): spmi: add generic SPMI controller binding documentation spmi: pmic_arb: add support for interrup

[PATCH v3 05/10] spmi: pmic_arb: add support for interrupt handling

2013-10-28 Thread Josh Cartwright
handling which allows for these interrupts to be used. Signed-off-by: Josh Cartwright --- drivers/spmi/spmi-pmic-arb.c | 359 ++- 1 file changed, 357 insertions(+), 2 deletions(-) diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c

[PATCH v3 03/10] spmi: add generic SPMI controller binding documentation

2013-10-28 Thread Josh Cartwright
Signed-off-by: Josh Cartwright --- Documentation/devicetree/bindings/spmi/spmi.txt | 41 + 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/spmi.txt diff --git a/Documentation/devicetree/bindings/spmi/spmi.txt b/Documentation

Re: [PATCH v3 09/10] mfd: pm8x41: document device tree bindings

2013-10-29 Thread Josh Cartwright
On Tue, Oct 29, 2013 at 04:18:35PM +0200, Ivan T. Ivanov wrote: > On Mon, 2013-10-28 at 13:12 -0500, Josh Cartwright wrote: > > Document the bindings used to describe the Qualcomm 8x41 PMICs. > > > > Signed-off-by: Josh Cartwright > > --- > > Documentation/d

Re: [PATCH v3 06/10] spmi: document the PMIC arbiter SPMI bindings

2013-10-29 Thread Josh Cartwright
On Tue, Oct 29, 2013 at 04:08:29PM +0200, Ivan T. Ivanov wrote: > On Mon, 2013-10-28 at 13:12 -0500, Josh Cartwright wrote: > > Signed-off-by: Josh Cartwright > > --- > > .../bindings/spmi/qcom,spmi-pmic-arb.txt | 42 > > ++ > &g

Re: [PATCH v3 02/10] spmi: Linux driver framework for SPMI

2013-10-29 Thread Josh Cartwright
Hey Lars- Thanks for the feedback. CC'ing Ivan, since he had the same feedback regarding the PM callbacks. On Tue, Oct 29, 2013 at 04:21:28PM +0100, Lars-Peter Clausen wrote: > Couple of high-level comments on the in-kernel API. > > On 10/28/2013 07:12 PM, Josh Cartwright wrot

Re: [PATCH v3 08/10] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2013-10-29 Thread Josh Cartwright
On Tue, Oct 29, 2013 at 08:56:05AM -0700, Lee Jones wrote: > On Mon, 28 Oct 2013, Josh Cartwright wrote: > > > The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon > > 800 series SoC family. This driver exists largely as a glue mfd component, > > it

Re: [PATCH v3 02/10] spmi: Linux driver framework for SPMI

2013-10-29 Thread Josh Cartwright
On Tue, Oct 29, 2013 at 05:02:03PM +0200, Ivan T. Ivanov wrote: > On Mon, 2013-10-28 at 13:12 -0500, Josh Cartwright wrote: > > From: Kenneth Heitke > > > > System Power Management Interface (SPMI) is a specification > > developed by the MIPI (Mobile Industry

Re: [PATCH v3 05/10] spmi: pmic_arb: add support for interrupt handling

2013-10-30 Thread Josh Cartwright
Stephen- Thanks for all the comments. On Wed, Oct 30, 2013 at 11:17:55AM -0700, Stephen Boyd wrote: > On 10/28, Josh Cartwright wrote: > > @@ -108,12 +111,17 @@ struct spmi_pmic_arb_dev { > > void __iomem*base; > > void __iomem*intr;

Re: [PATCH v3 04/10] spmi: Add MSM PMIC Arbiter SPMI controller

2013-10-30 Thread Josh Cartwright
On Wed, Oct 30, 2013 at 11:05:36AM -0700, Stephen Boyd wrote: > On 10/28, Josh Cartwright wrote: > > + > > +/** > > + * pa_write_data: write 1..4 bytes from buf to pmic-arb's register > > + * @bc byte-count -1. range: 0..3 > > + * @reg register's addres

Re: [PATCH v3 02/10] spmi: Linux driver framework for SPMI

2013-10-30 Thread Josh Cartwright
On Tue, Oct 29, 2013 at 09:52:15AM -0700, Stephen Boyd wrote: > On 10/28/13 11:12, Josh Cartwright wrote: > > diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig > > new file mode 100644 > > index 000..a03835f > > --- /dev/null > > +++ b/driv

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-23 Thread Josh Cartwright
On Tue, Apr 22, 2014 at 05:31:49PM -0700, Courtney Cavin wrote: > From: Josh Cartwright > > The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon > 800 series SoC family. This driver exists largely as a glue mfd component, > it exists to be an owner of an

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-24 Thread Josh Cartwright
On Wed, Apr 23, 2014 at 04:36:22PM -0700, Courtney Cavin wrote: > On Wed, Apr 23, 2014 at 11:46:26PM +0200, Josh Cartwright wrote: > > On Tue, Apr 22, 2014 at 05:31:49PM -0700, Courtney Cavin wrote: [..] > > One thing that I had meant to do is rename this thing. Nothing about >

[PATCH 2/3] watchdog: qcom: document device tree bindings

2014-09-18 Thread Josh Cartwright
The Qualcomm Krait Processor Sub-system (KPSS) contains one or more instances of the WDT. Provide documentation on how to describe these in the device tree. Signed-off-by: Josh Cartwright --- .../devicetree/bindings/watchdog/qcom-wdt.txt | 21 + 1 file changed, 21

[PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Josh Cartwright
Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. Signed-off-by: Josh Cartwright --- drivers/watchdog/Kconfig| 10 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/qcom-wdt.c | 145

[PATCH 0/3] watchdog: add support for QCOM WDT

2014-09-18 Thread Josh Cartwright
making it possible for the WDT to act as a restart mechanism if more favorable mechanisms don't work. This is important for some boards which don't support PS_HOLD, like the IPQ8064-based AP148 board. Josh Cartwright (3): watchdog: qcom: add support for KPSS WDT watchdog: qcom:

[PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Josh Cartwright
ff-by: Josh Cartwright --- drivers/watchdog/qcom-wdt.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c index e9409f5..710ab43 100644 --- a/drivers/watchdog/qcom-wdt.c +++ b/drivers/watchdog/qcom-wdt.c @@

[PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Josh Cartwright
ntire system". Cc: Pramod Gurav Cc: Guenter Roeck Signed-off-by: Josh Cartwright --- drivers/pinctrl/qcom/pinctrl-msm.c | 38 ++ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pin

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 03:47:20PM -0700, Kumar Gala wrote: > On Sep 18, 2014, at 3:32 PM, Josh Cartwright wrote: > > > By converting to the restart_notifier mechanism for restart, we allow > > for other mechanisms, like the watchdog, to be used for restart in the > >

Re: [PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 07:41:17PM -0700, Guenter Roeck wrote: > On 09/18/2014 03:26 PM, Josh Cartwright wrote: > >Add a driver for the watchdog timer block found in the Krait Processor > >Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. > > > >Signed-off-by: Jo

Re: [PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 07:47:54PM -0700, Guenter Roeck wrote: > On 09/18/2014 03:27 PM, Josh Cartwright wrote: > >The WDT's BITE_TIME warm-reset behavior can be leveraged as a last > >resort mechanism for triggering chip reset. Usually, other restart > >methods (such a

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-19 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 07:54:18PM -0700, Guenter Roeck wrote: > On 09/18/2014 03:32 PM, Josh Cartwright wrote: > >By converting to the restart_notifier mechanism for restart, we allow > >for other mechanisms, like the watchdog, to be used for restart in the > >case where

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-19 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 08:34:41PM -0700, Guenter Roeck wrote: > On 09/18/2014 07:54 PM, Guenter Roeck wrote: > >On 09/18/2014 03:32 PM, Josh Cartwright wrote: > >>By converting to the restart_notifier mechanism for restart, we allow > >>for other mechanisms, like t

Re: [PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-19 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 08:41:43PM -0700, Guenter Roeck wrote: > On 09/18/2014 08:24 PM, Josh Cartwright wrote: > >On Thu, Sep 18, 2014 at 07:41:17PM -0700, Guenter Roeck wrote: > >>On 09/18/2014 03:26 PM, Josh Cartwright wrote: > >>>Add a driver for the watchdog

Re: [PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-19 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 09:03:18PM -0700, Guenter Roeck wrote: > On 09/18/2014 08:32 PM, Josh Cartwright wrote: > >On Thu, Sep 18, 2014 at 07:47:54PM -0700, Guenter Roeck wrote: > >>On 09/18/2014 03:27 PM, Josh Cartwright wrote: [..] > > > >Nothing magic, it's

Re: [PATCH 2/4] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-01-16 Thread Josh Cartwright
On Thu, Jan 16, 2014 at 06:11:23PM +0100, Maxime Ripard wrote: > The module clocks in the A31 are still compatible with the A10 one. Add the > SPI > module clocks and the PLL6 in the device tree to allow their use by the SPI > controllers. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/

[PATCH] usb: phy: msm: fix compilation errors when !CONFIG_PM_SLEEP

2014-01-17 Thread Josh Cartwright
r: implicit declaration of function 'msm_otg_resume' Cc: Ivan T. Ivanov Reported-by: Russell King Signed-off-by: Josh Cartwright --- drivers/usb/phy/phy-msm-usb.c | 57 --- 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/driver

[PATCH v2] usb: phy: msm: fix compilation errors when !CONFIG_PM_SLEEP

2014-01-17 Thread Josh Cartwright
r: implicit declaration of function 'msm_otg_resume' Cc: Ivan T. Ivanov Reported-by: Russell King Signed-off-by: Josh Cartwright --- v1->v2: Change conditional to simply CONFIG_PM (thanks ccov and khilman!) drivers/usb/phy/phy-msm-usb.c | 57 -

Re: [PATCH v2] usb: phy: msm: fix compilation errors when !CONFIG_PM_SLEEP

2014-01-17 Thread Josh Cartwright
On Fri, Jan 17, 2014 at 11:58:51AM -0600, Josh Cartwright wrote: > Both the PM_RUNTIME and PM_SLEEP callbacks call into the common > msm_otg_{suspend,resume} routines, however these routines are only being > built when CONFIG_PM_SLEEP. In addition, msm_otg_{suspend,resume} also >

Re: [PATCH v3] power: reset: use restart_notifier mechanism for msm-poweroff

2014-09-23 Thread Josh Cartwright
On Tue, Sep 23, 2014 at 12:48:42PM -0500, Kumar Gala wrote: > > On Sep 23, 2014, at 1:28 AM, Pramod Gurav > wrote: > > > +linux-arm-msm > > On Tuesday 23 September 2014 11:38 AM, Pramod Gurav wrote: > >> This change replaces use of arm_pm_restart with recently introduced > >> reset mechanism in

[PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-23 Thread Josh Cartwright
be a more reasonable 1 second instead of 10 seconds. Choose priority 128, as according to documentation, this mechanism "is sufficient to restart the entire system". Cc: Pramod Gurav Cc: Guenter Roeck Tested-by: Pramod Gurav Signed-off-by: Josh Cartwright --- Changes since v1: -

[PATCH v2 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-23 Thread Josh Cartwright
Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. Signed-off-by: Josh Cartwright --- drivers/watchdog/Kconfig| 13 drivers/watchdog/Makefile | 1 + drivers/watchdog/qcom-wdt.c | 176

[PATCH v2 2/3] watchdog: qcom: document device tree bindings

2014-09-23 Thread Josh Cartwright
The Qualcomm Krait Processor Sub-system (KPSS) contains one or more instances of the WDT. Provide documentation on how to describe these in the device tree. Signed-off-by: Josh Cartwright --- .../devicetree/bindings/watchdog/qcom-wdt.txt | 22 ++ 1 file changed, 22

[PATCH v2 3/3] watchdog: qcom: register a restart notifier

2014-09-23 Thread Josh Cartwright
ff-by: Josh Cartwright --- drivers/watchdog/qcom-wdt.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c index d5e46e2..eba92ef 100644 --- a/drivers/watchdog/qcom-wdt.c +++ b/drivers/watchdog/qcom-wdt.c @@

[PATCH v2 0/3] watchdog: add support for QCOM WDT

2014-09-23 Thread Josh Cartwright
27; property - Setup default timeout of 30 seconds when one is not specified - Add remove() function to allow for module unloading - Don't acquire/release watchdog lock on restart - Don't bail completely if restart_handler registration fails Josh Cartwright (3): watchdog: qcom: a

Re: [PATCH v2 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-24 Thread Josh Cartwright
On Wed, Sep 24, 2014 at 08:58:54AM -0700, Guenter Roeck wrote: > On Tue, Sep 23, 2014 at 06:04:36PM -0500, Josh Cartwright wrote: > > Add a driver for the watchdog timer block found in the Krait Processor > > Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. > > &g

[PATCH v3 0/3] watchdog: add support for QCOM WDT

2014-09-25 Thread Josh Cartwright
meout of 30 seconds when one is not specified - Add remove() function to allow for module unloading - Don't acquire/release watchdog lock on restart - Don't bail completely if restart_handler registration fails Josh Cartwright (3): watchdog: qcom: add support for KPSS WDT watchdog:

[PATCH v3 3/3] watchdog: qcom: register a restart notifier

2014-09-25 Thread Josh Cartwright
ff-by: Josh Cartwright --- drivers/watchdog/qcom-wdt.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c index 0f56ca3..8ce339f 100644 --- a/drivers/watchdog/qcom-wdt.c +++ b/drivers/watchdog/qcom-

[PATCH v3 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-25 Thread Josh Cartwright
Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. Signed-off-by: Josh Cartwright --- drivers/watchdog/Kconfig| 13 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/qcom-wdt.c | 189

[PATCH v3 2/3] watchdog: qcom: document device tree bindings

2014-09-25 Thread Josh Cartwright
The Qualcomm Krait Processor Sub-system (KPSS) contains one or more instances of the WDT. Provide documentation on how to describe these in the device tree. Signed-off-by: Josh Cartwright --- .../devicetree/bindings/watchdog/qcom-wdt.txt | 22 ++ 1 file changed, 22

Re: [PATCH v3 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-25 Thread Josh Cartwright
On Thu, Sep 25, 2014 at 11:38:57AM -0700, Guenter Roeck wrote: > On Thu, Sep 25, 2014 at 12:48:51PM -0500, Josh Cartwright wrote: > > Add a driver for the watchdog timer block found in the Krait Processor > > Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. > > &g

Re: [PATCH v3 2/3] watchdog: qcom: document device tree bindings

2014-09-25 Thread Josh Cartwright
On Thu, Sep 25, 2014 at 11:43:14AM -0700, Guenter Roeck wrote: > On Thu, Sep 25, 2014 at 12:48:52PM -0500, Josh Cartwright wrote: [..] > > +- timeout-sec : shall contain the default watchdog timeout in seconds, > > +if unset, the default timeout is 30 secon

Re: [PATCH v3 3/3] watchdog: qcom: register a restart notifier

2014-09-25 Thread Josh Cartwright
On Thu, Sep 25, 2014 at 11:41:49AM -0700, Guenter Roeck wrote: > On Thu, Sep 25, 2014 at 12:48:53PM -0500, Josh Cartwright wrote: > > The WDT's BITE_TIME warm-reset behavior can be leveraged as a last > > resort mechanism for triggering chip reset. Usually, other restart

[PATCH v4 3/3] watchdog: qcom: register a restart notifier

2014-09-25 Thread Josh Cartwright
ff-by: Josh Cartwright --- drivers/watchdog/qcom-wdt.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c index 68db322..aa85618 100644 --- a/drivers/watchdog/qcom-wdt.c +++ b/drivers/watchdog/qcom-

[PATCH v4 0/3] watchdog: add support for QCOM WDT

2014-09-25 Thread Josh Cartwright
hanges since v1: - Make use of clock API instead of using a 'clock-frequency' property - Setup default timeout of 30 seconds when one is not specified - Add remove() function to allow for module unloading - Don't acquire/release watchdog lock on restart - Don't b

[PATCH v4 2/3] watchdog: qcom: document device tree bindings

2014-09-25 Thread Josh Cartwright
The Qualcomm Krait Processor Sub-system (KPSS) contains one or more instances of the WDT. Provide documentation on how to describe these in the device tree. Signed-off-by: Josh Cartwright --- .../devicetree/bindings/watchdog/qcom-wdt.txt | 24 ++ 1 file changed, 24

[PATCH v4 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-25 Thread Josh Cartwright
Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. Signed-off-by: Josh Cartwright --- drivers/watchdog/Kconfig| 13 drivers/watchdog/Makefile | 1 + drivers/watchdog/qcom-wdt.c | 186

Re: [PATCH v8 3/3] phy: Add Qualcomm DWC3 HS/SS PHY driver

2014-09-12 Thread Josh Cartwright
Hey Andy- Mostly cosmetic things below: On Fri, Sep 12, 2014 at 12:29:46PM -0500, Andy Gross wrote: > This patch adds a new driver for the Qualcomm USB 3.0 PHY that exists on some > Qualcomm platforms. This driver uses the generic PHY framework and will > interact with the DWC3 controller. > >

Re: [PATCH V7 1/1] drivers/gpio: Altera soft IP GPIO driver and devicetree binding

2014-03-07 Thread Josh Cartwright
On Mon, Mar 03, 2014 at 06:27:43PM +0800, th...@altera.com wrote: > From: Tien Hock Loh > > Add driver support for Altera GPIO soft IP, including interrupts and I/O. > Tested on Altera CV SoC board using dipsw and LED using LED framework. > > Signed-off-by: Tien Hock Loh > --- > .../devicetree

Re: [PATCH 6/6] documentation: bindings: document PMIC8921/8058 RTC

2014-03-07 Thread Josh Cartwright
On Wed, Mar 05, 2014 at 05:31:27PM -0800, Stephen Boyd wrote: > On 03/05/14 16:00, Josh Cartwright wrote: > > On Wed, Mar 05, 2014 at 12:58:55PM -0800, Stephen Boyd wrote: > >> On 03/05/14 11:29, Josh Cartwright wrote: > >>> diff --git a/Documentation/devicetree/bi

Re: [PATCH 6/6] documentation: bindings: document PMIC8921/8058 RTC

2014-03-10 Thread Josh Cartwright
Hey Rob- Thanks for the reply. On Mon, Mar 10, 2014 at 10:35:25AM -0500, Rob Herring wrote: > On Wed, Mar 5, 2014 at 6:00 PM, Josh Cartwright wrote: > > On Wed, Mar 05, 2014 at 12:58:55PM -0800, Stephen Boyd wrote: > >> On 03/05/14 11:29, Josh Cartwright wrote: > >>

[PATCH v2 0/6] rtc: make the pm8xxx RTC driver usable

2014-03-10 Thread Josh Cartwright
http://lkml.kernel.org/g/1393441166-32692-1-git-send-email-sb...@codeaurora.org Josh Cartwright (6): rtc: pm8xxx: fixup checkpatch/style issues rtc: pm8xxx: use regmap API for register accesses rtc: pm8xxx: use devm_request_any_context_irq rtc: pm8xxx: add support for devicetree rtc: pm8xxx:

<    1   2   3   4   5   >