Re: [PATCH v2 0/9] CPU enable method based SMP/hotplug + MSM conversion

2014-01-06 Thread Stephen Boyd
Ping? Can anyone take a look at the generic ARM and DT binding patches and provide acks/reviews? I'd like to send this through arm-soc via the MSM tree if possible. On 12/23/13 16:39, Stephen Boyd wrote: This is a rework of patches sent a months back by Rohit[1]. The goal of these patches

[PATCH v2 00/10] Use regmap+devm+DT in pm8xxx input drivers

2014-01-02 Thread Stephen Boyd
- switch to using managed resources Stephen Boyd (9): genirq: Add devm_request_any_context_irq() Input: pmic8xxx-keypad - Switch to using managed resources Input: pmic8xxx-keypad - Migrate to regmap APIs Input: pmic8xxx-pwrkey - Migrate to DT Input: pm8xxx-vibrator - Add DT match table

[PATCH v2 09/10] devicetree: bindings: Document PM8921/8058 power keys

2014-01-02 Thread Stephen Boyd
Document the power key found on PM8921 and PM8058 PMICs. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../bindings/input/qcom,pm8xxx-pwrkey.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation

[PATCH v2 10/10] devicetree: bindings: Document PM8921/8058 vibrators

2014-01-02 Thread Stephen Boyd
Document the vibration device found on PM8921 and PM8058 PMICs. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/input/qcom,pm8xxx-vib.txt| 16 1 file changed, 16 insertions(+) create mode 100644 Documentation

[PATCH v2 08/10] devicetree: bindings: Document PM8921/8058 keypads

2014-01-02 Thread Stephen Boyd
Document the keypad device found on PM8921 and PM8058 PMICs. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../bindings/input/qcom,pm8xxx-keypad.txt | 72 ++ 1 file changed, 72 insertions(+) create mode 100644 Documentation

[PATCH v4 4/6] devicetree: bindings: Document Krait L1/L2 EDAC

2013-12-30 Thread Stephen Boyd
Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Documentation/devicetree/bindings/arm/cpus.txt | 72 ++ 1 file changed, 72 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.txt index 9130435

[PATCH v2 0/7] Modernize pm8921 with irqdomains, regmap, DT

2013-12-23 Thread Stephen Boyd
* New regmap read/write helpers * New patch for DT match table * New binding document Stephen Boyd (7): mfd: Move pm8xxx-irq.c contents into only driver that uses it mfd: pm8921: Update for genirq changes mfd: pm8921: Migrate to irqdomains mfd: ssbi: Add regmap read/write helpers mfd

[PATCH v2 7/7] devicetree: bindings: Document PM8921/8058 PMICs

2013-12-23 Thread Stephen Boyd
PM8921 and PM8058 are PMICs found paired with MSM8960 and MSM8660 devices respectively. They contain subdevices such as keypads, RTC, regulators, clocks, etc. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/mfd/qcom,pm8xxx.txt

[PATCH v2 2/9] devicetree: bindings: Document qcom,kpss-acc

2013-12-23 Thread Stephen Boyd
The kpss acc binding describes the clock, reset, and power domain controller for a Krait CPU. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/arm/msm/qcom,kpss-acc.txt | 30 ++ 1 file changed, 30 insertions

[PATCH v2 9/9] ARM: dts: msm: Add nodes necessary for SMP boot

2013-12-23 Thread Stephen Boyd
patch, add error interrupts] Signed-off-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/boot/dts/qcom-msm8660-surf.dts | 24 arch/arm/boot/dts/qcom-msm8960-cdp.dts | 52 + arch/arm/boot/dts/qcom-msm8974.dtsi | 69 + 3 files

[PATCH v2 8/9] ARM: msm: Add SMP support for KPSSv2

2013-12-23 Thread Stephen Boyd
From: Rohit Vaswani rvasw...@codeaurora.org Implement support for the Krait CPU release sequence when the CPUs are part of the second version of the Krait processor subsystem. Signed-off-by: Rohit Vaswani rvasw...@codeaurora.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/mach

[PATCH v2 7/9] ARM: msm: Add SMP support for KPSSv1

2013-12-23 Thread Stephen Boyd
From: Rohit Vaswani rvasw...@codeaurora.org Implement support for the Krait CPU release sequence when the CPUs are part of the first version of the krait processor subsystem. Signed-off-by: Rohit Vaswani rvasw...@codeaurora.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/mach

