Re: [PATCH 3/5] ARM: dts: qcom: Add MSM8960 CDP RPM regulators

2015-07-23 Thread Andy Gross
On Tue, Jun 16, 2015 at 01:31:14PM -0700, Stephen Boyd wrote: Add RPM regulators and configure their constraints on the MSM8960 CDP so that we can control these supplies. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Applied, thanks -- Qualcomm Innovation Center, Inc. The Qualcomm

Re: [PATCH v2 09/11] ARM: dts: msm8974: Add smem reservation and node

2015-07-23 Thread Andy Gross
On Fri, Jun 26, 2015 at 02:50:17PM -0700, bj...@kryo.se wrote: From: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- Applied, thanks. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the

Re: [PATCH 5/5] ARM: qcom_defconfig: Enable options for KS8851 ethernet

2015-07-23 Thread Andy Gross
On Tue, Jun 16, 2015 at 01:31:16PM -0700, Stephen Boyd wrote: Enable the RPM and RPM regulator drivers as well as the KS8851 ethernet driver so that ethernet works on MSM8960 CDP. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Applied, thanks! -- Qualcomm Innovation Center, Inc. The

Re: [PATCH 2/5] ARM: dts: qcom: Add MSM8960 RPM and RPM regulator nodes

2015-07-23 Thread Andy Gross
On Tue, Jun 16, 2015 at 01:31:13PM -0700, Stephen Boyd wrote: Add the basic RPM and RPM regulator nodes that boards can fill in with their board specific details. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Applied, thanks -- Qualcomm Innovation Center, Inc. The Qualcomm

Re: [PATCH 4/5] ARM: dts: qcom: Add ks8851 node for wired ethernet

2015-07-23 Thread Andy Gross
On Tue, Jun 16, 2015 at 01:31:15PM -0700, Stephen Boyd wrote: The micrel ks8851 device is present on MSM8960 CDP boards. It is connected to two regulators, one controlled via a gpio and another controlled via the RPM. Add the gsbi, spi, gpio regulator, and micrel ks8851 nodes so that ethernet

Re: [PATCH v2 02/11] soc: qcom: Add Shared Memory Manager driver

2015-07-23 Thread Andy Gross
On Fri, Jun 26, 2015 at 02:50:10PM -0700, bj...@kryo.se wrote: From: Bjorn Andersson bjorn.anders...@sonymobile.com The Shared Memory Manager driver implements an interface for allocating and accessing items in the memory area shared among all of the processors in a Qualcomm platform.

Re: [PATCH 3/3] ARM: dts: qcom: Replace gpio node with pinctrl node

2015-07-23 Thread Andy Gross
On Fri, Jun 05, 2015 at 03:52:25PM -0700, Bjorn Andersson wrote: Replace the standalone gpio driver with pinctrl-msm as we now have msm8660 support there. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- Applied, thanks! -- Qualcomm Innovation Center, Inc. The Qualcomm

Re: [PATCH v2 05/11] mfd: devicetree: bindings: Add Qualcomm SMD based RPM DT binding

2015-07-23 Thread Lee Jones
On Mon, 13 Jul 2015, Bjorn Andersson wrote: On Tue 07 Jul 05:16 PDT 2015, Lee Jones wrote: FAO Mark and DT chaps, From: Bjorn Andersson bjorn.anders...@sonymobile.com Add binding documentation for the Qualcomm Resource Power Manager (RPM) using shared memory (Qualcomm SMD) as

Re: [PATCH v2 06/11] mfd: qcom-smd-rpm: Driver for the Qualcomm RPM over SMD

2015-07-23 Thread Lee Jones
On Mon, 13 Jul 2015, Bjorn Andersson wrote: On Tue 07 Jul 05:37 PDT 2015, Lee Jones wrote: On Fri, 26 Jun 2015, bj...@kryo.se wrote: From: Bjorn Andersson bjorn.anders...@sonymobile.com [..] diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig [..] +config

[PATCH] backlight: pm8941-wled: Add default-brightness property

2015-07-23 Thread Bjorn Andersson
Add the possibility of specifying the default brightness in DT. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- This depends on the patch moving pm8941-wled to backlight [1]. The dt property is used by several other backlight drivers, so I considered this to be a common

Re: [PATCH] drivers: qcom: Select QCOM_SCM unconditionally for QCOM_PM

2015-07-23 Thread Andy Gross
On Tue, Jul 14, 2015 at 04:54:12PM -0500, Andy Gross wrote: On Fri, Jul 10, 2015 at 02:18:00PM -0600, Lina Iyer wrote: Enable QCOM_SCM for QCOM power management driver Signed-off-by: Lina Iyer lina.i...@linaro.org Acked-by: Andy Gross agr...@codeaurora.org Applied. -- Qualcomm

Re: [PATCH 1/5] ARM: dts: qcom: Replace gpio node with pinctrl node

