[PATCH v13 09/10] arm: dts: qcom: Add idle states device nodes for 8084

2014-11-26 Thread Lina Iyer
Add ARM common idle states device bindings for cpuidle support for APQ 8084. Support standby and standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8084.dtsi | 20 +++

[PATCH v13 10/10] arm: dts: qcom: Add idle state device nodes for 8064

2014-11-26 Thread Lina Iyer
Add ARM common idle state device bindings for cpuidle support for APQ 8064. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8064.dtsi | 20

[PATCH v13 05/10] arm: dts: qcom: Add power-controller device node for 8084 Krait CPUs

2014-11-26 Thread Lina Iyer
Each Krait CPU in the QCOM 8084 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. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8

[PATCH v13 03/10] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Lina Iyer
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 is an interrupt at the GIC, which then completes the rest

[PATCH v13 04/10] arm: dts: qcom: Add power-controller device node for 8074 Krait CPUs

2014-11-26 Thread Lina Iyer
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. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom

[PATCH v13 07/10] qcom: cpuidle: Add cpuidle driver for QCOM cpus

2014-11-26 Thread Lina Iyer
Add cpuidle driver interface to allow cpus to go into idle states. Use the cpuidle DT interface, common across ARM architectures, to provide the idle state information to the cpuidle framework. Supported modes at this time are Standby and Standalone Power Collapse. Signed-off-by: Lina Iyer Acked

[PATCH v13 06/10] arm: dts: qcom: Update power-controller device node for 8064 Krait CPUs

2014-11-26 Thread Lina Iyer
Update the SAW2 DT bindings to add qcom,apq8064-saw2-v1.1-cpu compatible binding string to configure SPM registers and allow the SPM to put the core in deeper idle states when the core is idle. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8064.dtsi | 16 +

[PATCH v13 08/10] arm: dts: qcom: Add idle states device nodes for 8074

2014-11-26 Thread Lina Iyer
Add ARM common idle states device bindings for cpuidle support for APQ 8074/8974. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8974.dtsi | 20 ++

