Re: [PATCH] net: add Qualcomm IPC router

2015-12-16 Thread Courtney Cavin
On Tue, Dec 15, 2015 at 10:01:14PM +0100, David Miller wrote: > From: Bjorn Andersson > Date: Fri, 11 Dec 2015 12:41:59 -0800 > > > +static unsigned int qrtr_local_nid = 1; > > +module_param_named(node_id, qrtr_local_nid, uint, S_IRUGO); > > +MODULE_PARM_DESC(idVendor, "Local Node Identifier"); >

Re: [PATCH] net: add Qualcomm IPC router

2015-12-16 Thread Courtney Cavin
On Fri, Dec 11, 2015 at 09:41:59PM +0100, Bjorn Andersson wrote: > From: Courtney Cavin > > Add an implementation of Qualcomm's IPC router protocol, used to > communicate with service providing remote processors. > > Signed-off-by: Courtney Cavin > --- [...] > +s

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-11 Thread Courtney Cavin
On Fri, Nov 07, 2014 at 04:40:52PM +0100, Ivan T. Ivanov wrote: > On Fri, 2014-11-07 at 17:33 +0200, Ivan T. Ivanov wrote: > > On Thu, 2014-11-06 at 08:55 -0800, Bjorn Andersson wrote: > > > On Wed, Nov 5, 2014 at 11:54 PM, Ivan T. Ivanov > > > wrote: > > > > On Wed, 2014-11-05 at 17:36 -0800, Bj

Re: [PATCH v2] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2014-08-29 Thread Courtney Cavin
On Sat, Aug 30, 2014 at 02:14:07AM +0200, Stephen Boyd wrote: > On 08/29/14 16:41, Courtney Cavin wrote: > > On Sat, Aug 30, 2014 at 01:14:23AM +0200, Bjorn Andersson wrote: > >> From: Kumar Gala > >> > >> Add driver for Qualcomm MSM Hardware Mutex block tha

Re: [PATCH v2] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2014-08-29 Thread Courtney Cavin
On Sat, Aug 30, 2014 at 01:14:23AM +0200, Bjorn Andersson wrote: > From: Kumar Gala > > Add driver for Qualcomm MSM Hardware Mutex block that exists on > newer Qualcomm SoCs. > > Cc: Jeffrey Hugo > Cc: Eric Holmberg > Cc: Courtney Cavin > Signed-off-by: Kumar Gala

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

2014-05-09 Thread Courtney Cavin
On Fri, May 09, 2014 at 02:45:30PM +0200, Ivan T. Ivanov wrote: [...] > > > > > > > > I'm thinking we should probably have a generic compatible entry as well, > > > > "qcom,pmic-qpnp" or similar. We should still specify in the binding > > > > that PMIC slaves specify a version-specific string as

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

