[PATCH] drm/msm: change to uninterruptible wait in atomic commit

2015-06-22 Thread Wentao Xu
The atomic commit cannot easily undo and return an error once the state is swapped. Change to uninterruptible wait, and ignore the timeout error. Signed-off-by: Wentao Xu went...@codeaurora.org --- drivers/gpu/drm/msm/msm_atomic.c | 8 ++-- drivers/gpu/drm/msm/msm_drv.c| 13

Re: [PATCH 1/3] drm/msm: dsi host: add missing of_node_put()

2015-06-22 Thread Srinivas Kandagatla
On 22/06/15 15:54, Archit Taneja wrote: Decrement device node refcount if of_get_child_by_name is successfully called. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/3] drm/msm: dsi host: Use device graph parsing to parse connected panel

2015-06-22 Thread Archit Taneja
The dsi host looks for the connected panel node by parsing for a child named 'panel'. This hierarchy isn't very flexible. The connected panel is forced to be a child to the dsi host, and hence, a mipi dsi device. This isn't suitable for dsi devices that don't use mipi dsi as their control bus.

[PATCH 3/3] drm/msm: mdp4 lvds: get panel node via of graph parsing

2015-06-22 Thread Archit Taneja
We currently get the output connected to LVDS by looking for a phandle called 'qcom,lvds-panel' under the mdp DT node. Use the more standard of_graph approach to create an lvds output port, and retrieve the panel node from the port's endpoint data. Signed-off-by: Archit Taneja

[PATCH 0/3] drm/msm: Use device graph to parse connected panels

2015-06-22 Thread Archit Taneja
drm/msm currently relies on phandles/child nodes to get data about connected panels to LVDS and DSI. This method has known limitations. Use device graphs in DT to represent the connections between the encoder outputs and the panels. Use of_graph helpers in the driver to get the panel device node.

[PATCH 1/3] drm/msm: dsi host: add missing of_node_put()

2015-06-22 Thread Archit Taneja
Decrement device node refcount if of_get_child_by_name is successfully called. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c

[PATCH v2] trace/events: add chip name and hwirq to irq entry tracepoint

2015-06-22 Thread Ankit Gupta
Add chip name and hw-irq number to the trace_irq_handler_entry() tracepoint. When tracing interrupt events the chip-name and hw-irq numbers are stable and known in advance. This makes them a better choice as a filtering criteria for the trace buffer dump. On the flipside, the os-irq numbers are

[PATCH v6 5/9] Documentation: nvmem: add nvmem api level and how-to doc

2015-06-22 Thread Srinivas Kandagatla
This patch add basic how-to and api summary documentation for simple NVMEM framework. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- Documentation/nvmem/nvmem.txt | 151 ++ 1 file changed, 151 insertions(+) create mode 100644

[PATCH v6 3/9] nvmem: Add nvmem_device based consumer apis.

2015-06-22 Thread Srinivas Kandagatla
This patch adds read/write apis which are based on nvmem_device. It is common that the drivers like omap cape manager or qcom cpr driver to access bytes directly at particular offset in the eeprom and not from nvmem cell info in DT. These driver would need to get access to the nvmem directly,

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

2015-06-22 Thread 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. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

[PATCH v6 7/9] nvmem: qfprom: Add bindings for qfprom

2015-06-22 Thread Srinivas Kandagatla
This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver is based on simple nvmem framework. Reviewed-by: Stephen Boyd sb...@codeaurora.org Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- Documentation/devicetree/bindings/nvmem/qfprom.txt | 35

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

2015-06-22 Thread 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 sysfs file, allow in-kernel users to access the content of the devices they

[PATCH v6 2/9] nvmem: Add a simple NVMEM framework for consumers

2015-06-22 Thread Srinivas Kandagatla
This patch adds just consumers part of the framework just to enable easy review. Up until now, nvmem drivers were stored in drivers/misc, where they all had to duplicate pretty much the same code to register a sysfs file, allow in-kernel users to access the content of the devices they were

[PATCH v6 0/9] Add simple NVMEM Framework via regmap.

2015-06-22 Thread Srinivas Kandagatla
Thankyou all for providing inputs and comments on previous versions of this patchset. Here is the v6 of the patchset addressing all the issues raised as part of previous versions review. This patchset adds a new simple NVMEM framework to kernel, and it is tested with various drivers like QCOM

[PATCH RESEND V3] spmi: add command tracepoints for SPMI

2015-06-22 Thread Ankit Gupta
Add tracepoints to retrieve information about read, write and non-data commands. For performance measurement support tracepoints are added at the beginning and at the end of transfers. Following is a list showing the new tracepoint events. The cmd parameter here represents the opcode, SID, and

Re: [PATCH] drm/msm/mdp5: release SMB(shared memory blocks) in various cases

2015-06-22 Thread Archit Taneja
On 06/19/2015 11:33 PM, Wentao Xu wrote: Release all blocks after the pipe is disabled, even when vsync didn't happen in some error cases. Allow requesting SMB multiple times before configuring to hardware, by releasing blocks not programmed to hardware yet for shrinking case. Tested-by:

Re: [PATCH 1/2] arm64: qcom: Add define for ARMv8 implementer (MIDR)

2015-06-22 Thread Catalin Marinas
On Fri, Jun 19, 2015 at 05:28:53PM -0500, Timur Tabi wrote: On 06/15/2015 05:59 AM, Catalin Marinas wrote: I think this patch together with the second one could go through the kvm tree. For the core arm64 part: Acked-by: Catalin Marinascatalin.mari...@arm.com Suzuki Poulose posted a patch

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

2015-06-22 Thread Joe Perches
On Tue, 2015-06-23 at 00:08 +0100, Srinivas Kandagatla wrote: This patch adds just providers part of the framework just to enable easy review. [] include/linux/nvmem-provider.h | 54 ++ Unless there are going to be users of nvmem-provider.h outside of the drivers/nvmem directory, perhaps

Re: [PATCH 1/3] drm/msm: dsi host: add missing of_node_put()

2015-06-22 Thread Archit Taneja
On 06/22/2015 09:30 PM, Srinivas Kandagatla wrote: On 22/06/15 15:54, Archit Taneja wrote: Decrement device node refcount if of_get_child_by_name is successfully called. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ 1 file changed, 2

Re: [PATCH 1/2] arm64: qcom: Add define for ARMv8 implementer (MIDR)

2015-06-22 Thread Timur Tabi
Catalin Marinas wrote: So if the second patch is no longer needed, what's using this patch? I would defer merging it until actually required in some part of the kernel. Fair enough. -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member