[PATCH v13 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Lina Iyer
Quad core SoCs like APQ8074, APQ8064, APQ8084 need SCM support set up warm boot addresses in the Secure Monitor. Extend the SCM flags to support warm boot addresses for secondary cores. We do not need to export the warmboot flags. Move them into the implementation file. Signed-off-by: Lina Iyer

[PATCH v13 00/10] cpuidle driver for QCOM SoCs: 8064, 8074, 8084

2014-11-26 Thread Lina Iyer
Dependent patchsets - https://lkml.org/lkml/2014/8/4/767 http://www.spinics.net/lists/linux-arm-msm/msg10799.html http://www.spinics.net/lists/linux-arm-msm/msg10795.html Changes since v12: - Minor fixes - Added Reviewed-by Changes since v11: - Address review comments on

[PATCH v13 01/10] qcom: scm: Move scm-boot files to drivers/soc/qcom/ and include/soc/qcom

2014-11-26 Thread Lina Iyer
Follow the scm.c and move scm-boot files to drivers/soc/qcom. The guidance is to clean files out from mach-qcom and move to drivers/soc area. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/mach-qcom/Makefile | 1 - arch/arm/mach-qcom/platsmp.c

Re: [PATCH] ARM: Update processor_modes for hyp and monitor mode

2014-11-26 Thread Stephen Boyd
On 11/17/2014 05:05 PM, Stephen Boyd wrote: If the kernel is running in hypervisor mode or monitor mode we'll print UK6_32 or UK10_32 if we call into __show_regs(). Let's update these strings to indicate the new modes that didn't exist when this code was written. Signed-off-by: Stephen Boyd ---

Re: [RFC 0/2] Qualcomm RPM sleep states

2014-11-26 Thread Stephen Boyd
On 11/26/2014 05:40 AM, Mark Brown wrote: On Tue, Nov 25, 2014 at 05:02:52PM -0800, Stephen Boyd wrote: On 11/25/2014 12:44 PM, Mark Brown wrote: I can't help but think that this all sounds like the RPM isn't mapping very well onto practical systems and needs revisiting in future versions...

Re: [PATCH 7/9] ASoC: qcom: Add ability to build QCOM drivers

2014-11-26 Thread Bryan Huntsman
On 11/25/2014 02:07 PM, Mark Brown wrote: > On Wed, Nov 19, 2014 at 10:52:47AM -0800, Kenneth Westfield wrote: > >> +++ b/sound/soc/qcom/Kconfig >> @@ -0,0 +1,43 @@ ... >> +# Permission to use, copy, modify, and/or distribute this software for any >> +# purpose with or without fee is hereby grante

Re: [PATCH v12 03/10] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Lina Iyer
On Wed, Nov 26 2014 at 17:53 -0700, Kevin Hilman wrote: Lina Iyer writes: 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

Re: [PATCH v12 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Stephen Boyd
On 11/26/2014 04:13 PM, Lina Iyer wrote: Quad core SoCs like APQ8074, APQ8064, APQ8084 need SCM support set up warm boot addresses in the Secure Monitor. Extend the SCM flags to support warm boot addresses for secondary cores. We do not need to export the warmboot flags. Move them into the imple

Re: [PATCH v12 03/10] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Kevin Hilman
Lina Iyer writes: > 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 is an interrupt at the GIC, wh

Re: [PATCH v12 03/10] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Lina Iyer
On Wed, Nov 26 2014 at 17:13 -0700, 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 is

[PATCH v12 04/10] arm: dts: qcom: Add power-controller device node for 8074 Krait CPUs

2014-11-26 Thread Lina Iyer
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. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom

[PATCH v12 08/10] arm: dts: qcom: Add idle states device nodes for 8074

2014-11-26 Thread Lina Iyer
Add ARM common idle states device bindings for cpuidle support for APQ 8074/8974. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8974.dtsi | 20 ++

[PATCH v12 10/10] arm: dts: qcom: Add idle state device nodes for 8064

2014-11-26 Thread Lina Iyer
Add ARM common idle state device bindings for cpuidle support for APQ 8064. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8064.dtsi | 20

[PATCH v12 05/10] arm: dts: qcom: Add power-controller device node for 8084 Krait CPUs

2014-11-26 Thread Lina Iyer
Each Krait CPU in the QCOM 8084 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. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8

[PATCH v12 03/10] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Lina Iyer
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 is an interrupt at the GIC, which then completes the rest

[PATCH v12 06/10] arm: dts: qcom: Update power-controller device node for 8064 Krait CPUs

2014-11-26 Thread Lina Iyer
Update the SAW2 DT bindings to add qcom,apq8064-saw2-v1.1-cpu compatible binding string to configure SPM registers and allow the SPM to put the core in deeper idle states when the core is idle. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8064.dtsi | 16 +

[PATCH v12 01/10] qcom: scm: Move scm-boot files to drivers/soc/qcom/ and include/soc/qcom

2014-11-26 Thread Lina Iyer
Follow the scm.c and move scm-boot files to drivers/soc/qcom. The guidance is to clean files out from mach-qcom and move to drivers/soc area. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/mach-qcom/Makefile | 1 - arch/arm/mach-qcom/platsmp.c

[PATCH v12 09/10] arm: dts: qcom: Add idle states device nodes for 8084

2014-11-26 Thread Lina Iyer
Add ARM common idle states device bindings for cpuidle support for APQ 8084. Support standby and standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8084.dtsi | 20 +++

[PATCH v12 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Lina Iyer
Quad core SoCs like APQ8074, APQ8064, APQ8084 need SCM support set up warm boot addresses in the Secure Monitor. Extend the SCM flags to support warm boot addresses for secondary cores. We do not need to export the warmboot flags. Move them into the implementation file. Signed-off-by: Lina Iyer

[PATCH v12 07/10] qcom: cpuidle: Add cpuidle driver for QCOM cpus

2014-11-26 Thread Lina Iyer
Add cpuidle driver interface to allow cpus to go into idle states. Use the cpuidle DT interface, common across ARM architectures, to provide the idle state information to the cpuidle framework. Supported modes at this time are Standby and Standalone Power Collapse. Signed-off-by: Lina Iyer Acked

[PATCH v12 00/10] cpuidle driver for QCOM SoCs: 8064, 8074, 8084

2014-11-26 Thread Lina Iyer
Dependent patchsets - https://lkml.org/lkml/2014/8/4/767 http://www.spinics.net/lists/linux-arm-msm/msg10799.html http://www.spinics.net/lists/linux-arm-msm/msg10795.html Changes since v11: - Address review comments on spm.c - Commenting style fixes - Added Reviewed-by Ch

Re: [PATCH 1/4] drm/msm/hdmi: use HPD interrupt to track connector status change

2014-11-26 Thread Bjorn Andersson
On Wed, Nov 26, 2014 at 12:15 PM, Jilai Wang wrote: > HPD interrupt can be tracked for each connector, so don't need > to poll the connector status for state change. > > Change-Id: I2c062838af5922d32ce87a50676a45dcaedb44f2 Please remove the Change-Id when sending patches to the kernel. Regards,

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

2014-11-26 Thread Lina Iyer
On Wed, Nov 26 2014 at 15:42 -0700, Stephen Boyd wrote: On 11/26/2014 02:28 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

Re: [RFC 0/2] Qualcomm RPM sleep states

2014-11-26 Thread Bjorn Andersson
On Tue 25 Nov 12:44 PST 2014, Mark Brown wrote: > On Mon, Nov 24, 2014 at 01:19:47PM -0800, Stephen Boyd wrote: > > On 11/24/2014 10:16 AM, Mark Brown wrote: [..] > > respectively. The RPM regulator driver aggregates the active set for > > both the regulators via a max() operation and sends that

Re: [RFC 0/2] Qualcomm RPM sleep states

2014-11-26 Thread Bjorn Andersson
On Mon 24 Nov 16:02 PST 2014, Stephen Boyd wrote: > On 11/24/2014 01:59 PM, Bjorn Andersson wrote: > > On Mon 24 Nov 13:19 PST 2014, Stephen Boyd wrote: > > > > [..] > >> What exactly are we circumventing? I can only guess that we're talking > >> about the aggregation logic? > >> > > We're circumv

Re: [PATCH 07/10] qcom: cpuidle: Add cpuidle driver for QCOM cpus

2014-11-26 Thread Stephen Boyd
On 11/26/2014 02:28 PM, Lina Iyer wrote: + +static struct platform_driver qcom_cpuidle_plat_driver = { + .probe = qcom_cpuidle_probe, + .driver = { + .name = "qcom_cpuidle", + }, +}; + +module_platform_driver(qcom_cpuidle_plat_driver); Said this a few reviews ag

Re: [PATCH 05/10] arm: dts: qcom: Add power-controller device node for 8084 Krait CPUs

2014-11-26 Thread Stephen Boyd
On 11/26/2014 02:28 PM, Lina Iyer wrote: Each Krait CPU in the QCOM 8084 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. Signed-off-by: Lina Iyer Reviewed-by:

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

2014-11-26 Thread Stephen Boyd
On 11/26/2014 02:28 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. Signed-off-by: Lina Iyer Reviewed

Re: [PATCH 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Stephen Boyd
On 11/26/2014 02:28 PM, Lina Iyer wrote: Quad core SoCs like APQ8074, APQ8064, APQ8084 need SCM support set up warm boot addresses in the Secure Monitor. Extend the SCM flags to support warm boot addresses for secondary cores. We do not need to export the warmboot flags. Move them into the imple

[PATCH 10/10] arm: dts: qcom: Add idle state device nodes for 8064

2014-11-26 Thread Lina Iyer
Add ARM common idle state device bindings for cpuidle support for APQ 8064. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8064.dtsi | 20

[PATCH 08/10] arm: dts: qcom: Add idle states device nodes for 8074

2014-11-26 Thread Lina Iyer
Add ARM common idle states device bindings for cpuidle support for APQ 8074/8974. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8974.dtsi | 20 ++

[PATCH 06/10] arm: dts: qcom: Update power-controller device node for 8064 Krait CPUs

2014-11-26 Thread Lina Iyer
Update the SAW2 DT bindings to add qcom,apq8064-saw2-v1.1-cpu compatible binding string to configure SPM registers and allow the SPM to put the core in deeper idle states when the core is idle. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8064.dtsi | 16 +

[PATCH 09/10] arm: dts: qcom: Add idle states device nodes for 8084

2014-11-26 Thread Lina Iyer
Add ARM common idle states device bindings for cpuidle support for APQ 8084. Support standby and standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-apq8084.dtsi | 20 +++

[PATCH 03/10] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Lina Iyer
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 is an interrupt at the GIC, which then completes the rest

[PATCH 07/10] qcom: cpuidle: Add cpuidle driver for QCOM cpus

2014-11-26 Thread Lina Iyer
Add cpuidle driver interface to allow cpus to go into idle states. Use the cpuidle DT interface, common across ARM architectures, to provide the idle state information to the cpuidle framework. Supported modes at this time are Standby and Standalone Power Collapse. Signed-off-by: Lina Iyer Acked

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

2014-11-26 Thread Lina Iyer
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. Signed-off-by: Lina Iyer --- arch/arm/boot/dts/qcom-msm8974.dtsi | 26

[PATCH 05/10] arm: dts: qcom: Add power-controller device node for 8084 Krait CPUs

2014-11-26 Thread Lina Iyer
Each Krait CPU in the QCOM 8084 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. Signed-off-by: Lina Iyer --- arch/arm/boot/dts/qcom-apq8084.dtsi | 26 +

[PATCH v11 00/10] cpuidle driver for QCOM SoCs: 8064, 8074, 8084

2014-11-26 Thread Lina Iyer
Dependent patchsets - https://lkml.org/lkml/2014/8/4/767 http://www.spinics.net/lists/linux-arm-msm/msg10799.html http://www.spinics.net/lists/linux-arm-msm/msg10795.html Changes since v10: [ https://www.mail-archive.com/devicetree@vger.kernel.org/msg51880.html ] - Address

[PATCH 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Lina Iyer
Quad core SoCs like APQ8074, APQ8064, APQ8084 need SCM support set up warm boot addresses in the Secure Monitor. Extend the SCM flags to support warm boot addresses for secondary cores. We do not need to export the warmboot flags. Move them into the implementation file. Signed-off-by: Lina Iyer

[PATCH 01/10] qom: scm: Move scm-boot files to drivers/soc/qcom/ and include/soc/qcom

2014-11-26 Thread Lina Iyer
Follow the scm.c and move scm-boot files to drivers/soc/qcom. The guidance is to clean files out from mach-qcom and move to drivers/soc area. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd --- arch/arm/mach-qcom/Makefile | 1 - arch/arm/mach-qcom/platsmp.c

[PATCH v8 1/3] mfd: devicetree: bindings: Add Qualcomm RPM DT binding

2014-11-26 Thread Bjorn Andersson
Add binding for the Qualcomm Resource Power Manager (RPM) found in 8660, 8960 and 8064 based devices. Signed-off-by: Bjorn Andersson --- Removed regulator definition from this patch, as these needs more discussion to be able to implement SoC assisted power save features of the Qualcomm platforms

[PATCH v8 3/3] regulator: qcom-rpm: Add missing state flag in call to RPM

2014-11-26 Thread Bjorn Andersson
This adds the missing state parameter to the call down to the RPM. This is currently hard coded to the active state, as that's all we're supporting at this moment. Signed-off-by: Bjorn Andersson --- drivers/regulator/qcom_rpm-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/driver

[PATCH v8 2/3] mfd: qcom-rpm: Driver for the Qualcomm RPM

2014-11-26 Thread Bjorn Andersson
Driver for the Resource Power Manager (RPM) found in Qualcomm 8660, 8960 and 8064 based devices. The driver exposes resources that child drivers can operate on; to implementing regulator, clock and bus frequency drivers. Signed-off-by: Bjorn Andersson --- Lee, since your Acked-by earlier I've fo

[PATCH v8 0/3] Qualcomm Resource Power Manager

2014-11-26 Thread Bjorn Andersson
In order to support the SoC assisted power save features of the Qualcomm platform some changes are most likely needed to the regulator part of the DT bindings provided before. This version of the patchset carries the RPM core part, which allows us to move forward with merging Josh's patches [1] as

Re: [PATCH v9 2/9] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Daniel Lezcano
On 11/26/2014 07:04 PM, Kevin Hilman wrote: Oops, I thought I had sent this, but it was sitting in the drafts folder. Sending anyways because it looks like most of these issues still exist in v10. [ ... ] +* On some SoC's if the control registers are written first and if the +

Re: [PATCH v10 07/10] qcom: cpuidle: Add cpuidle driver for QCOM cpus

2014-11-26 Thread Lina Iyer
On Wed, Nov 26 2014 at 10:59 -0700, Lorenzo Pieralisi wrote: On Fri, Nov 21, 2014 at 06:03:54PM +, Lina Iyer wrote: Add cpuidle driver interface to allow cpus to go into C-States. Use the "idle states" please. Sorry. Done. Acked-by: Lorenzo Pieralisi -- To unsubscribe from this list:

[PATCH 4/4] drm/msm/hdmi: don't call clk_round_rate to check hdmi pclk for MDP5

2014-11-26 Thread Jilai Wang
clock driver can support dynamic rate settings for HDMI pixelclock, so don't need to use clk_round_rate to check if the clockrate for specific mode is supported therefore more display modes can be supported. Change-Id: I308df4eb604438c24df463619571d8e18cc956b6 Signed-off-by: Jilai Wang --- drive

Re: [PATCH v10 10/10] arm: dts: qcom: Add idle state device nodes for 8064

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: Add ARM common idle state device bindings for cpuidle support for APQ 8064. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer With nitpick addressed: Reviewed-by

[PATCH 3/4] drm/msm/hdmi: rework HDMI IRQ hanlder

2014-11-26 Thread Jilai Wang
Disable the HPD interrupt when acking it, to avoid spurious interrupt. Change-Id: Icb64d7fa813380c7ffa3047058503ebab13ff4c4 Signed-off-by: Jilai Wang --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi

Re: [PATCH v10 08/10] arm: dts: qcom: Add idle states device nodes for 8074

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: Add ARM common idle states device bindings for cpuidle support for APQ 8074/8974. Support Standby and Standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd -

[PATCH 2/4] drm/msm/hdmi: enable regulators before clocks to avoid warnings

2014-11-26 Thread Jilai Wang
HPD regulators need to be enabled before clocks, otherwise clock driver will report warning. Change-Id: Ieca41722ae3b15873e6290649a21bbd13e1a4278 Signed-off-by: Jilai Wang --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 45 +-- 1 file changed, 18 insertions(+), 27 del

Re: [PATCH v10 09/10] arm: dts: qcom: Add idle states device nodes for 8084

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: Add ARM common idle states device bindings for cpuidle support for APQ 8084. Support standby and standalone power collapse (power down that does not affect any SoC idle states) for each cpu. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd -- Qua

[PATCH 1/4] drm/msm/hdmi: use HPD interrupt to track connector status change

2014-11-26 Thread Jilai Wang
HPD interrupt can be tracked for each connector, so don't need to poll the connector status for state change. Change-Id: I2c062838af5922d32ce87a50676a45dcaedb44f2 Signed-off-by: Jilai Wang --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) di

Re: [PATCH v10 06/10] arm: dts: qcom: Update power-controller device node for 8064 Krait CPUs

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: Update the SAW2 DT bindings to add qcom,apq8064-saw2-v1.1-cpu compatible binding string to configure SPM registers and allow the SPM to put the core in deeper idle states when the core is idle. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd -- Qu

Re: [PATCH v10 05/10] arm: dts: qcom: Add power-controller device node for 8084 Krait CPUs

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: @@ -144,7 +148,27 @@ }; }; - saw_l2: regulator@f9012000 { + saw0: power-controller@f9089000 { + compatible = "qcom,apq8084-saw2-v2.1-cpu"; + reg = <0xf90

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

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: @@ -144,7 +148,27 @@ }; }; - saw_l2: regulator@f9012000 { + saw0: power-controller@f9089000 { + compatible = "qcom,msm8974-saw2-v2.1-cpu"; + reg = <0xf90

Re: [PATCH v10 03/10] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: + +static const struct platform_device_info qcom_cpuidle_info = { nitpick, why two spaces between info and qcom here? + .name = "qcom_cpuidle", + .id = -1, + .data = &lpm_ops, + .size_data = sizeof(lpm_ops), +}; This st

Re: [PATCH v10 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Lina Iyer
On Wed, Nov 26 2014 at 12:48 -0700, Stephen Boyd wrote: On 11/21/2014 10:03 AM, Lina Iyer wrote: @@ -37,3 +54,17 @@ int scm_set_boot_addr(phys_addr_t addr, int flags) &cmd, sizeof(cmd), NULL, 0); } EXPORT_SYMBOL(scm_set_boot_addr); + +int scm_set_warm_boot_addr(void *en

Re: [PATCH v10 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: @@ -37,3 +54,17 @@ int scm_set_boot_addr(phys_addr_t addr, int flags) &cmd, sizeof(cmd), NULL, 0); } EXPORT_SYMBOL(scm_set_boot_addr); + +int scm_set_warm_boot_addr(void *entry, int cpu) +{ + int ret; + + if (entry =

Re: [PATCH v10 07/10] qcom: cpuidle: Add cpuidle driver for QCOM cpus

2014-11-26 Thread Kevin Hilman
Daniel Lezcano writes: > On 11/21/2014 07:03 PM, Lina Iyer wrote: >> Add cpuidle driver interface to allow cpus to go into C-States. Use the >> cpuidle DT interface, common across ARM architectures, to provide the >> idle state information to the cpuidle framework. >> >> Supported modes at this t

Re: [PATCH v10 01/10] qom: scm: Move scm-boot files to drivers/soc/qcom/ and include/soc/qcom

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: Follow the scm.c and move scm-boot files to drivers/soc/qcom. The guidance is to clean files out from mach-qcom and move to drivers/soc area. Signed-off-by: Lina Iyer Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code A

Re: [PATCH v9 2/9] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Kevin Hilman
Oops, I thought I had sent this, but it was sitting in the drafts folder. Sending anyways because it looks like most of these issues still exist in v10. Lina Iyer writes: > SPM is a hardware block that controls the peripheral logic surrounding > the application cores (cpu/l$). When the core exe

Re: [PATCH v10 07/10] qcom: cpuidle: Add cpuidle driver for QCOM cpus

2014-11-26 Thread Lorenzo Pieralisi
On Fri, Nov 21, 2014 at 06:03:54PM +, Lina Iyer wrote: > Add cpuidle driver interface to allow cpus to go into C-States. Use the "idle states" please. > cpuidle DT interface, common across ARM architectures, to provide the > idle state information to the cpuidle framework. > > Supported mode

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

2014-11-26 Thread Bjorn Andersson
On Tue, Nov 25, 2014 at 11:55 AM, Timur Tabi wrote: > On Thu, Dec 5, 2013 at 8:10 PM, Bjorn Andersson > wrote: >> >> +static int msm_gpio_init(struct msm_pinctrl *pctrl) >> +{ >> + struct gpio_chip *chip; >> + int irq; >> + int ret; >> + int i; >> + int r; >> + >> +

Re: [PATCH v9 2/9] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Lina Iyer
On Wed, Nov 26 2014 at 08:20 -0700, Lina Iyer wrote: On Wed, Nov 26 2014 at 04:19 -0700, Daniel Lezcano wrote: On 11/19/2014 06:43 PM, Lina Iyer wrote: On Fri, Nov 14 2014 at 08:56 -0700, Daniel Lezcano wrote: On 10/25/2014 01:40 AM, Lina Iyer wrote: + +if ((cpu > -1) && !cpuidle_drv_

Re: [PATCH v9 2/9] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Lina Iyer
On Wed, Nov 26 2014 at 04:19 -0700, Daniel Lezcano wrote: On 11/19/2014 06:43 PM, Lina Iyer wrote: On Fri, Nov 14 2014 at 08:56 -0700, Daniel Lezcano wrote: On 10/25/2014 01:40 AM, Lina Iyer wrote: + +if ((cpu > -1) && !cpuidle_drv_init) { +platform_device_register(&qcom_cpuidl

Re: [RFC 0/2] Qualcomm RPM sleep states

2014-11-26 Thread Mark Brown
On Tue, Nov 25, 2014 at 05:02:52PM -0800, Stephen Boyd wrote: > On 11/25/2014 12:44 PM, Mark Brown wrote: > >I'm still quite confused here... > Hm... hopefully it's not getting worse. It is a bit, the story keeps changing a lot. > >I can't help but think that this all sounds like the RPM isn't

Re: [PATCH v9 2/9] qcom: spm: Add Subsystem Power Manager driver

2014-11-26 Thread Daniel Lezcano
On 11/19/2014 06:43 PM, Lina Iyer wrote: On Fri, Nov 14 2014 at 08:56 -0700, Daniel Lezcano wrote: On 10/25/2014 01:40 AM, Lina Iyer wrote: +/** + * spm_set_low_power_mode() - Configure SPM start address for low power mode + * @mode: SPM LPM mode to enter + */ +int qcom_spm_set_low_power_mode

Re: [PATCH v10 07/10] qcom: cpuidle: Add cpuidle driver for QCOM cpus

2014-11-26 Thread Daniel Lezcano
On 11/21/2014 07:03 PM, Lina Iyer wrote: Add cpuidle driver interface to allow cpus to go into C-States. Use the cpuidle DT interface, common across ARM architectures, to provide the idle state information to the cpuidle framework. Supported modes at this time are Standby and Standalone Power Co

Re: [PATCH v10 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Daniel Lezcano
On 11/21/2014 07:03 PM, Lina Iyer wrote: Quad core SoCs like APQ8074, APQ8064, APQ8084 need SCM support set up warm boot addresses in the Secure Monitor. Extend the SCM flags to support warm boot addresses for secondary cores. We do not need to export the warmboot flags. Move them into the imple