[PATCH v2 1/9] devicetree: bindings: Document Krait/Scorpion cpus and enable-method

2013-12-23 Thread Stephen Boyd
rvasw...@codeaurora.org [sboyd: Split off into separate patch, renamed methods to match compatible nodes] Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Documentation/devicetree/bindings/arm/cpus.txt | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git

[PATCH v2 0/9] CPU enable method based SMP/hotplug + MSM conversion

2013-12-23 Thread Stephen Boyd
/Scorpion cpus and enable-method ARM: msm: Remove pen_release usage ARM: msm: Re-organize platsmp to make it extensible ARM: msm: Add SMP support for KPSSv1 ARM: msm: Add SMP support for KPSSv2 ARM: dts: msm: Add nodes necessary for SMP boot Stephen Boyd (3): devicetree: bindings: Document qcom

[PATCH v2 4/9] ARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp

2013-12-23 Thread Stephen Boyd
Rutland mark.rutl...@arm.com Cc: Russell King li...@arm.linux.org.uk Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/include/asm/smp.h| 9 + arch/arm/kernel/devtree.c | 40 +++ include/asm-generic

[PATCH v2 5/9] ARM: msm: Remove pen_release usage

2013-12-23 Thread Stephen Boyd
Signed-off-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/mach-msm/Makefile | 2 +- arch/arm/mach-msm/headsmp.S | 39 --- arch/arm/mach-msm/hotplug.c | 31 --- arch/arm/mach-msm/platsmp.c | 35 +++ 4

[PATCH v4 00/15] Add support for MSM's mmio clock/reset controller

2013-12-23 Thread Stephen Boyd
framework Stephen Boyd (15): reset: Silence warning in reset-controller.h clk: Allow drivers to pass in a regmap clk: Add regmap core helpers for enable/disable/is_enabled clk: Add set_rate_and_parent() op clk: qcom: Add support for phase locked loops (PLLs) clk: qcom: Add support for root

[PATCH v4 14/15] devicetree: bindings: Document qcom,gcc

2013-12-23 Thread Stephen Boyd
Document the global clock controller found on MSM devices. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/clock/qcom,gcc.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation

[PATCH v4 15/15] devicetree: bindings: Document qcom,mmcc

2013-12-23 Thread Stephen Boyd
Document the multimedia clock controller found on MSM devices Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/clock/qcom,mmcc.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation

Re: [PATCH v2 1/3] pinctrl: Add Qualcomm TLMM driver

2013-12-10 Thread Stephen Boyd
On 12/10/13 00:10, Bjorn Andersson wrote: On Fri 06 Dec 13:40 PST 2013, Stephen Boyd wrote: +config PINCTRL_MSM + bool Why not tristate? I have a hard time seeing an situation where you would like to build a system with this driver as a module; it would force almost the entire system

Re: [PATCH v2 2/3] pinctrl: Add msm8x74 configuration

2013-12-09 Thread Stephen Boyd
On 12/09/13 00:18, Linus Walleij wrote: On Fri, Dec 6, 2013 at 11:22 PM, Stephen Boyd sb...@codeaurora.org wrote: On 12/05/13 18:10, Bjorn Andersson wrote: As the driver is merged I expect fixes to come in as additional patches. Add initial definition of parameters for pinctrl-msm

Re: [PATCH v2 1/3] pinctrl: Add Qualcomm TLMM driver

2013-12-06 Thread Stephen Boyd
General nitpick: There seems to be a lot of checks for invalid input in the op functions. I hope that they're all unnecessary debugging that can be removed. On 12/05/13 18:10, Bjorn Andersson wrote: This adds a pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm TLMM block.

Re: [PATCH v2 2/3] pinctrl: Add msm8x74 configuration

2013-12-06 Thread Stephen Boyd
On 12/05/13 18:10, Bjorn Andersson wrote: Add initial definition of parameters for pinctrl-msm for the msm8x74 platform. Hmm. We've tried to remove 'x' from our code because it isn't really accurate and leads to more confusion. For example, 8660 and 8960 are vastly different with respect to SoC

Re: [PATCH 05/11] ARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp

