Re: [PATCH v1] clk: qcom: Add MSM8916 Global Clock Controller support

2015-02-25 Thread Archit Taneja
Hi Georgi, On 02/24/2015 09:19 PM, Georgi Djakov wrote: On 02/24/2015 06:49 AM, Archit Taneja wrote: Hi, [..] + +static struct freq_tbl ftbl_gcc_mdss_pclk[] = { +{ .src = P_DSI0_PHYPLL_DSI }, +{ } +}; + +static struct clk_rcg2 pclk0_clk_src = { +.cmd_rcgr = 0x4d084, This should

[PATCH v2] clk: qcom: Add MSM8916 Global Clock Controller support

2015-02-25 Thread Georgi Djakov
This patch adds support for the global clock controller found on the MSM8916 based devices. It allows the various device drivers to probe and control their clocks and resets. Signed-off-by: Georgi Djakov georgi.dja...@linaro.org --- Changes since v1: * Addressed comments from Stephen Boyd and

Re: [PATCH v2 2/2] ARM: perf: Add support for Scorpion PMUs

2015-02-25 Thread Ashwin Chaugule
On 24 February 2015 at 12:23, Ashwin Chaugule ashwin.chaug...@linaro.org wrote: On 20 February 2015 at 15:16, Stephen Boyd sb...@codeaurora.org wrote: On 02/20, Will Deacon wrote: On Fri, Feb 13, 2015 at 06:24:09PM +, Stephen Boyd wrote: +static void scorpion_evt_setup(int idx, u32

Re: [v3 2/2] ARM: qcom: dts: Add tsens thermal data

2015-02-25 Thread Eduardo Valentin
On Mon, Feb 23, 2015 at 10:47:22PM -0800, Narendran Rajan wrote: This patch adds dtsi file to contain thermal data for tsens sensors present in qcom A family chipsets (msm8660, ipq8064 etc). The data enables cooling with CPUfreq cooling device at 60C and thermal shutdown at 100C This

Re: [PATCH 0/3] MSM8960 LCC fixes

2015-02-25 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-29 15:38:10) A couple of small fixes found while testing the audio clock control on apq8064. Applied to clk-fixes. Regards, Mike Stephen Boyd (3): clk: qcom: lcc-msm8960: Fix slimbus n and m val offsets clk: qcom: lcc-msm8960: Fix PLL rate detection

Re: [v3 1/2] thermal: Add qcom tsens thermal sensor driver

2015-02-25 Thread Eduardo Valentin
On Mon, Feb 23, 2015 at 10:47:21PM -0800, Narendran Rajan wrote: TSENS supports reading temperature from multiple thermal sensors present in QCOM SOCs. TSENS HW is enabled only when the main sensor is requested. TSENS block is disabled if the main senors is disabled irrespective of any other

Re: [PATCH] clk: qcom: Properly change rates for ahbix clock

2015-02-25 Thread Kenneth Westfield
On Wed, Feb 25, 2015 at 02:32:07PM -0800, Stephen Boyd wrote: The ahbix clock can never be turned off. To switch the rates we need to switch the mux off the M/N counter to an always on source (XO), reprogram the M/N counter to get the rate we want and finally switch back to the M/N counter.

Re: [PATCH v2] spi: qup: Add DMA capabilities

2015-02-25 Thread Mark Brown
On Tue, Feb 24, 2015 at 06:08:54PM +0200, Stanimir Varbanov wrote: yes, there is a potential race between atomic_inc and dma callback. I reordered these calls to save few checks, and now it returns to me. I imagine few options here: - reorder the dmaengine calls and atomic operations, i.e.

Re: [Patch] ASoC: max98357a: Use standard DAI names

2015-02-25 Thread Mark Brown
On Tue, Feb 24, 2015 at 10:39:04PM -0800, Kenneth Westfield wrote: From: Kenneth Westfield kwest...@codeaurora.org Use the standard naming convention for the codec DAI. Applied, thanks. Please pay attention to who you're CCing and try to only include relevant people/lists - mail volumes are

[PATCH 1/2] ARM: qcom: Add SCM warmboot flags for quad core targets.

2015-02-25 Thread Lina Iyer
Quad core targets like APQ8074, APQ8064, APQ8084 need SCM support set up warm boot addresses in the Secure Monitor. Extend the SCM flags to support warmboot addresses for secondary cores. Signed-off-by: Lina Iyer lina.i...@linaro.org Signed-off-by: Kumar Gala ga...@codeaurora.org ---

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

2015-02-25 Thread Lina Iyer
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 the warmboot address. Consolidate the warm boot flags into the

Re: [PATCH 0/5] Rename regulator_set_optimum_mode

2015-02-25 Thread Bjorn Andersson
On Wed, Feb 11, 2015 at 7:35 PM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Changing the name of the regulator_set_optimum_mode() to regulator_set_load() better reflects that the API is doing. Any comments on this? I'm going to propose a patch to the mmc framework calling this api,

[PATCH] clk: qcom: Properly change rates for ahbix clock

2015-02-25 Thread Stephen Boyd
The ahbix clock can never be turned off. To switch the rates we need to switch the mux off the M/N counter to an always on source (XO), reprogram the M/N counter to get the rate we want and finally switch back to the M/N counter. Add a new ops structure for this type of clock so that we can set

RE: [v3 1/2] thermal: Add qcom tsens thermal sensor driver

2015-02-25 Thread Narendran Rajan
-Original Message- From: linux-arm-msm-ow...@vger.kernel.org [mailto:linux-arm-msm- ow...@vger.kernel.org] On Behalf Of Eduardo Valentin Sent: Wednesday, February 25, 2015 11:44 AM To: Narendran Rajan Cc: Zhang Rui; Linux ARM MSM; Linux PM; Siddartha Mohanadoss; Stephen Boyd

RE: [v3 2/2] ARM: qcom: dts: Add tsens thermal data

2015-02-25 Thread Narendran Rajan
-Original Message- From: linux-arm-msm-ow...@vger.kernel.org [mailto:linux-arm-msm- ow...@vger.kernel.org] On Behalf Of Eduardo Valentin Sent: Wednesday, February 25, 2015 11:45 AM To: Narendran Rajan Cc: Zhang Rui; Linux ARM MSM; Linux PM Subject: Re: [v3 2/2] ARM: qcom: dts: Add

Re: [Patch V6 08/10] ASoC: qcom: Add ability to build QCOM drivers

2015-02-25 Thread Srinivas Kandagatla
On 25/02/15 06:39, Kenneth Westfield wrote: From: Kenneth Westfield kwest...@codeaurora.org Define the LPASS platform driver, the LPASS CPU DAI driver and the Storm machine driver configurations, and how to build them. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: