Re: [PATCH v4 2/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-11-18 Thread Ivan T. Ivanov
On Mon, 2014-11-17 at 23:12 +0100, Hartmut Knaack wrote: Ivan T. Ivanov schrieb am 12.11.2014 09:55: On Tue, 2014-11-11 at 23:39 +0100, Hartmut Knaack wrote: Ivan T. Ivanov schrieb am 11.11.2014 09:21: Hi Hartmut, On Mon, 2014-11-10 at 22:11 +0100, Hartmut Knaack wrote:

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

2014-11-18 Thread Lina Iyer
On Fri, Nov 14 2014 at 15:46 -0700, Stephen Boyd wrote: On 10/24, Lina Iyer wrote: diff --git a/drivers/soc/qcom/spm.c b/drivers/soc/qcom/spm.c new file mode 100644 index 000..ee2e3ca --- /dev/null +++ b/drivers/soc/qcom/spm.c +#include linux/module.h +#include linux/kernel.h +#include

Re: [RFC/PATCH] ARM: Expose cpuid registers to userspace

2014-11-18 Thread Catalin Marinas
Stephen, On Tue, Oct 28, 2014 at 01:19:12AM +, Stephen Boyd wrote: Exporting all the different possible configurations of CPUID registers to userspace via hwcaps is going to explode the hwcaps. Emulate userspace cpuid register accesses and export a new cpuid hwcap instead so that

[PATCH 2/3] drm/msm/mdp5: introduce mdp5_cfg module

2014-11-18 Thread Stephane Viau
The hardware configuration modification from a version to another is quite consequent. Introducing a configuration module (mdp5_cfg) may make things more clear and easier to access when a new hardware version comes up. Signed-off-by: Stephane Viau sv...@codeaurora.org ---

[PATCH 3/3] drm/msm: add multiple CRTC and overlay support

2014-11-18 Thread Stephane Viau
MDP5 currently support one single CRTC with its private pipe. This change allows the configuration of multiple CRTCs with the possibility to attach several public planes to these CRTCs. Signed-off-by: Stephane Viau sv...@codeaurora.org --- drivers/gpu/drm/msm/Makefile| 1 +

[PATCH 0/3] Update SMP, add CFG and Overlay support

2014-11-18 Thread Stephane Viau
This patch set updates the SMP config for MDP5, introduces a Config module for easier platform config update and allows MDP5 driver to use multiple CRTCs as well as multiple planes (overlay). Stephane Viau (3): drm/msm/mdp5: make SMP module dynamically configurable drm/msm/mdp5: introduce

[PATCH 1/3] drm/msm/mdp5: make SMP module dynamically configurable

2014-11-18 Thread Stephane Viau
The Shared Memory Pool (SMP) has its own limitation, features and state. Some examples are: - the number of Memory Macro Block (MMB) and their size - the number of lines that can be fetched - the state of MMB currently allocated - the computation of number of blocks required per plane -

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

2014-11-18 Thread Lina Iyer
On Mon, Nov 17 2014 at 14:32 -0700, Daniel Lezcano wrote: On 10/25/2014 01:40 AM, Lina Iyer wrote: Hi Lina, [ ... ] +static inline void spm_register_write(struct spm_driver_data *drv, + enum spm_reg reg, u32 val) +{ + if

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

2014-11-18 Thread Bjorn Andersson
On Mon, Nov 17, 2014 at 1:32 PM, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 10/25/2014 01:40 AM, Lina Iyer wrote: Hi Lina, [ ... ] +static inline void spm_register_write(struct spm_driver_data *drv, + enum spm_reg reg, u32 val) +{ + if

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

2014-11-18 Thread Stephen Boyd
On 11/18/2014 08:56 AM, Lina Iyer wrote: On Fri, Nov 14 2014 at 15:46 -0700, Stephen Boyd wrote: On 10/24, Lina Iyer wrote: +{ +struct spm_driver_data *drv = this_cpu_ptr(cpu_spm_drv); +u32 start_index; +u32 ctl_val; + +if (!drv-available) +return -ENXIO; It