2013-11-07 Thread Stephen Boyd
On 11/06/13 17:50, Josh Cartwright wrote: On Fri, Nov 01, 2013 at 03:08:53PM -0700, Stephen Boyd wrote: diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index f35906b..71a8592 100644 --- a/arch/arm/kernel/devtree.c +++ b/arch/arm/kernel/devtree.c @@ -25,6 +25,7

Re: [PATCH 05/11] ARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp

2013-11-05 Thread Stephen Boyd
On 11/05/13 09:24, Kumar Gala wrote: On Nov 1, 2013, at 5:08 PM, Stephen Boyd wrote: @@ -150,8 +182,14 @@ void __init arm_dt_init_cpu_maps(void) } tmp_map[i] = hwid; + +if (!found_method) +found_method = set_smp_ops_by_method(cpu

Re: [PATCH 02/11] devicetree: bindings: Document Qualcomm cpus and enable-method

2013-11-05 Thread Stephen Boyd
On 11/05/13 09:12, Kumar Gala wrote: On Nov 4, 2013, at 11:36 AM, Stephen Boyd wrote: On 11/01, Rob Herring wrote: On Fri, Nov 1, 2013 at 5:08 PM, Stephen Boyd sb...@codeaurora.org wrote: From: Rohit Vaswani rvasw...@codeaurora.org Scorpion and Krait are Qualcomm cpus. These cpus don't use

Re: [PATCH 03/11] devicetree: bindings: Document qcom,kpss-acc

2013-11-05 Thread Stephen Boyd
On 11/05/13 09:13, Kumar Gala wrote: On Nov 1, 2013, at 5:08 PM, Stephen Boyd wrote: diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt b/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt new file mode 100644 index 000..ed4a9c8 --- /dev/null +++ b

Re: [PATCH 02/11] devicetree: bindings: Document Qualcomm cpus and enable-method

2013-11-04 Thread Stephen Boyd
On 11/01, Rob Herring wrote: On Fri, Nov 1, 2013 at 5:08 PM, Stephen Boyd sb...@codeaurora.org wrote: From: Rohit Vaswani rvasw...@codeaurora.org Scorpion and Krait are Qualcomm cpus. These cpus don't use the spin-table enable-method. Instead they rely on mmio register accesses

[PATCH v3 0/6] Krait L1/L2 EDAC driver

2013-11-01 Thread Stephen Boyd
tree and the Documentation patch could go through the devicetree tree. Changes since v2: * Picked up acks * s/an/a/ in DT binding Changes since v1: * Moved binding into cpus node * Picked up acks on first two patches * Commented krait l2 accessor functions Stephen Boyd (6): edac: Don't try

[PATCH v3 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-11-01 Thread Stephen Boyd
The Krait L1/L2 error reporting device is made up of two interrupts, one per-CPU interrupt for the L1 caches and one interrupt for the L2 cache. Cc: Mark Rutland mark.rutl...@arm.com Acked-by: Kumar Gala ga...@codeaurora.org Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb

[PATCH 04/11] devicetree: bindings: Document qcom,saw2 node

2013-11-01 Thread Stephen Boyd
The saw2 binding describes the SPM/AVS wrapper hardware used to control the regulator supplying voltage to the Krait CPUs. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- When a SAW is for a CPU it is put behind the CPU alias region similar to the ACC

[PATCH 01/11] devicetree: bindings: Document cpu enable-method for ARM CPUs

2013-11-01 Thread Stephen Boyd
-by: Rohit Vaswani rvasw...@codeaurora.org [sboyd: Split off into separate patch] Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Documentation/devicetree/bindings/arm/cpus.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b

[PATCH 02/11] devicetree: bindings: Document Qualcomm cpus and enable-method

2013-11-01 Thread Stephen Boyd
rvasw...@codeaurora.org [sboyd: Split off into separate patch, renamed method to qcom,mmio] Signed-off-by: Stephen Boyd sb...@codeaurora.org --- This slightly conflicts with my krait EDAC series. Documentation/devicetree/bindings/arm/cpus.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 03/11] devicetree: bindings: Document qcom,kpss-acc

2013-11-01 Thread Stephen Boyd
The kpss acc binding describes the clock, reset, and power domain controller for a Krait CPU. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/arm/msm/qcom,kpss-acc.txt | 21 + 1 file changed, 21 insertions

Re: [PATCH v2 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-10-31 Thread Stephen Boyd
On 10/30, Kumar Gala wrote: On Oct 30, 2013, at 4:58 PM, Stephen Boyd wrote: On 10/30/13 14:56, Kumar Gala wrote: On Oct 30, 2013, at 4:48 PM, Stephen Boyd wrote: On 10/30/13 14:45, Kumar Gala wrote: On Oct 30, 2013, at 3:25 PM, Stephen Boyd wrote: +l2-cache node containing

[PATCH v2 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-10-30 Thread Stephen Boyd
The Krait L1/L2 error reporting device is made up of two interrupts, one per-CPU interrupt for the L1 caches and one interrupt for the L2 cache. Cc: Mark Rutland mark.rutl...@arm.com Cc: Kumar Gala ga...@codeaurora.org Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb

[PATCH v2 0/6] Krait L1/L2 EDAC driver

2013-10-30 Thread Stephen Boyd
tree and the Documentation patch could go through the devicetree tree. Changes since v1: * Moved binding into cpus node * Picked up acks on first two patches * Commented krait l2 accessor functions Stephen Boyd (6): edac: Don't try to cancel workqueue when it's never setup genirq: export

Re: [PATCH v2 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-10-30 Thread Stephen Boyd
On 10/30/13 14:56, Kumar Gala wrote: On Oct 30, 2013, at 4:48 PM, Stephen Boyd wrote: On 10/30/13 14:45, Kumar Gala wrote: On Oct 30, 2013, at 3:25 PM, Stephen Boyd wrote: +l2-cache node containing the following properties: Is the L1 interrupt not per core L1 cache (even

Re: [PATCH 1/2] dmaengine: add msm bam dma driver

2013-10-29 Thread Stephen Boyd
On 10/25, Andy Gross wrote: diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index f238cfd..a71b415 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -364,4 +364,13 @@ config DMATEST Simple DMA test client. Say N unless you're debugging a DMA Device driver.

Re: [PATCH 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-10-29 Thread Stephen Boyd
On 10/29/13 01:21, Kumar Gala wrote: On Oct 28, 2013, at 7:31 PM, Stephen Boyd wrote: The Krait L1/L2 error reporting device is made up of two interrupts, one per-CPU interrupt for the L1 caches and one interrupt for the L2 cache. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd

[PATCH 0/6] Krait L1/L2 EDAC driver

2013-10-28 Thread Stephen Boyd
tree and the Documentation patch could go through the devicetree tree. Stephen Boyd (6): edac: Don't try to cancel workqueue when it's never setup genirq: export percpu irq functions for module usage ARM: Add Krait L2 accessor functions edac: Document Krait L1/L2 EDAC driver binding edac

[PATCH 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-10-28 Thread Stephen Boyd
The Krait L1/L2 error reporting device is made up of two interrupts, one per-CPU interrupt for the L1 caches and one interrupt for the L2 cache. Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/arm/qcom,krait-cache-erp.txt | 16

Re: [PATCH 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-10-28 Thread Stephen Boyd
On 10/28, Mark Rutland wrote: On Tue, Oct 29, 2013 at 12:31:28AM +, Stephen Boyd wrote: + +Optional properties: +- interrupt-names: Should contain the interrupt names l1_irq and + l2_irq As with my comment on the parsing code, I'd prefer that if interrupt-names was present

Re: [PATCH v3 1/2] ARM: DT: msm: Add Qualcomm's PRNG driver binding document

2013-10-18 Thread Stephen Boyd
On 10/15/13 07:11, Stanimir Varbanov wrote: This adds Qualcomm PRNG driver device tree binding documentation to use as an example in dts trees. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- Reviewed-by: Stephen Boyd sb...@codeaurora.org -- Qualcomm Innovation Center, Inc

Re: [PATCH v2 2/2] hwrng: msm: Add PRNG support for MSM SoC's

2013-10-11 Thread Stephen Boyd
On 10/11, Stanimir Varbanov wrote: This adds a driver for hardware random number generator present on Qualcomm MSM SoC's. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- Just nitpicks. diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index

Re: [PATCH v2 1/2] ARM: DT: msm: Add Qualcomm's PRNG driver binding document

2013-10-11 Thread Stephen Boyd
On 10/11, Stanimir Varbanov wrote: This adds Qualcomm PRNG driver device tree binding documentation to use as an example in dts trees. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- Documentation/devicetree/bindings/rng/qcom,prng.txt | 17 + 1 file changed, 17

<    1   2   3   4   5   6