Re: [PATCH] MAINTAINERS: Change QCOM entries

2015-12-17 Thread Kumar Gala
> On Dec 11, 2015, at 3:46 PM, Andy Gross wrote: > > From: Andy Gross > > This patch changes the email address for Andy Gross and David Brown and drops > Kumar Gala. In addition, it changes the location of the repository. > > Signed-off-by: Andy Gross >

Re: [GIT PULL] qcom SoC changes for 4.2-1

2015-06-01 Thread Kumar Gala
> On Jun 1, 2015, at 1:35 PM, Arnd Bergmann wrote: > > On Friday 29 May 2015 14:42:01 Arnd Bergmann wrote: >> On Thursday 28 May 2015 10:55:39 Kumar Gala wrote: >>> Qualcomm ARM Based SoC Updates for v4.2-1 >>> >>> * Added Subsystem Power Manager (S

[PATCH v6] firmware: qcom: scm: Add support for ARM64 SoCs

2015-05-28 Thread Kumar Gala
Add an implementation of the SCM interface that works on ARM64 SoCs. This is used by things like determine if we have HDCP support or not on the system. Signed-off-by: Kumar Gala --- * v6: - Added comment about HDCP usage - Folded in HDCP SCM call - implement boot interfaces as -EINVAL * v5

Re: [GIT PULL] qcom SoC changes for 4.2-1

2015-05-28 Thread Kumar Gala
Subsystem Power Manager (SPM) driver * Split out 32-bit specific SCM code * Added HDCP SCM call Kumar Gala (1): firmware: qcom: scm: Split out 32-bit specific SCM code Lina Iyer (1): ARM: qcom: Add Subsystem Power Manager (SPM

[GIT PULL] qcom SoC changes for 4.2

2015-05-26 Thread Kumar Gala
SCM code Kumar Gala (1): firmware: qcom: scm: Split out 32-bit specific SCM code Lina Iyer (1): ARM: qcom: Add Subsystem Power Manager (SPM) driver drivers/firmware/Makefile | 3 +- drivers/firmware/qcom_scm-32

[GIT PULL] qcom defconfig changes for 4.2

2015-05-26 Thread Kumar Gala
The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-defconfig-for-4.2 for you to fetch changes up to e3db

[GIT PULL] qcom arm64 dt changes for 4.2

2015-05-26 Thread Kumar Gala
The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-arm64-for-4.2 for you to fetch changes up to a190a1ce

[GIT PULL] qcom dt changes for 4.2

2015-05-26 Thread Kumar Gala
The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-dt-for-4.2 for you to fetch changes up to b73b31577f7

Re: [PATCH v3] arm64: dts: qcom: Add msm8916 CoreSight components

2015-05-18 Thread Kumar Gala
> On May 11, 2015, at 2:21 PM, Mathieu Poirier > wrote: > > On 11 May 2015 at 02:31, Ivan T. Ivanov wrote: >> Add initial set of CoreSight components found on Qualcomm's 8x16 chipset. >> >> Signed-off-by: Ivan T. Ivanov >> --- >> >> Changes since v2 [1]: >> * Added "1x" to "qcom,coresight-r

Re: [PATCH v19 0/3] ARM: qcom: cpuidle support for 8064, 8074, 8084

2015-04-28 Thread Kumar Gala
> On Apr 9, 2015, at 2:20 PM, Lina Iyer wrote: > > Hi, > > This patchset adds acks and reviewed-by tags to the SPM driver and updates the > defconfig files to enable cpuidle support on the v18 rev of the patchset [1]. > > The dependencies for these changes are > - SCM and device tree changes f

[PATCH v5 1/2] firmware: qcom: scm: Split out 32-bit specific SCM code

2015-04-28 Thread Kumar Gala
Split out the 32-bit SCM implementation into its own file to prep for supporting a 64-bit/ARM64 implementation as well. We create a simple shim to ensure both versions conform to the same interface. Signed-off-by: Kumar Gala --- v5: Split out error defines in common qcom_scm.h drivers

[PATCH v5 2/2] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-28 Thread Kumar Gala
Add an implementation of the SCM interface that works on ARM64/64-bit SoCs Signed-off-by: Kumar Gala Signed-off-by: Lina Iyer --- * v5: - use common error defines from qcom_scm.h - removed R*_STR defines * v4: - Folded in change to qcom_scm_cpu_power_down to remove HOTPLUG flag from Lina

Re: [PATCH v4 2/2] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-28 Thread Kumar Gala
> On Apr 28, 2015, at 8:11 AM, Christopher Covington > wrote: > > Hi Kumar, > > On 04/27/2015 05:23 PM, Kumar Gala wrote: > >> --- /dev/null >> +++ b/drivers/firmware/qcom_scm-64.c >> @@ -0,0 +1,465 @@ >> +/* Copyright (c) 2014-20

[PATCH v4 2/2] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-27 Thread Kumar Gala
Add an implementation of the SCM interface that works on ARM64/64-bit SoCs Signed-off-by: Kumar Gala Signed-off-by: Lina Iyer --- * v4: - Folded in change to qcom_scm_cpu_power_down to remove HOTPLUG flag from Lina. arch/arm64/Kconfig | 1 + drivers/firmware/Makefile

[PATCH v4 1/2] firmware: qcom: scm: Split out 32-bit specific SCM code

2015-04-27 Thread Kumar Gala
Split out the 32-bit SCM implementation into its own file to prep for supporting a 64-bit/ARM64 implementation as well. We create a simple shim to ensure both versions conform to the same interface. Signed-off-by: Kumar Gala --- drivers/firmware/Makefile | 3 +- drivers

Re: [PATCH 00/10] ARM: dts: apq8064 dt patches.

2015-04-27 Thread Kumar Gala
> On Apr 9, 2015, at 3:21 AM, Srinivas Kandagatla > wrote: > > Hi Kumar, > > Now that the rpm redesign dependency is resolved, If its not too late could > you > queue these dt patches for v4.1 or v4.1-rc1. > > I tested these patches on APQ8064 based IFC6410 board with SATA/USB/HDMI. > > I

Re: [PATCH v2 0/7] ARM: dts: qcom: Add more device coniguration nodes

2015-04-27 Thread Kumar Gala
> On Apr 20, 2015, at 2:45 AM, Ivan T. Ivanov wrote: > > Recent Qualcomm PMIC's devices are accessed over SPMI bus. > Every PMIC has several "sub-function" devices inside. > > First three patches are adding device nodes to PM8841, PM8941 and PMA8084 > PMIC's. > Next two are introducing PM8916

Re: [PATCH] ARM: dts: qcom: Add msm8660 PMU node

2015-04-27 Thread Kumar Gala
> On Feb 10, 2015, at 7:06 PM, Stephen Boyd wrote: > > Enable perf events on msm8660 devices by adding the pmu node. > > Signed-off-by: Stephen Boyd > --- > arch/arm/boot/dts/qcom-msm8660.dtsi | 5 + > 1 file changed, 5 insertions(+) applied - k -- Qualcomm Innovation Center, Inc. The Q

[PATCH v3 1/3] firmware: qcom: scm: Split out 32-bit specific SCM code

2015-04-14 Thread Kumar Gala
Split out the 32-bit SCM implementation into its own file to prep for supporting a 64-bit/ARM64 implementation as well. We create a simple shim to ensure both versions conform to the same interface. Signed-off-by: Kumar Gala --- drivers/firmware/Makefile | 3 +- drivers

[PATCH v3 3/3] arm64: qcom: add cpu operations

2015-04-14 Thread Kumar Gala
Signed-off-by: Kumar Gala --- Documentation/devicetree/bindings/arm/cpus.txt | 2 + Documentation/devicetree/bindings/arm/msm/acc.txt | 19 ++ arch/arm64/kernel/Makefile | 3 + arch/arm64/kernel/cpu_ops.c| 4 + .../kernel/qcom-special

[PATCH v3 0/3] Add smp booting support for Qualcomm ARMv8 SoCs

2015-04-14 Thread Kumar Gala
This patch set adds support for SMP boot on the MSM8x16 family of Qualcomm SoCs. To support SMP on the MSM8x16 SoCs we need to add ARMv8/64-bit SCM interfaces to setup the boot/release addresses for the secondary CPUs. In addition we need a uniquie set of cpu ops. I'm aware the desired methods f

[PATCH v3 2/3] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-14 Thread Kumar Gala
Add an implementation of the SCM interface that works on ARM64/64-bit SoCs Signed-off-by: Kumar Gala --- arch/arm64/Kconfig | 1 + drivers/firmware/Makefile | 4 + drivers/firmware/qcom_scm-64.c | 466 + 3 files changed, 471

Re: [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs

2015-04-14 Thread Kumar Gala
> On Apr 14, 2015, at 11:36 AM, Mark Rutland wrote: > > On Fri, Apr 10, 2015 at 11:05:29AM +0100, Catalin Marinas wrote: >> On Thu, Apr 09, 2015 at 12:37:06PM -0500, Kumar Gala wrote: >>> This patch set adds support for SMP boot on the MSM8x16 family of Qualcomm >&

Re: [RFC PATCH 4/5] arm64: smp: move the pen to a header file

2015-04-14 Thread Kumar Gala
> On Apr 9, 2015, at 4:17 PM, Arnd Bergmann wrote: > > On Thursday 09 April 2015 12:37:10 Kumar Gala wrote: >> From: Abhimanyu Kapur >> >> Move the secondary_pen_release variable and the secondary_holding_pen >> entry function to asm/smp_plat.h so that the oth

Re: [RFC PATCH 4/5] arm64: smp: move the pen to a header file

2015-04-14 Thread Kumar Gala
> On Apr 14, 2015, at 10:59 AM, Mark Rutland wrote: > > On Thu, Apr 09, 2015 at 06:37:10PM +0100, Kumar Gala wrote: >> From: Abhimanyu Kapur >> >> Move the secondary_pen_release variable and the secondary_holding_pen >> entry function to asm/smp

Re: [PATCH v6 1/2] DT: hwspinlock: Add binding documentation for Qualcomm hwmutex

2015-04-14 Thread Kumar Gala
> On Feb 27, 2015, at 4:30 PM, Bjorn Andersson > wrote: > > Add binding documentation for the Qualcomm Hardware Mutex. > > Signed-off-by: Bjorn Andersson > — > Acked-by: Kumar Gala - k -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc.

Re: [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs

2015-04-14 Thread Kumar Gala
> On Apr 14, 2015, at 9:21 AM, Kumar Gala wrote: > >>>> >>>> So please come up with proper technical arguments rather than the kernel >>>> should take whatever SoC vendors dreamt of. >>> >>> There is no technical argument to be

Re: [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs

2015-04-14 Thread Kumar Gala
> On Apr 13, 2015, at 4:41 AM, Catalin Marinas wrote: > > On Fri, Apr 10, 2015 at 02:06:33PM -0500, Kumar Gala wrote: >> On Apr 10, 2015, at 11:10 AM, Catalin Marinas >> wrote: >>> On Fri, Apr 10, 2015 at 10:24:46AM -0500, Kumar Gala wrote: >>>> On

Re: [PATCH] ARM: dts: qcom: Add msm8660 PMU node

2015-04-13 Thread Kumar Gala
> On Apr 10, 2015, at 7:19 PM, Stephen Boyd wrote: > > On 02/10/15 17:06, Stephen Boyd wrote: >> Enable perf events on msm8660 devices by adding the pmu node. >> >> Signed-off-by: Stephen Boyd >> --- > > Ping? Sorry, trying to clear out patches on a Friday night before going > home. I just m

[RFC PATCH v2 1/4] firmware: qcom: scm: Split out 32-bit specific SCM code

2015-04-10 Thread Kumar Gala
Split out the 32-bit SCM implementation into its own file to prep for supporting a 64-bit/ARM64 implementation as well. We create a simple shim to ensure both versions conform to the same interface. Signed-off-by: Kumar Gala --- drivers/firmware/Makefile | 3 +- drivers

[RFC PATCH v3 3/4] arm64: smp: move the pen to a header file

2015-04-10 Thread Kumar Gala
From: Abhimanyu Kapur Move the secondary_pen_release variable and the secondary_holding_pen entry function to asm/smp_plat.h so that the other cpu ops implementations can share them. Signed-off-by: Abhimanyu Kapur Signed-off-by: Kumar Gala --- arch/arm64/include/asm/smp_plat.h | 2 ++ arch

[RFC PATCH v2 2/4] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-10 Thread Kumar Gala
Add an implementation of the SCM interface that works on ARM64/64-bit SoCs Signed-off-by: Kumar Gala --- arch/arm64/Kconfig | 1 + drivers/firmware/Makefile | 4 + drivers/firmware/qcom_scm-64.c | 466 + 3 files changed, 471

[RFC PATCH v2 4/4] arm64: qcom: add cpu operations

2015-04-10 Thread Kumar Gala
Signed-off-by: Kumar Gala --- Documentation/devicetree/bindings/arm/cpus.txt | 2 + Documentation/devicetree/bindings/arm/msm/acc.txt | 19 ++ arch/arm64/kernel/Makefile | 3 + arch/arm64/kernel/cpu_ops.c| 4 + .../kernel/qcom-special

[RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs

2015-04-10 Thread Kumar Gala
This patch set adds support for SMP boot on the MSM8x16 family of Qualcomm SoCs. To support SMP on the MSM8x16 SoCs we need to add ARMv8/64-bit SCM interfaces to setup the boot/release addresses for the secondary CPUs. In addition we need a uniquie set of cpu ops. I'm aware the desired methods f

[RFC PATCH 2/5] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-09 Thread Kumar Gala
Add an implementation of the SCM interface that works on ARM64/64-bit SoCs Signed-off-by: Kumar Gala --- arch/arm64/Kconfig | 1 + drivers/firmware/Makefile | 4 + drivers/firmware/qcom_scm-64.c | 466 + 3 files changed, 471

[RFC PATCH 3/5] arm64: introduce CPU_OF_TABLES for cpu ops selection

2015-04-09 Thread Kumar Gala
From: Abhimanyu Kapur Add support to arm64 to provide a dt-based method to allow soc-vendors to supply cpu_ops. Also move psci and smp_spin_table ops to use CPU_OF_TABLES. Signed-off-by: Abhimanyu Kapur Signed-off-by: Kumar Gala --- arch/arm64/include/asm/cpu_ops.h | 5 + arch/arm64

[RFC PATCH 5/5] arm64: qcom: add cpu operations

2015-04-09 Thread Kumar Gala
Signed-off-by: Kumar Gala --- Documentation/devicetree/bindings/arm/cpus.txt| 2 + Documentation/devicetree/bindings/arm/msm/acc.txt | 19 ++ drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/cpu_ops.c| 343 ++ 4 files

[RFC PATCH 4/5] arm64: smp: move the pen to a header file

2015-04-09 Thread Kumar Gala
From: Abhimanyu Kapur Move the secondary_pen_release variable and the secondary_holding_pen entry function to asm/smp_plat.h so that the other cpu ops implementations can share them. Signed-off-by: Abhimanyu Kapur Signed-off-by: Kumar Gala --- arch/arm64/include/asm/smp_plat.h | 2 ++ arch

[RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs

2015-04-09 Thread Kumar Gala
This patch set adds support for SMP boot on the MSM8x16 family of Qualcomm SoCs. To support SMP on the MSM8x16 SoCs we need to add ARMv8/64-bit SCM interfaces to setup the boot/release addresses for the secondary CPUs. In addition we need a uniquie set of cpu ops. I'm aware the desired methods f

[RFC PATCH 1/5] firmware: qcom: scm: Split out 32-bit specific SCM code

2015-04-09 Thread Kumar Gala
Split out the 32-bit SCM implementation into its own file to prep for supporting a 64-bit/ARM64 implementation as well. We create a simple shim to ensure both versions conform to the same interface. Signed-off-by: Kumar Gala --- drivers/firmware/Makefile | 3 +- drivers

Re: [PATCH] arm64: dts: Add Qualcomm APQ8016 SBC evaluation board dts

2015-04-03 Thread Kumar Gala
On Apr 3, 2015, at 1:18 PM, Olof Johansson wrote: > On Fri, Apr 03, 2015 at 11:14:01AM -0700, Olof Johansson wrote: >> On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote: >>> On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote: >>>> Add i

Re: [GIT PULL] qcom SoC changes for v4.1

2015-04-02 Thread Kumar Gala
On Apr 2, 2015, at 3:37 AM, Nicolas Dechesne wrote: > Andy, Kumar, > > On Mon, Mar 16, 2015 at 10:03 PM, Kumar Gala wrote: >> Andy Gross (1): >> soc: qcom: gsbi: Add support for ADM CRCI muxing > > this commit seems to break the boot on IFC6410, it

Re: [PATCH 5/7] arm64: dts: qcom: Add 8x16 chipset SPMI PMIC's nodes

2015-04-01 Thread Kumar Gala
On Apr 1, 2015, at 10:05 AM, Ivan T. Ivanov wrote: > PM9816 has 2 SPMI devices per physical package. Add PMIC configuration > nodes including sub-function device nodes and include them in boards, > which are using 8x16 based chipset. > > PM9816 sub-function devices include: > > * GPIO block, w

Re: [PATCH 2/7] ARM: dts: qcom: Add PM8941 functions device nodes

2015-04-01 Thread Kumar Gala
On Apr 1, 2015, at 10:05 AM, Ivan T. Ivanov wrote: > Add configuration nodes for following devices: > > * GPIO block, with 36 pins > * MPP block, with 8 pins > * Current ADC (IADC) > * Volatage ADC (VADC), with multiple inputs > * Thermal sensor device, which is using on chip VADC > channel re

Re: [PATCH 4/7] arm64: dts: qcom: Add SPMI PMIC Arbiter node for MSM8916

2015-04-01 Thread Kumar Gala
On Apr 1, 2015, at 10:05 AM, Ivan T. Ivanov wrote: > Add SPMI PMIC Arbiter configuration nodes for MSM8916. > > Signed-off-by: Ivan T. Ivanov > --- > arch/arm64/boot/dts/qcom/msm8916.dtsi | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8

Re: [PATCH 1/7] ARM: dts: qcom: Add PM8841 functions device nodes

2015-04-01 Thread Kumar Gala
On Apr 1, 2015, at 10:05 AM, Ivan T. Ivanov wrote: > Add configuration nodes for multi purpose pins and > thermal sensor devices. Thermal sensor will report > PMIC die temperature. > > Signed-off-by: Ivan T. Ivanov > --- > arch/arm/boot/dts/qcom-pm8841.dtsi | 14 ++ > 1 file changed

[GIT PULL] qcom dt changes for 4.1

2015-03-27 Thread Kumar Gala
MSM8974 arm: dts: qcom: Add 8x74 chipset SPMI PMIC's nodes arm: dts: qcom: Add APQ8084 chipset SPMI PMIC's nodes Kenneth Westfield (1): arm: dts: qcom: Add LPASS Audio HW to IPQ8064 device tree Kumar Gala (4): arm: qcom: dts: gic: add compatible string for Qualcomm

[GIT PULL] qcom defconfig changes for 4.1-1

2015-03-27 Thread Kumar Gala
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-defconfig-for-4.1-1 for you to fetch changes up to dc

[GIT PULL] qcom cleanup changes for 4.1

2015-03-27 Thread Kumar Gala
The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-cleanup-for-4.1 for you to fetch changes up to 27842b

Re: [PATCH v18 04/11] ARM: cpuidle: Add cpuidle support for QCOM cpus

2015-03-27 Thread Kumar Gala
+++ > 1 file changed, 7 insertions(+) Acked-by: Kumar Gala - k -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-a

Re: [PATCH v18 01/11] ARM: qcom: Add Subsystem Power Manager (SPM) driver

2015-03-27 Thread Kumar Gala
> --- > drivers/soc/qcom/Kconfig | 7 + > drivers/soc/qcom/Makefile | 1 + > drivers/soc/qcom/spm.c| 385 ++++++ > 3 files changed, 393 insertions(+) > create mode 100644 drivers/soc/qcom/spm.c Acked-by: Kumar Gala - k -- Qualco

Re: [PATCH V5 0/2] add support for pmic_arb v2 and correct framework

2015-03-26 Thread Kumar Gala
On Mar 26, 2015, at 4:51 AM, Ivan T. Ivanov wrote: > > On Wed, 2015-03-25 at 11:37 -0600, Gilad Avidov wrote: >> pmic_arb v2 has no support for spmi non-data commands and thus >> returns -EOPNOTSUPP on .cmd callback. This causes a failure in >> spmi_drv_probe() which sends a wakeup command to t

Re: [PATCH v17 01/10] ARM: qcom: Add Subsystem Power Manager (SPM) driver

2015-03-23 Thread Kumar Gala
On Mar 23, 2015, at 4:15 PM, Lina Iyer wrote: > On Mon, Mar 23 2015 at 16:06 -0600, Kumar Gala wrote: >> >> On Mar 20, 2015, at 1:21 PM, Lina Iyer wrote: >> >>> >>> Based on work by: Mahesh Sivasubramanian , >>> Ai Li , Praveen Chida

[PATCH] arm64: dts: Add Qualcomm APQ8016 SBC evaluation board dts

2015-03-23 Thread Kumar Gala
Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board. This board is also referred to as the DragonBoard 410c. Signed-off-by: Kumar Gala --- arch/arm64/boot/dts/qcom/Makefile | 2 +- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 22 + arch/arm64

Re: [PATCH v17 01/10] ARM: qcom: Add Subsystem Power Manager (SPM) driver

2015-03-23 Thread Kumar Gala
On Mar 20, 2015, at 1:21 PM, Lina Iyer wrote: > > Based on work by: Mahesh Sivasubramanian , > Ai Li , Praveen Chidambaram > Original tree available at - > git://codeaurora.org/quic/la/kernel/msm-3.10.git > > Cc: Stephen Boyd > Cc: Arnd Bergmann > Cc: Kevin Hilman > Cc: Daniel Lezcano > S

Re: [PATCH v17 04/10] ARM: dts: qcom: Add power-controller device node for 8074 Krait CPUs

2015-03-23 Thread Kumar Gala
On Mar 20, 2015, at 1:21 PM, Lina Iyer wrote: > Each Krait CPU in the QCOM 8074/8974 SoC has an SAW power controller to > regulate the power to the cpu and aide the core in entering idle states. > Reference the SAW instance and associate the instance with the CPU core. > >

Re: [PATCH v5 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-17 Thread Kumar Gala
On Mar 17, 2015, at 4:24 AM, Stanimir Varbanov wrote: > On 03/13/2015 06:06 PM, Kumar Gala wrote: >> Add initial device tree support for Qualcomm MSM8916 SoC and MTP8916 >> evaluation board. At the current time we only boot up a single processor. >> >> Signed-off-b

[GIT PULL] qcom defconfig changes for 4.1

2015-03-16 Thread Kumar Gala
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-defconfig-for-4.1 for you to fetch changes up to 9e03

[GIT PULL] qcom ARM64 changes for v4.1

2015-03-16 Thread Kumar Gala
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-arm64-for-4.1 for you to fetch changes up to d7f64a44

[GIT PULL] qcom SoC changes for v4.1

2015-03-16 Thread Kumar Gala
support for ADM CRCI muxing Kumar Gala (4): ARM: qcom: Merge scm and scm boot code together ARM: qcom: Cleanup scm interface to only export what is needed ARM: qcom: Prep scm code for move to drivers/firmware firmware: qcom: scm: Move the scm driver to drivers/firmware Lina

Re: [PATCH v4 0/3] firmware: qcom: scm: Add cpu power on/off support

2015-03-13 Thread Kumar Gala
I’ve applied these to my ‘soc’ branch. - k On Mar 13, 2015, at 12:16 PM, Lina Iyer wrote: > Kumar, Stephen, Andy, > > Any comments on this patchset? > > Thanks, > Lina > > On Mon, Mar 02 2015 at 16:30 -0700, Lina Iyer wrote: >> Hi, >> >> This series of patches adds SCM cold boot clean up an

Re: [PATCH v4 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-13 Thread Kumar Gala
On Mar 13, 2015, at 11:25 AM, Mark Rutland wrote: > On Fri, Mar 13, 2015 at 03:50:42PM +0000, Kumar Gala wrote: >> >> On Mar 13, 2015, at 5:52 AM, Mark Rutland wrote: >> >>>> +/ { >>>> + chosen { >>>> + stdout-path = &bl

[PATCH v5 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-13 Thread Kumar Gala
Add initial device tree support for Qualcomm MSM8916 SoC and MTP8916 evaluation board. At the current time we only boot up a single processor. Signed-off-by: Kumar Gala --- v5: * killed use of skeleton, moved to addr/size cells both being 2 * Added serial alias in prep of being able to spec

Re: [PATCH v4 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-13 Thread Kumar Gala
On Mar 13, 2015, at 5:52 AM, Mark Rutland wrote: >> +/ { >> +chosen { >> +stdout-path = &blsp1_uart2; >> +}; > > It would be good if we had the configuration too (see > Documentation/devicetree/bindings/chosen.txt), as that avoids any > reliance on kernel defaults. > > You

Re: [PATCH v3 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-12 Thread Kumar Gala
On Mar 12, 2015, at 1:25 PM, Mark Rutland wrote: + cpus { + #address-cells = <1>; + #size-cells = <0>; + + CPU0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; +

[PATCH v4 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-12 Thread Kumar Gala
Add initial device tree support for Qualcomm MSM8916 SoC and MTP8916 evaluation board. At the current time we only boot up a single processor. Signed-off-by: Kumar Gala --- v4: * Added chosen node so we dont need to spec everything for earlycon * fixed up timer node to armv8, dropped clock

Re: [PATCH v3 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-12 Thread Kumar Gala
On Mar 12, 2015, at 12:05 PM, Mark Rutland wrote: > Hi Kumar, > >> +/ { >> +model = "Qualcomm Technologies, Inc. MSM 8916 MTP"; >> +compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp-smb1360", >> +"qcom,msm8916", "qcom,mtp"; >> +}; > > No /chosen/stdout-path? Nope

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-12 Thread Kumar Gala
On Mar 11, 2015, at 3:20 PM, Arnd Bergmann wrote: > On Wednesday 11 March 2015 08:33:04 Bjorn Andersson wrote: >> >> But are these values actually used by the boot loader? >> >> As far as I could see in 8974 the dtbTool provided by Qualcomm >> extracts the values from the list of dtbs and use

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-12 Thread Kumar Gala
On Mar 11, 2015, at 10:33 AM, Bjorn Andersson wrote: > On Tue, Mar 10, 2015 at 12:57 PM, Kumar Gala wrote: >> >> On Mar 10, 2015, at 2:52 PM, Arnd Bergmann wrote: >> >>> On Tuesday 10 March 2015 13:10:08 Kumar Gala wrote: >>>>>>>>

[PATCH v3 4/4] arm64: dts: Add Qualcomm MSM8916 & MTP8916 ids

2015-03-11 Thread Kumar Gala
Add qcom,msm-id and qcom,board-id to allow bootloader to identify which device tree to boot on the MTP8916 boards. Signed-off-by: Kumar Gala --- arch/arm64/boot/dts/qcom/msm8916-mtp.dts | 3 +++ arch/arm64/boot/dts/qcom/msm8916.dtsi| 5 + 2 files changed, 8 insertions(+) diff --git a

[PATCH v3 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-11 Thread Kumar Gala
Add initial device tree support for Qualcomm MSM8916 SoC and MTP8916 evaluation board. At the current time we only boot up a single processor. Signed-off-by: Kumar Gala --- v3: * Removed qcom,msm-id and qcom,board-id * Added top level compat for "qcom,msm8916-mtp-smb1360" v2: *

[PATCH v3 3/4] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-11 Thread Kumar Gala
The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine which device tree should be utilized and passed to the kernel. Cc: Signed-off-by: Kumar Gala --- Documentation/devicetree/bindings/arm/msm/ids.txt | 65

[PATCH v3 1/4] arm64: qcom: Add support for Qualcomm MSM8916 SoC

2015-03-11 Thread Kumar Gala
From: Abhimanyu Kapur Add support for Qualcomm MSM8916 SoC in arm64 Kconfig and defconfig. Enable MSM8916 clock, pin control, and MSM serial driver utilized by MSM8916 and Qualcomm SoCs in general. Signed-off-by: Kumar Gala Signed-off-by: Abhimanyu Kapur --- v3: * Dropped ARCH_REQUIRE_GPIOLIB

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Kumar Gala
On Mar 10, 2015, at 2:52 PM, Arnd Bergmann wrote: > On Tuesday 10 March 2015 13:10:08 Kumar Gala wrote: >>>>>>>>>>> The top level qcom,msm-id and qcom,board-id are utilized by >>>>>>>>>>> bootloaders >>&g

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Kumar Gala
>>>>>>>>> The top level qcom,msm-id and qcom,board-id are utilized by >>>>>>>>> bootloaders >>>>>>>>>> on Qualcomm MSM platforms to determine which device tree should be >>>>>>&g

Re: [RFC PATCH v15 02/11] ARM: qcom: Add Subsystem Power Manager (SPM) driver

2015-03-10 Thread Kumar Gala
On Mar 9, 2015, at 10:16 AM, Lina Iyer wrote: > SPM is a hardware block that controls the peripheral logic surrounding > the application cores (cpu/l$). When the core executes WFI instruction, > the SPM takes over the putting the core in low power state as > configured. The wake up for the SPM i

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Kumar Gala
On Mar 9, 2015, at 7:11 AM, Arnd Bergmann wrote: > On Friday 06 March 2015 14:37:52 Kumar Gala wrote: >> On Mar 6, 2015, at 1:15 PM, Olof Johansson wrote: >> >>> On Fri, Mar 6, 2015 at 8:08 AM, Kumar Gala wrote: >>>> >>>> On Mar 5, 2015, at 7:

Re: [Patch V7 02/10] ASoC: qcom: Document LPASS CPU bindings

2015-03-06 Thread Kumar Gala
On Mar 6, 2015, at 4:03 PM, Kenneth Westfield wrote: > On Fri, Mar 06, 2015 at 10:07:01AM -0600, Kumar Gala wrote: >> On Mar 5, 2015, at 7:51 PM, Kenneth Westfield >> wrote: >>> On Thu, Mar 05, 2015 at 12:52:30PM -0600, Kumar Gala wrote: >>>> On Mar 3,

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-06 Thread Kumar Gala
On Mar 6, 2015, at 1:15 PM, Olof Johansson wrote: > On Fri, Mar 6, 2015 at 8:08 AM, Kumar Gala wrote: >> >> On Mar 5, 2015, at 7:59 PM, Olof Johansson wrote: >> >>> On Thu, Mar 5, 2015 at 12:23 PM, Kumar Gala wrote: >>>> >>&g

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-06 Thread Kumar Gala
On Mar 5, 2015, at 7:59 PM, Olof Johansson wrote: > On Thu, Mar 5, 2015 at 12:23 PM, Kumar Gala wrote: >> >> On Mar 5, 2015, at 1:42 PM, Kevin Hilman wrote: >> >>> Kumar Gala writes: >>> >>>> The top level qcom,msm-id and qcom,board-

Re: [Patch V7 02/10] ASoC: qcom: Document LPASS CPU bindings

2015-03-06 Thread Kumar Gala
On Mar 5, 2015, at 7:51 PM, Kenneth Westfield wrote: > On Thu, Mar 05, 2015 at 12:52:30PM -0600, Kumar Gala wrote: >> >> On Mar 3, 2015, at 6:21 PM, Kenneth Westfield >> wrote: >> >>> +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-05 Thread Kumar Gala
On Mar 5, 2015, at 1:42 PM, Kevin Hilman wrote: > Kumar Gala writes: > >> The top level qcom,msm-id and qcom,board-id are utilized by bootloaders >> on Qualcomm MSM platforms to determine which device tree should be >> utilized and passed to the kernel. >> &

Re: [Patch V7 02/10] ASoC: qcom: Document LPASS CPU bindings

2015-03-05 Thread Kumar Gala
On Mar 3, 2015, at 6:21 PM, Kenneth Westfield wrote: > From: Kenneth Westfield > > Add documentation to the sound directory of the > device-tree bindings for the QTi LPASS CPU DAI > device. > > Signed-off-by: Kenneth Westfield > Acked-by: Banajit Goswami > --- > .../devicetree/bindings/soun

Re: [PATCH v2 2/3] arm64: qcom: Add support for Qualcomm MSM8916 SoC

2015-03-05 Thread Kumar Gala
On Mar 4, 2015, at 4:33 PM, Stephen Boyd wrote: > On 03/04/15 13:13, Kumar Gala wrote: >> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig >> index 1b8e973..4c8b119 100644 >> --- a/arch/arm64/Kconfig >> +++ b/arch/arm64/Kconfig >> @@ -177,6 +177,15 @@

Re: [PATCH] ARM: DT: apq8064: specify memory in dts file

2015-03-05 Thread Kumar Gala
On Mar 2, 2015, at 5:54 PM, Rob Clark wrote: > Seems required for kexec (where --atags support is mutually exclusive > with --dtb). > > Signed-off-by: Rob Clark > --- > arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dt

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-04 Thread Kumar Gala
On Mar 4, 2015, at 3:19 PM, Arnd Bergmann wrote: > On Wednesday 04 March 2015 15:13:20 Kumar Gala wrote: >> The top level qcom,msm-id and qcom,board-id are utilized by bootloaders >> on Qualcomm MSM platforms to determine which device tree should be >> utilized and

[PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-04 Thread Kumar Gala
The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine which device tree should be utilized and passed to the kernel. Cc: Signed-off-by: Kumar Gala --- Documentation/devicetree/bindings/arm/msm/ids.txt | 65

[PATCH v2 3/3] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-04 Thread Kumar Gala
Add initial device tree support for Qualcomm MSM8916 SoC and MTP8916 evaluation board. At the current time we only boot up a single processor. Signed-off-by: Kumar Gala --- v2: * Updated to dropping CONFIG_ARCH_QCOM_MSM8916 * Updated to use qcom-ids.h arch/arm64/boot/dts/Makefile

[PATCH v2 2/3] arm64: qcom: Add support for Qualcomm MSM8916 SoC

2015-03-04 Thread Kumar Gala
From: Abhimanyu Kapur Add support for Qualcomm MSM8916 SoC in arm64 Kconfig and defconfig. Enable MSM8916 clock, pin control, and MSM serial driver utilized by MSM8916 and Qualcomm SoCs in general. Signed-off-by: Kumar Gala Signed-off-by: Abhimanyu Kapur --- v2: * Dropped

[PATCH] arm: qcom: dts: gic: add compatible string for Qualcomm MSM GICs

2015-03-04 Thread Kumar Gala
Document the Qualcomm MSM GICs implementation as compatible with the ARM GIC standard. Signed-off-by: Kumar Gala --- Documentation/devicetree/bindings/arm/gic.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree

Re: [PATCH v3 3/3] firmware: qcom: scm: Support cpu power down through SCM

2015-03-02 Thread Kumar Gala
On Mar 2, 2015, at 2:30 PM, Lina Iyer wrote: > Support powering down the calling cpu, by trapping into SCM. This > termination function triggers the ARM cpu to execute WFI instruction, > causing the power controller to safely power the cpu down. > > Caches may be flushed before powering down th

[PATCH 1/2] arm64: qcom: Add support for Qualcomm MSM8916 SoC

2015-02-27 Thread Kumar Gala
From: Abhimanyu Kapur Add support for Qualcomm MSM8916 SoC in arm64 Kconfig and defconfig. Enable MSM serial driver utilized by MSM8916 and Qualcomm SoCs in general. Signed-off-by: Kumar Gala Signed-off-by: Abhimanyu Kapur --- arch/arm64/Kconfig | 18 ++ arch/arm64

[PATCH 2/2] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-02-27 Thread Kumar Gala
Add initial device tree support for Qualcomm MSM8916 SoC and MTP8916 evaluation board. At the current time we only boot up a single processor. Signed-off-by: Kumar Gala --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/qcom/Makefile | 5 + arch/arm64/boot/dts

Re: [PATCH v2] qcom: scm: Add qcom_scm_set_warm_boot_addr function

2015-02-27 Thread Kumar Gala
+int qcom_scm_set_warm_boot_addr(void *entry, int cpu) >>> >>> I’d really like to see if we could make the set_boot_addr and >>> set_warm_boot_addr have the same interfaces. >> >> I am working on making the interfaces similar. There is some check in >> the platsmp.c that uses the cold boot

Re: [PATCH v2] qcom: scm: Add qcom_scm_set_warm_boot_addr function

2015-02-27 Thread Kumar Gala
On Feb 27, 2015, at 3:51 PM, Lina Iyer wrote: > On Fri, Feb 27 2015 at 14:33 -0700, Kumar Gala wrote: >> >> On Feb 27, 2015, at 2:47 PM, Lina Iyer wrote: >> >>> A core can be powered down for cpuidle or when it is hotplugged off. In >>> either cas

Re: [PATCH 4/4] firmware: qcom: scm: Move the scm driver to drivers/firmware

2015-02-27 Thread Kumar Gala
On Feb 27, 2015, at 12:58 PM, Stephen Boyd wrote: > On 02/26/15 13:59, Kumar Gala wrote: >> Architectural changes in the ARM Linux kernel tree mandate the eventual >> removal of the mach-* directories. Move the scm driver to >> drivers/firmware and the scm header to inc

Re: [PATCH v2] qcom: scm: Add qcom_scm_set_warm_boot_addr function

2015-02-27 Thread Kumar Gala
On Feb 27, 2015, at 2:47 PM, Lina Iyer wrote: > A core can be powered down for cpuidle or when it is hotplugged off. In > either case, the warmboot return address would be different. Allow > setting the warmboot address for a specific cpu, optimize and write to > the firmware, if the address is

[PATCH 4/4] firmware: qcom: scm: Move the scm driver to drivers/firmware

2015-02-27 Thread Kumar Gala
Architectural changes in the ARM Linux kernel tree mandate the eventual removal of the mach-* directories. Move the scm driver to drivers/firmware and the scm header to include/linux to support that removal. Signed-off-by: Kumar Gala --- v2: * Moved to -M style diff output * Added in missing

Re: [PATCH 0/2] Add SCM warmboot support for QCOM SoCs

2015-02-27 Thread Kumar Gala
On Feb 27, 2015, at 2:07 PM, Lina Iyer wrote: > On Thu, Feb 26 2015 at 15:20 -0700, Lina Iyer wrote: >> On Thu, Feb 26 2015 at 15:10 -0700, Kumar Gala wrote: >>> >>> On Feb 25, 2015, at 4:54 PM, Lina Iyer wrote: >>> >>>> Hi, >>>>

Re: [PATCH 0/2] Add SCM warmboot support for QCOM SoCs

2015-02-26 Thread Kumar Gala
On Feb 25, 2015, at 4:54 PM, Lina Iyer wrote: > Hi, > > These patches used to be part of my cpuidle patchset, think these can go in > independently. > > The patches do the following - > > 1. Add QCOM Secure Monitor specific enumeration for warm boot on qcom targets > 2. Add an API to set up t

  1   2   3   4   5   >