2014-04-25 Thread Courtney Cavin
On Sat, Apr 26, 2014 at 02:28:06AM +0200, Frank Rowand wrote: > On 4/23/2014 6:19 AM, Ivan T. Ivanov wrote: [...] > >> +static int pm8x41_probe(struct spmi_device *sdev) > >> +{ > >> + struct regmap *regmap; > >> + > >> + regmap = devm_regmap_init_spmi_ext(sdev, &pm8x41_regmap_config); > >> + if

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

2014-04-23 Thread Courtney Cavin
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: > > From: Josh Cartwright > > > > The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon > > 800 series SoC family. Th

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

2014-04-23 Thread Courtney Cavin
On Wed, Apr 23, 2014 at 10:34:32PM +0200, Ivan T. Ivanov wrote: > > On Wed, 2014-04-23 at 11:16 -0700, Courtney Cavin wrote: > > On Wed, Apr 23, 2014 at 03:19:28PM +0200, Ivan T. Ivanov wrote: > > > > > > Hi, > > > > > > On Tue, 2014-04-22 at

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

2014-04-23 Thread Courtney Cavin
On Wed, Apr 23, 2014 at 03:19:28PM +0200, Ivan T. Ivanov wrote: > > Hi, > > On Tue, 2014-04-22 at 17:31 -0700, Courtney Cavin wrote: > > From: Josh Cartwright > > > > The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon > > 800 series SoC

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

2014-04-23 Thread Courtney Cavin
an owner of an SPMI regmap for children devices > > described in device tree. > > > > Signed-off-by: Josh Cartwright > > Signed-off-by: Courtney Cavin > > --- > > drivers/mfd/Kconfig | 13 +

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

2014-04-22 Thread Courtney Cavin
Signed-off-by: Courtney Cavin --- drivers/mfd/Kconfig | 13 +++ drivers/mfd/Makefile | 1 + drivers/mfd/pm8x41.c | 63 3 files changed, 77 insertions(+) create mode 100644 drivers/mfd/pm8x41.c diff --git a/drivers/mfd/Kconfig b/drivers

[PATCH 2/2] mfd: pm8x41: document device tree bindings

2014-04-22 Thread Courtney Cavin
From: Josh Cartwright Document the bindings used to describe the Qualcomm 8x41 PMICs. Signed-off-by: Josh Cartwright Signed-off-by: Courtney Cavin --- Documentation/devicetree/bindings/mfd/pm8x41.txt | 34 1 file changed, 34 insertions(+) create mode 100644

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

2014-04-08 Thread Courtney Cavin
On Tue, Apr 08, 2014 at 06:26:44PM +0200, Stanimir Varbanov wrote: > On 04/04/2014 02:38 AM, Courtney Cavin wrote: > > On Thu, Apr 03, 2014 at 06:17:58PM +0200, Stanimir Varbanov wrote: > >> This adds core driver files. The core part is implementing a > >> platform drive

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

2014-04-07 Thread Courtney Cavin
On Fri, Apr 04, 2014 at 03:07:13PM +0200, Stanimir Varbanov wrote: > >> diff --git a/drivers/crypto/qce/dma.h b/drivers/crypto/qce/dma.h > >> new file mode 100644 > >> index ..932b02fd8f25 > >> --- /dev/null > >> +++ b/drivers/crypto/qce/dma.h > >> @@ -0,0 +1,57 @@ > >> +/* > >> + * Cop

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

2014-04-03 Thread Courtney Cavin
On Thu, Apr 03, 2014 at 06:17:58PM +0200, Stanimir Varbanov wrote: > This adds core driver files. The core part is implementing a > platform driver probe and remove callbaks, the probe enables > clocks, checks crypto version, initialize and request dma > channels, create done tasklet and work queue

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

2014-04-03 Thread Courtney Cavin
On Thu, Apr 03, 2014 at 06:18:00PM +0200, Stanimir Varbanov wrote: > This adds dmaengine and sg-list helper functions used by > other parts of the crypto driver. > > Signed-off-by: Stanimir Varbanov > --- > drivers/crypto/qce/dma.c | 201 > +++ > driv

Re: [PATCH] thermal: add generic IIO channel thermal sensor driver

2014-03-14 Thread Courtney Cavin
On Thu, Feb 27, 2014 at 07:53:34AM +0100, Zhang Rui wrote: > On Wed, 2014-02-05 at 17:43 -0800, Courtney Cavin wrote: > > This driver is a generic method for using IIO ADC channels as thermal > > sensors. > > > > Signed-off-by: Courtney Cavin > > Eduardo, >

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

2014-02-19 Thread Courtney Cavin
On Wed, Feb 19, 2014 at 04:43:22PM +0100, Ivan T. Ivanov wrote: > > Hi, > > On Tue, 2014-02-18 at 13:26 -0800, Courtney Cavin wrote: > > On Tue, Feb 18, 2014 at 02:21:19PM +0100, Ivan T. Ivanov wrote: > > > From: "Ivan T. Ivanov" > > > >

Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support

2014-02-18 Thread Courtney Cavin
On Tue, Feb 18, 2014 at 07:31:55PM +0100, Sergei Shtylyov wrote: > On 02/18/2014 08:14 PM, Ivan T. Ivanov wrote: > > >>> From: "Ivan T. Ivanov" > > >>> Allows controller to be specified via device tree. > >>> Pass PHY phandle specified in DT to core driver. > > >>> Signed-off-by: Ivan T. Ivanov

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

2014-02-18 Thread Courtney Cavin
On Tue, Feb 18, 2014 at 02:21:19PM +0100, 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: [PATCHv3 2/6] mailbox: Introduce a new common API

2014-02-18 Thread Courtney Cavin
On Tue, Feb 18, 2014 at 08:06:55AM +0100, Jassi Brar wrote: > On 18 February 2014 06:22, Courtney Cavin > wrote: > > On Sat, Feb 15, 2014 at 07:25:27PM +0100, Jassi Brar wrote: > > >> +request_token_t ipc_send_message(void *channel, void *mssg) > >> +{ &

Re: [PATCHv3 2/6] mailbox: Introduce a new common API

2014-02-17 Thread Courtney Cavin
On Sat, Feb 15, 2014 at 07:25:27PM +0100, Jassi Brar wrote: > Introduce common framework for client/protocol drivers and > controller drivers of Inter-Processor-Communication (IPC). > > Client driver developers should have a look at > include/linux/mailbox_client.h to understand the part of > the

Re: [RFC 1/6] mailbox: add core framework

2014-02-14 Thread Courtney Cavin
On Fri, Feb 14, 2014 at 08:48:25PM +0100, Arnd Bergmann wrote: > On Wednesday 12 February 2014, Courtney Cavin wrote: > > On Tue, Feb 11, 2014 at 09:35:01AM +0100, Arnd Bergmann wrote: > > > On Monday 10 February 2014 16:23:48 Courtney Cavin wrote: > > > Then agai

Re: [RFC 1/6] mailbox: add core framework

2014-02-12 Thread Courtney Cavin
On Tue, Feb 11, 2014 at 09:35:01AM +0100, Arnd Bergmann wrote: > On Monday 10 February 2014 16:23:48 Courtney Cavin wrote: > > > While I'm not sure the dislike of notifiers entirely justifies not using > > them here, where they seem to make sense, I can understand that t

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 09:45:07PM +0100, Rob Herring wrote: > On Mon, Feb 10, 2014 at 1:59 PM, Courtney Cavin > wrote: > > On Mon, Feb 10, 2014 at 08:09:34PM +0100, Josh Cartwright wrote: > >> On Mon, Feb 10, 2014 at 11:52:05AM -0600, Rob Herring wrote: > >> >

Re: [PATCH 2/2] spi: Add Qualcomm QUP SPI controller support

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 08:41:44PM +0100, Ivan T. Ivanov wrote: > > Hi, > > On Mon, 2014-02-10 at 11:47 -0600, Andy Gross wrote: > > On Mon, Feb 10, 2014 at 06:55:02PM +0200, Ivan T. Ivanov wrote: > > > > [] > > > > > > > > Bail here? > > > > > > > > > > I don't know. What will be the cons

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 08:09:34PM +0100, Josh Cartwright wrote: > On Mon, Feb 10, 2014 at 11:52:05AM -0600, Rob Herring wrote: > > On Mon, Feb 10, 2014 at 8:11 AM, Arnd Bergmann wrote: > > > On Friday 07 February 2014 16:50:14 Courtney Cavin wrote: > [..] > > >>

Re: [RFC 3/6] mailbox: pl320: migrate to mbox framework

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 07:28:54PM +0100, Rob Herring wrote: > On Fri, Feb 7, 2014 at 6:50 PM, Courtney Cavin > wrote: > > We don't remove the legacy methods here, but we mark them as deprecated > > in the hopes that people with the ability to properly test modifications

Re: [PATCHv2 2/2] arm: Get rid of meminfo

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 04:25:34AM +0100, Laura Abbott wrote: > On 2/6/2014 6:09 PM, Courtney Cavin wrote: > > On Wed, Feb 05, 2014 at 01:02:31AM +0100, Laura Abbott wrote: > >> memblock is now fully integrated into the kernel and is the prefered > >> method for t

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 03:11:00PM +0100, Arnd Bergmann wrote: > On Friday 07 February 2014 16:50:14 Courtney Cavin wrote: > > The mailbox drivers are fragmented, and some implement their own core. > > Unify the drivers and implement common functionality in a framework. > &g

[RFC 2/6] mailbox: document bindings

2014-02-07 Thread Courtney Cavin
Signed-off-by: Courtney Cavin --- .../devicetree/bindings/mailbox/mailbox.txt| 44 ++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/mailbox.txt diff --git a/Documentation/devicetree/bindings/mailbox/mailbox.txt b

[RFC 1/6] mailbox: add core framework

2014-02-07 Thread Courtney Cavin
The mailbox drivers are fragmented, and some implement their own core. Unify the drivers and implement common functionality in a framework. Signed-off-by: Courtney Cavin --- drivers/mailbox/Makefile | 1 + drivers/mailbox/core.c | 573 +++ include

[RFC 6/6] mailbox: omap2+: move to common mbox framework

2014-02-07 Thread Courtney Cavin
Signed-off-by: Courtney Cavin --- drivers/mailbox/Kconfig | 1 - drivers/mailbox/mailbox-omap2.c | 315 +--- 2 files changed, 132 insertions(+), 184 deletions(-) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index ae6b09b..a592a5a

[RFC 4/6] mailbox: omap: remove omap-specific framework

2014-02-07 Thread Courtney Cavin
This framework is no longer needed, and the users should move over to the new common framework. Mark the existing implementations as broken, and deprecate the api, as a stop-gap. Signed-off-by: Courtney Cavin --- drivers/mailbox/Kconfig| 19 +- drivers/mailbox/Makefile | 1

[RFC 3/6] mailbox: pl320: migrate to mbox framework

2014-02-07 Thread Courtney Cavin
We don't remove the legacy methods here, but we mark them as deprecated in the hopes that people with the ability to properly test modifications can adapt its users. Signed-off-by: Courtney Cavin --- drivers/mailbox/pl320-ipc.c | 258 ++-- include/

[RFC 5/6] mailbox: omap1: move to common mbox framework

2014-02-07 Thread Courtney Cavin
Signed-off-by: Courtney Cavin --- drivers/mailbox/Kconfig | 1 - drivers/mailbox/mailbox-omap1.c | 153 +++- 2 files changed, 73 insertions(+), 81 deletions(-) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 6befc6e..ae6b09b

[RFC 0/6] mailbox: add common framework and port drivers

2014-02-07 Thread Courtney Cavin
isn't the best course of action, and I'm open to suggestions. -Courtney Courtney Cavin (6): mailbox: add core framework mailbox: document bindings mailbox: pl320: migrate to mbox framework mailbox: omap: remove omap-specific framework mailbox: omap1: move to common mbox framework

Re: [PATCHv2 2/2] arm: Get rid of meminfo

2014-02-06 Thread Courtney Cavin
On Wed, Feb 05, 2014 at 01:02:31AM +0100, Laura Abbott wrote: > memblock is now fully integrated into the kernel and is the prefered > method for tracking memory. Rather than reinvent the wheel with > meminfo, migrate to using memblock directly instead of meminfo as > an intermediate. > > Signed-o

[PATCH] thermal: add generic IIO channel thermal sensor driver

2014-02-05 Thread Courtney Cavin
This driver is a generic method for using IIO ADC channels as thermal sensors. Signed-off-by: Courtney Cavin --- .../devicetree/bindings/thermal/iio-thermal.txt| 46 + drivers/thermal/Kconfig| 13 ++ drivers/thermal/Makefile | 1

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

2014-01-31 Thread Courtney Cavin
On Thu, Jan 30, 2014 at 06:21:11PM +0100, Georgi Djakov wrote: > 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

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

2014-01-14 Thread Courtney Cavin
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 > ++ > 1 file changed, 46 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/spmi/qcom,spmi

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

2014-01-14 Thread Courtney Cavin
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 > outside the scope of SPMI, as SPMI leaves interrupt handling completely > unspecified.

Re: [PATCH v3 4/7] mfd: ssbi: Add regmap read/write helpers

2014-01-08 Thread Courtney Cavin
On Wed, Jan 08, 2014 at 07:37:47PM +0100, Stephen Boyd wrote: > Add read and write helper functions that the pm8921-core driver > can use to read and write ssbi regsiters via a "no-bus" regmap. > Nit: s/regsiters/registers/ > Cc: Mark Brown > Signed-off-by: Stephen Boyd > --- > include/linux/

Re: [PATCH v4 3/6] ARM: Add Krait L2 accessor functions

2014-01-08 Thread Courtney Cavin
On Mon, Dec 30, 2013 at 09:14:14PM +0100, Stephen Boyd wrote: > Krait CPUs have a handful of L2 cache controller registers that > live behind a cp15 based indirection register. First you program > the indirection register (l2cpselr) to point the L2 'window' > register (l2cpdr) at what you want to r

Re: [PATCH 7/8] mfd: pm8921: Migrate to irqdomains

2013-12-11 Thread Courtney Cavin
On Wed, Dec 11, 2013 at 12:35:22AM +0100, Stephen Boyd wrote: > Convert this driver to use irqdomains so that the PMIC's child > devices can be converted to devicetree. > > Signed-off-by: Stephen Boyd > --- > drivers/mfd/pm8921-core.c | 186 > ++ > in

Re: [PATCH CFT] ARM:MSM: Enable ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR default

2013-12-09 Thread Courtney Cavin
> Cc: Daniel Walker > Cc: Bryan Huntsman > Cc: Russell King > Cc: Linus Walleij > Cc: linux-arm-...@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org We run with these enabled on our development boards already. Tested-

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

2013-12-09 Thread Courtney Cavin
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. > > Signed-off-by: Georgi Djakov [...] > +static int sdhci_msm_probe(struct platform_

[PATCH] regmap: make sure we unlock on failure in regmap_bulk_write

2013-11-20 Thread Courtney Cavin
Signed-off-by: Courtney Cavin --- drivers/base/regmap/regmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 9c021d9..d1a9141 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c