2015-07-23 Thread Andy Gross
On Tue, Jun 16, 2015 at 01:31:12PM -0700, Stephen Boyd wrote: Now that we have a proper pinctrl driver for the gpio block we can change the compatible field here and configure the pinmux on msm8960 devices. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Applied, thanks -- Qualcomm

Re: [PATCH v2 08/11] ARM: dts: msm8974: Add tcsr mutex node

2015-07-23 Thread Andy Gross
On Fri, Jun 26, 2015 at 02:50:16PM -0700, bj...@kryo.se wrote: From: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- arch/arm/boot/dts/qcom-msm8974.dtsi | 12 1 file changed, 12 insertions(+) Applied, thanks!

Re: [PATCH v2 7/8] mfd: pm8921: Implement irq_get_irqchip_state

2015-07-23 Thread Lee Jones
On Tue, 14 Jul 2015, Bjorn Andersson wrote: Implement irq_chip-irq_get_irqchip_state to make it possible for PMIC block drivers to access the IRQ real time status bits. The status bits are used for various kinds of input signals, e.g. GPIO. Signed-off-by: Bjorn Andersson

Re: [PATCH v8 8/9] nvmem: sunxi: Move the SID driver to the nvmem framework

2015-07-23 Thread Srinivas Kandagatla
On 21/07/15 17:38, Stefan Wahren wrote: Hi Srinivas, Srinivas Kandagatla srinivas.kandaga...@linaro.org hat am 20. Juli 2015 um 16:44 geschrieben: From: Maxime Ripard maxime.rip...@free-electrons.com Now that we have the nvmem framework, we can consolidate the common driver code. Move the

Re: [PATCH v8 8/9] nvmem: sunxi: Move the SID driver to the nvmem framework

2015-07-23 Thread Srinivas Kandagatla
On 23/07/15 16:18, Stefan Wahren wrote: Hi Srinivas, Am 20.07.2015 um 16:44 schrieb Srinivas Kandagatla: From: Maxime Ripard maxime.rip...@free-electrons.com Now that we have the nvmem framework, we can consolidate the common driver code. Move the driver to the framework, and hopefully, it

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-23 Thread Srinivas Kandagatla
On 23/07/15 16:26, Stefan Wahren wrote: Hi Srinivas, Am 20.07.2015 um 16:43 schrieb Srinivas Kandagatla: This patch adds just providers part of the framework just to enable easy review. Up until now, NVMEM drivers like eeprom were stored in drivers/misc, where they all had to duplicate

Re: drm: msm: run into issues

2015-07-23 Thread Rob Clark
On Thu, Jul 23, 2015 at 5:02 AM, Stanimir Varbanov stanimir.varba...@linaro.org wrote: Hi Rob, I run into issues with msm drm driver while implementing a test application which use v4l2 vidc (venus) decoder driver to decode videos and msm drm driver to display the decoded frames. The v4l2

Re: [PATCH v8 8/9] nvmem: sunxi: Move the SID driver to the nvmem framework

2015-07-23 Thread Stefan Wahren
Hi Srinivas, Am 20.07.2015 um 16:44 schrieb Srinivas Kandagatla: From: Maxime Ripard maxime.rip...@free-electrons.com Now that we have the nvmem framework, we can consolidate the common driver code. Move the driver to the framework, and hopefully, it will fix the sysfs file creation race.

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-23 Thread Stefan Wahren
Hi Srinivas, Am 20.07.2015 um 16:43 schrieb Srinivas Kandagatla: This patch adds just providers part of the framework just to enable easy review. Up until now, NVMEM drivers like eeprom were stored in drivers/misc, where they all had to duplicate pretty much the same code to register a

Re: [PATCH v2 05/11] mfd: devicetree: bindings: Add Qualcomm SMD based RPM DT binding

2015-07-23 Thread Mark Brown
On Thu, Jul 23, 2015 at 09:41:28AM -0700, Bjorn Andersson wrote: We still need Mark to look at this. Mark, would you mind giving us a statement on the regulator subnode of this binding? I have no idea what's going on here, sorry. I've not been reading this thread. signature.asc

Re: drm: msm: run into issues

2015-07-23 Thread Rob Clark
On Thu, Jul 23, 2015 at 12:23 PM, Stanimir Varbanov svarba...@mm-sol.com wrote: On 07/23/2015 06:59 PM, Rob Clark wrote: On Thu, Jul 23, 2015 at 5:02 AM, Stanimir Varbanov stanimir.varba...@linaro.org wrote: Hi Rob, I run into issues with msm drm driver while implementing a test application

Re: [PATCH v6 01/13] clk: qcom: Add support for GDSCs

2015-07-23 Thread Stephen Boyd
On 07/23/2015 02:09 AM, Stanimir Varbanov wrote: snip + +void gdsc_unregister(struct device *dev) +{ +of_genpd_del_provider(dev-of_node); +} EXPORT_SYMBOL? Stephen, gdsc_register/unregister are internal to the qcom clk driver why to export them? Ah, I thought this was being called

[PATCH] drm/msm: fix msm_gem_prime_get_sg_table()

2015-07-23 Thread Rob Clark
We need to return a new sgt, since the caller takes ownership of it. Reported-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Rob Clark robdcl...@gmail.com --- drivers/gpu/drm/msm/msm_gem_prime.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

Re: drm: msm: run into issues

2015-07-23 Thread Stanimir Varbanov
On 07/23/2015 06:59 PM, Rob Clark wrote: On Thu, Jul 23, 2015 at 5:02 AM, Stanimir Varbanov stanimir.varba...@linaro.org wrote: Hi Rob, I run into issues with msm drm driver while implementing a test application which use v4l2 vidc (venus) decoder driver to decode videos and msm drm driver

Re: [PATCH v2 05/11] mfd: devicetree: bindings: Add Qualcomm SMD based RPM DT binding

2015-07-23 Thread Bjorn Andersson
On Thu 23 Jul 06:31 PDT 2015, Lee Jones wrote: On Mon, 13 Jul 2015, Bjorn Andersson wrote: On Tue 07 Jul 05:16 PDT 2015, Lee Jones wrote: FAO Mark and DT chaps, From: Bjorn Andersson bjorn.anders...@sonymobile.com Add binding documentation for the Qualcomm Resource

Re: [PATCH v2 06/11] mfd: qcom-smd-rpm: Driver for the Qualcomm RPM over SMD

2015-07-23 Thread Bjorn Andersson
On Thu 23 Jul 06:22 PDT 2015, Lee Jones wrote: On Mon, 13 Jul 2015, Bjorn Andersson wrote: On Tue 07 Jul 05:37 PDT 2015, Lee Jones wrote: On Fri, 26 Jun 2015, bj...@kryo.se wrote: From: Bjorn Andersson bjorn.anders...@sonymobile.com [..] diff --git

Re: [PATCH v6 03/13] clk: qcom: gdsc: Use PM clocks to control gdsc clocks

2015-07-23 Thread Stanimir Varbanov
On 07/23/2015 11:34 AM, Rajendra Nayak wrote: On 07/23/2015 06:31 AM, Stephen Boyd wrote: On 07/22/2015 12:10 AM, Rajendra Nayak wrote: @@ -104,6 +105,37 @@ static int gdsc_disable(struct generic_pm_domain *domain) return gdsc_toggle_logic(sc, false); } +static int

Re: [PATCH v6 08/13] clk: qcom: gdsc: Add GDSCs in msm8916 GCC

2015-07-23 Thread Rajendra Nayak
On 07/23/2015 06:37 AM, Stephen Boyd wrote: On 07/22/2015 12:11 AM, Rajendra Nayak wrote: @@ -2562,6 +2563,47 @@ static struct clk_branch gcc_venus0_vcodec0_clk = { }, }; +static struct gdsc venus_gdsc = { +.gdscr = 0x4c018, +.pd = { +.name = venus, +}, +.pwrsts

Re: [PATCH v6 01/13] clk: qcom: Add support for GDSCs

2015-07-23 Thread Rajendra Nayak
On 07/23/2015 05:55 AM, Stephen Boyd wrote: On 07/22/2015 12:10 AM, Rajendra Nayak wrote: diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index 59d1666..a7c2eea 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -39,6 +39,11 @@ config IPQ_LCC_806X

Re: [PATCH v6 04/13] clk: qcom: gdsc: Manage clocks with !CONFIG_PM

2015-07-23 Thread Rajendra Nayak
[].. + +#ifndef CONFIG_PM +static void enable_clock(struct device *dev, const char *con_id) +{ +struct clk *clk; + +clk = clk_get(dev, con_id); +if (!IS_ERR(clk)) { +clk_prepare_enable(clk); +clk_put(clk); +} +} + +static void disable_clock(struct device *dev,

Re: [PATCH v6 03/13] clk: qcom: gdsc: Use PM clocks to control gdsc clocks

2015-07-23 Thread Rajendra Nayak
On 07/23/2015 06:31 AM, Stephen Boyd wrote: On 07/22/2015 12:10 AM, Rajendra Nayak wrote: @@ -104,6 +105,37 @@ static int gdsc_disable(struct generic_pm_domain *domain) return gdsc_toggle_logic(sc, false); } +static int gdsc_attach(struct generic_pm_domain *domain, struct device *dev)

Re: [PATCH v6 03/13] clk: qcom: gdsc: Use PM clocks to control gdsc clocks

2015-07-23 Thread Rajendra Nayak
On 07/23/2015 02:52 PM, Stanimir Varbanov wrote: On 07/23/2015 11:34 AM, Rajendra Nayak wrote: On 07/23/2015 06:31 AM, Stephen Boyd wrote: On 07/22/2015 12:10 AM, Rajendra Nayak wrote: @@ -104,6 +105,37 @@ static int gdsc_disable(struct generic_pm_domain *domain) return