[PATCH v3 00/10] drm/msm/hdmi: HDMI support on MSM8996

2016-02-25 Thread Archit Taneja
commit messages to point out that HDMI functionality will break if we pull in the commits that adds the PHY driver, but not the commit that updates PHY/PLL register offsets. - Change the order of patches such that bisectability issues are reduced to a minimum. Archit Taneja (10): drm/msm/hdmi

[PATCH v2 7/7] drm/msm/dsi: Parse DSI lanes via DT

2016-02-25 Thread Archit Taneja
n Signed-off-by: Archit Taneja --- .../devicetree/bindings/display/msm/dsi.txt| 32 +- drivers/gpu/drm/msm/dsi/dsi_host.c | 116 + 2 files changed, 125 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/

[PATCH v2 6/7] drm/msm/dsi: Drop VDD regulator for MSM8916

2016-02-25 Thread Archit Taneja
VDD regulator input was specified for MSM8916. It turns our that this regulator is used for the display panels used on MSM8916 platforms, but not the DSI controller itself. Drop this regulator from the list. Reported-by: Vinay Simha Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi

[PATCH v2 5/7] drm/msm/dsi: Remove incorrect warning on host attach

2016-02-25 Thread Archit Taneja
ol bus, these are guaranteed to be different. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index 48f9967..69bac59 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_

[PATCH v2 4/7] drm/msm: Free fb helper resources in msm_unload

2016-02-25 Thread Archit Taneja
We have a msm_fbev_free function to uninit fb_helper stuff, but we aren't using it. Call it in msm_unload. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/msm_drv.c | 5 + drivers/gpu/drm/msm/msm_drv.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_drv.c

[PATCH v2 3/7] drm/msm/mdp: Detach iommu in mdp4_destroy

2016-02-25 Thread Archit Taneja
From: Sricharan R <sricha...@codeaurora.org> attach_dev gets called in mdp4_kms_init, but there is no corresponding detach_dev called in the error path or in the kms driver unload path. Detach and destroy mmu in mdp4_destroy. Signed-off-by: Sricharan R Signed-off-by: Archit

[PATCH v2 2/7] drm/msm: make iommu port names const'ier

2016-02-25 Thread Archit Taneja
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_iommu.c | 6 -- drivers/gpu/drm/msm/msm_mmu.h | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_iommu.c b/drivers/gpu/drm/msm/msm_iommu.c index

[PATCH v2 1/7] drm/msm/mdp: Use atomic helper to set crtc property

2016-02-25 Thread Archit Taneja
Assign drm_atomic_helper_crtc_set_property helper to MDP4 and MDP5 crtcs' set_property ops. This replaces the custom funcs that returned an error even for standard crtc properties. Signed-off-by: Archit Taneja Reviewed-by: Daniel Vetter --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 9

[PATCH v2 0/7] drm/msm: Misc patches

2016-02-25 Thread Archit Taneja
for the panels that connect to the dsi host. The downstream driver controlled it within the DSI driver itself, which led to the confusion. - Updated the DT bindings for parsing DSI data lanes - Added a patch to constify iommu port names - Fixed some checkpatch warnings. Archit Taneja (5): drm/msm/mdp

[PATCH v2 13/13] dt-bindings: msm/hdmi: Add HDMI PHY bindings

2016-02-25 Thread Archit Taneja
Hi Kishon, On 02/24/2016 05:30 PM, Kishon Vijay Abraham I wrote: > Hi Archit, > > On Tuesday 23 February 2016 03:06 PM, Archit Taneja wrote: >> >> >> On 02/23/2016 12:57 AM, Rob Herring wrote: >>> On Mon, Feb 22, 2016 at 5:07 AM, Archit Taneja >>>

[PATCH 6/6] drm/msm/dsi: Parse DSI lanes via DT

2016-02-24 Thread Archit Taneja
On 02/24/2016 01:34 AM, Rob Herring wrote: > On Tue, Feb 23, 2016 at 01:11:24PM +0200, Tomi Valkeinen wrote: >> >> >> On 23/02/16 12:43, Archit Taneja wrote: >>> >>> >>> On 02/23/2016 02:48 PM, Tomi Valkeinen wrote: >>>> >>>&

[PATCH 6/6] drm/msm/dsi: Parse DSI lanes via DT

2016-02-23 Thread Archit Taneja
On 02/23/2016 02:48 PM, Tomi Valkeinen wrote: > > On 22/02/16 22:10, Rob Herring wrote: > >>> If we want all DSI host controllers to use a common binding to describe >>> lanes, we'd need to go with the most flexible one, and the driver >>> restricts it to the subsets that we support. > > True,

[PATCH v2 13/13] dt-bindings: msm/hdmi: Add HDMI PHY bindings

2016-02-23 Thread Archit Taneja
On 02/23/2016 12:57 AM, Rob Herring wrote: > On Mon, Feb 22, 2016 at 5:07 AM, Archit Taneja > wrote: >> >> >> On 02/22/2016 08:24 AM, Rob Herring wrote: >>> >>> On Mon, Feb 15, 2016 at 12:23:26PM +0530, Archit Taneja wrote: >>>> >>

[PATCH v2 13/13] dt-bindings: msm/hdmi: Add HDMI PHY bindings

2016-02-22 Thread Archit Taneja
On 02/22/2016 08:24 AM, Rob Herring wrote: > On Mon, Feb 15, 2016 at 12:23:26PM +0530, Archit Taneja wrote: >> Add HDMI PHY bindings. Update the example to use HDMI PHY. >> >> Add a missing power-domains property in the HDMI core bindings. >> >> Cc: devicet

[PATCH 6/6] drm/msm/dsi: Parse DSI lanes via DT

2016-02-22 Thread Archit Taneja
On 02/22/2016 08:23 AM, Rob Herring wrote: > On Mon, Feb 15, 2016 at 06:30:59PM +0530, Archit Taneja wrote: >> The DSI driver is currently unaware of how the DSI clock and data pins >> are mapped to the logical lanes provided by the DSI controller. >> >> Use the

[PATCH 6/6] drm/msm/dsi: Parse DSI lanes via DT

2016-02-15 Thread Archit Taneja
at vger.kernel.org Cc: Rob Herring Cc: Tomi Valkeinen Signed-off-by: Archit Taneja --- .../devicetree/bindings/display/msm/dsi.txt| 26 +++- drivers/gpu/drm/msm/dsi/dsi_host.c | 146 ++--- 2 files changed, 149 insertions(+), 23 deletions(-) diff --git a/Documentation

[PATCH 5/6] drm/msm/dsi: Update the "vdd" voltage range

2016-02-15 Thread Archit Taneja
with this. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.c b/drivers/gpu/drm/msm/dsi/dsi_cfg.c index 2a827d8..53e58203 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_cfg.c +++ b/drivers

[PATCH 4/6] drm/msm/dsi: Remove incorrect warning on host attach

2016-02-15 Thread Archit Taneja
ol bus, these are guaranteed to be different. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index 48f9967..69bac59 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_

[PATCH 3/6] drm/msm: Free fb helper resources in msm_unload

2016-02-15 Thread Archit Taneja
We have a msm_fbev_free function to uninit fb_helper stuff, but we aren't using it. Call it in msm_unload. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/msm_drv.c | 5 + drivers/gpu/drm/msm/msm_drv.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_drv.c

[PATCH 2/6] drm/msm/mdp: Detach iommu in mdp4_destroy

2016-02-15 Thread Archit Taneja
From: Sricharan R <sricha...@codeaurora.org> attach_dev gets called in mdp4_kms_init, but there is no corresponding detach_dev called in the error path or in the kms driver unload path. Detach and destroy mmu in mdp4_destroy. Signed-off-by: Sricharan R Signed-off-by: Archit

[PATCH 1/6] drm/msm/mdp: Use atomic helper to set crtc property

2016-02-15 Thread Archit Taneja
Assign drm_atomic_helper_crtc_set_property helper to MDP4 and MDP5 crtcs' set_property ops. This replaces the custom funcs that returned an error even for standard crtc properties. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 9 + drivers/gpu/drm/msm/mdp

[PATCH 0/6] drm/msm: Misc patches

2016-02-15 Thread Archit Taneja
These are mainly small fixes in drm/msm. The last patch adds a way to parse DSI lanes information via DT. Archit Taneja (5): drm/msm/mdp: Use atomic helper to set crtc property drm/msm: Free fb helper resources in msm_unload drm/msm/dsi: Remove incorrect warning on host attach drm/msm/dsi

[PATCH v2 13/13] dt-bindings: msm/hdmi: Add HDMI PHY bindings

2016-02-15 Thread Archit Taneja
Add HDMI PHY bindings. Update the example to use HDMI PHY. Add a missing power-domains property in the HDMI core bindings. Cc: devicetree at vger.kernel.org Cc: Rob Herring Signed-off-by: Archit Taneja --- .../devicetree/bindings/display/msm/hdmi.txt | 39 +- 1 file

[PATCH v2 12/13] drm/msm/hdmi: HDMI 8996 PHY/PLL support

2016-02-15 Thread Archit Taneja
Add support for the HDMI PHY/PLL found in MSM8996/APQ8096. Unlike the previous phys supported in the driver, this doesn't need the powerup/powerdown ops. The PLL prepare/unprepare clock ops enable/disable the phy itself. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/Makefile

[PATCH v2 11/13] drm/msm/hdmi: Update generated headers for HDMI 8996 PHY

2016-02-15 Thread Archit Taneja
Adds HDMI 8996 PHY offsets. The offsets are divided into 3 parts: - Core HDMI PHY registers - HDMI PLL registers (part of QSERDES block) - HDMI TX lane registers (part of QSERDES block) Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.xml.h | 500

[PATCH v2 10/13] drm/msm/hdmi: Update generated headers to split PHY/PLL offsets

2016-02-15 Thread Archit Taneja
- Create separate domains for 8960 PHY and PLL - Create separate domains for 8x60 PHY Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.xml.h | 157 +--- 1 file changed, 74 insertions(+), 83 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi

[PATCH v2 09/13] drm/msm/hdmi: Convert PHY files according to new design

2016-02-15 Thread Archit Taneja
aren't updated to be used as separate domains. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.c | 25 +- drivers/gpu/drm/msm/hdmi/hdmi.h | 10 - drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 8 +- drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c | 493

[PATCH v2 08/13] drm/msm/hdmi: Make HDMI core get its PHY

2016-02-15 Thread Archit Taneja
Make HDMI core get its PHY by parsing the qcom,hdmi-phy phandle. The core will use this PHY reference to enable/disable PHY. The driver defers probe until PHY isn't available. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.c | 40 drivers

[PATCH v2 07/13] drm/msm/hdmi: Manage HDMI PLL through PHY driver

2016-02-15 Thread Archit Taneja
. The driver will use these until the HDMI PHY/PLL register offsets aren't considered as separate domains (i.e. their offsets start from 0). Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/Makefile| 2 + drivers/gpu/drm/msm/hdmi/hdmi.h | 9 + drivers/gpu/drm/msm/hdmi

[PATCH v2 06/13] drm/msm/hdmi: Create a separate HDMI PHY driver

2016-02-15 Thread Archit Taneja
). Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/Makefile| 4 +- drivers/gpu/drm/msm/hdmi/hdmi.c | 2 + drivers/gpu/drm/msm/hdmi/hdmi.h | 48 +++- drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 188 +++ drivers/gpu/drm/msm/hdmi

[PATCH v2 05/13] drm/msm/hdmi: Fix connector detect when there is no HPD gpio

2016-02-15 Thread Archit Taneja
-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c b/drivers/gpu/drm/msm/hdmi/hdmi_connector.c index deec1f9..3973d46 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c +++ b/drivers/gpu

[PATCH v2 04/13] drm/msm/hdmi: Clean up connector gpio usage

2016-02-15 Thread Archit Taneja
to integrate with the driver, as it doesn't have a HPD gpio input to them. Also, it cleans things up a bit. We still use the legacy gpio api here, as we might need to backport this driver to downstream kernels. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.c | 31

[PATCH v2 03/13] drm/msm/edp: Create separate Makefile/Kconfig

2016-02-15 Thread Archit Taneja
The msm Makefile and Kconfig are getting conjusted. Move EDP related stuff into separate Kconfig and Makefile. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/Kconfig | 1 + drivers/gpu/drm/msm/Makefile | 7 +-- drivers/gpu/drm/msm/edp/Kconfig | 7 +++ drivers/gpu/drm

[PATCH v2 02/13] drm/msm/hdmi: Create separate Makefile/Kconfig

2016-02-15 Thread Archit Taneja
The msm Makefile and Kconfig are getting conjusted. HDMI is going to have more configs and files in the future to manage, which will make managing these harder. Move HDMI related stuff into separate Kconfig and Makefile. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/Kconfig | 1

[PATCH v2 01/13] drm/msm/dsi: Create separate Makefile/Kconfig

2016-02-15 Thread Archit Taneja
The msm Makefile and Kconfig are getting conjusted. Move out the DSI related stuff into separate Kconfig and Makefile. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/Kconfig | 40 +--- drivers/gpu/drm/msm/Makefile | 22

[PATCH v2 00/13] drm/msm/hdmi: HDMI support on MSM8996

2016-02-15 Thread Archit Taneja
of patches such that bisectability issues are reduced to a minimum. Archit Taneja (13): drm/msm/dsi: Create separate Makefile/Kconfig drm/msm/hdmi: Create separate Makefile/Kconfig drm/msm/edp: Create separate Makefile/Kconfig drm/msm/hdmi: Clean up connector gpio usage drm/msm/hdmi

[PATCH v5 5/5] drm/dsi: Get DSI host by DT device node

2016-02-12 Thread Archit Taneja
the hosts DSI that are currently registered. This list will be used to find the mipi_dsi_host corresponding to the device_node passed in of_find_mipi_dsi_host_by_node. Reviewed-by: Andrzej Hajda Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 39

[PATCH v5 4/5] drm/dsi: Add routine to unregister a DSI device

2016-02-12 Thread Archit Taneja
thing. Reviewed-by: Andrzej Hajda Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 12 +++- include/drm/drm_mipi_dsi.h | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c index 42a7aac

[PATCH v5 3/5] drm/dsi: Try to match non-DT DSI devices

2016-02-12 Thread Archit Taneja
or the DSI bus. Reviewed-by: Andrzej Hajda Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 18 +- include/drm/drm_mipi_dsi.h | 10 -- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_

[PATCH v5 2/5] drm/dsi: Use mipi_dsi_device_register_full for DSI device creation

2016-02-12 Thread Archit Taneja
mipi_dsi_device_info and call this function. For DSI devices available via DT, of_mipi_dsi_device_add is used as before, but this now calls mipi_dsi_device_register_full internally. Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 64 +++--- include/drm

[PATCH v5 1/5] drm/dsi: check for CONFIG_OF when defining of_mipi_dsi_device_add

2016-02-12 Thread Archit Taneja
of_mipi_dsi_device_add is used only when CONFIG_OF is enabled. It currently works if OF support is disabled, but this will change when we add more functionality to it. Define the original func if CONFIG_OF is enabled. Define a dummy func otherwise. Signed-off-by: Archit Taneja --- drivers/gpu

[PATCH v5 0/5] drm/dsi: DSI for devices with different control bus

2016-02-12 Thread Archit Taneja
d htmldocs warnings. Archit Taneja (5): drm/dsi: check for CONFIG_OF when defining of_mipi_dsi_device_add drm/dsi: Use mipi_dsi_device_register_full for DSI device creation drm/dsi: Try to match non-DT DSI devices drm/dsi: Add routine to unregister a DSI device drm/dsi: Get DSI host by DT d

[PATCH v7 0/5] Add mipi dsi support for rk3288

2016-02-08 Thread Archit Taneja
On 02/08/2016 04:22 PM, Heiko Stuebner wrote: > Hi Archit, > > Am Montag, 8. Februar 2016, 15:42:04 schrieb Archit Taneja: >> On 01/06/2016 09:33 AM, Chris Zhong wrote: >>> The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller >>> IP. This s

[PATCH v4 03/11] drm/hisilicon: Add crtc driver for ADE

2016-02-08 Thread Archit Taneja
On 02/06/2016 08:54 AM, Xinliang Liu wrote: > Add crtc funcs and helper funcs for ADE. > > v4: None. > v3: > - Make ade as the master driver. > - Use port to connect with encoder. > - A few cleanup. > v2: > - Remove abtraction layer. > > Signed-off-by: Xinliang Liu > --- >

[PATCH v4 01/11] drm/hisilicon: Add device tree binding for hi6220 display subsystem

2016-02-08 Thread Archit Taneja
Hi, On 02/06/2016 08:54 AM, Xinliang Liu wrote: > Add ADE display controller binding doc. > Add DesignWare DSI Host Controller v1.20a binding doc. > > v4: > - Describe more specific of clocks and ports. > - Fix indentation. > v3: > - Make ade as the drm master node. > - Use assigned-clocks to set

[PATCH v7 0/5] Add mipi dsi support for rk3288

2016-02-08 Thread Archit Taneja
Hi, On 01/06/2016 09:33 AM, Chris Zhong wrote: > > The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller > IP. This series adds support for a Synopsys DesignWare MIPI DSI host > controller DRM driver. > > The MIPI DSI feature is tested on rk3288 evb board, backport them to >

[PATCH] drm/msm/dsi: fix definition of msm_dsi_pll_28nm_8960_init()

2016-02-04 Thread Archit Taneja
ivers/gpu/drm/msm/dsi/pll/dsi_pll.o:dsi_pll.c:(.text+0x0): first defined > here Thanks for the fix. Acked-by: Archit Taneja Dave, Could you please queue this for the next -rc cycle since it causes a build break? Thanks, Archit > > Signed-off-by: Luis Henriques > --- > drive

BUG caused by "Use new drm_fb_helper functions" series

2016-02-02 Thread Archit Taneja
Hi Peter, On 02/02/2016 02:07 AM, Peter Hurley wrote: > Hi Archit, > > Just booting 4.4-rc5+, I got this splat [1] > At first glance, this appears to be a simple fix. Thanks for sharing this. > > However, I'm concerned that fbcon functions, which may be called with > interrupts disabled, are

[PATCH v4 6/6] drm/dsi: Get DSI host by DT device node

2016-01-27 Thread Archit Taneja
On 01/21/2016 09:46 PM, Thierry Reding wrote: > On Thu, Dec 10, 2015 at 06:11:40PM +0530, Archit Taneja wrote: >> mipi_dsi_devices are inherently aware of their host because they >> share a parent-child hierarchy in the device tree. >> >> non-dsi drivers that c

[PATCH v4 5/6] drm/dsi: Add routine to unregister dsi device

2016-01-27 Thread Archit Taneja
On 01/21/2016 09:42 PM, Thierry Reding wrote: > On Thu, Dec 10, 2015 at 06:11:39PM +0530, Archit Taneja wrote: >> A driver calling mipi_dsi_device_new might want to unregister the device >> once it's done. It might also require it in an error handling path in >> case some

[PATCH v4 4/6] drm/dsi: Check for used channels

2016-01-27 Thread Archit Taneja
On 01/21/2016 09:41 PM, Thierry Reding wrote: > On Thu, Dec 10, 2015 at 06:11:38PM +0530, Archit Taneja wrote: >> We don't check whether a previously registered mipi_dsi_device under the >> same host shares the same virtual channel. >> >> Before registering, che

[PATCH v4 3/6] drm/dsi: Try to match non-DT dsi devices

2016-01-26 Thread Archit Taneja
On 1/21/2016 9:35 PM, Thierry Reding wrote: > On Thu, Dec 10, 2015 at 06:11:37PM +0530, Archit Taneja wrote: >> Add a device name field in mipi_dsi_device. This name is different from >> the actual dev name (which is of the format "hostname.reg"). When the >> devi

[PATCH v4 2/6] drm/dsi: Refactor device creation

2016-01-26 Thread Archit Taneja
On 1/21/2016 9:16 PM, Thierry Reding wrote: > On Thu, Dec 10, 2015 at 06:11:36PM +0530, Archit Taneja wrote: >> Simplify the mipi dsi device creation process. device_initialize and > > "MIPI" and "DSI", please. Sure, I'll replace with these and in the other p

[PATCH v4 1/6] drm/dsi: check for CONFIG_OF when defining of_mipi_dsi_device_add

2016-01-26 Thread Archit Taneja
On 1/21/2016 9:01 PM, Thierry Reding wrote: > On Thu, Dec 10, 2015 at 06:11:35PM +0530, Archit Taneja wrote: >> of_mipi_dsi_device_add is used only when CONFIG_OF is enabled. It >> currently works if OF support is disabled, but this will change >> when we a

[PATCH 13/13] dt/bindings: drm/msm/hdmi: Add hdmi phy bindings

2016-01-25 Thread Archit Taneja
On 1/22/2016 4:56 AM, Rob Herring wrote: > On Thu, Jan 21, 2016 at 12:39:41PM +0530, Archit Taneja wrote: >> Add hdmi phy bindings. Update the example to use hdmi phy. >> >> Add a missing power-domains property in the hdmi core bindings. >> >> Cc: devicetree at v

[PATCH 2/2] rnndb: hdmi: Add hdmi phy registers for 8996

2016-01-21 Thread Archit Taneja
Adds hdmi 8996 phy registers. The registers are divided into 3 domains: - Core HDMI PHY registers - HDMI PLL registers (part of QSERDES block) - HDMI TX lane registers (part of QSERDES block) Signed-off-by: Archit Taneja --- rnndb/hdmi/hdmi.xml | 258

[PATCH 1/2] rnndb: hdmi: Create separate domains for 8x60 and 8960 PHY

2016-01-21 Thread Archit Taneja
- Create separate domains for 8960 PHY and PLL - Create separate domains for 8x60 PHY Signed-off-by: Archit Taneja --- rnndb/hdmi/hdmi.xml | 147 +++- 1 file changed, 75 insertions(+), 72 deletions(-) diff --git a/rnndb/hdmi/hdmi.xml b/rnndb/hdmi

[PATCH 0/2] rnndb: hdmi: Support for MSM8996

2016-01-21 Thread Archit Taneja
Modify existing offsests for HDMI PHYs, and add support for MSM8996 Archit Taneja (2): rnndb: hdmi: Create separate domains for 8x60 and 8960 PHY rnndb: hdmi: Add hdmi phy registers for 8996 rnndb/hdmi/hdmi.xml | 405 ++-- 1 file changed, 333

[PATCH 13/13] dt/bindings: drm/msm/hdmi: Add hdmi phy bindings

2016-01-21 Thread Archit Taneja
Add hdmi phy bindings. Update the example to use hdmi phy. Add a missing power-domains property in the hdmi core bindings. Cc: devicetree at vger.kernel.org Cc: Rob Herring Signed-off-by: Archit Taneja --- .../devicetree/bindings/display/msm/hdmi.txt | 39 +- 1 file

[PATCH 12/13] drm/msm/hdmi: HDMI 8996 PHY/PLL support

2016-01-21 Thread Archit Taneja
Add support for the HDMI PHY/PLL found in msm8996/apq8096. Unlike the previous phys supported in the driver, this doesn't need the powerup/powerdown ops. The PLL prepare/unprepare clock ops enable/disable the phy itself. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/Makefile

[PATCH 11/13] drm/msm/hdmi: Update generated headers for hdmi 8996 phy

2016-01-21 Thread Archit Taneja
Adds hdmi 8996 phy offsets. The offsets are divided into 3 parts: - Core HDMI PHY registers - HDMI PLL registers (part of QSERDES block) - HDMI TX lane registers (part of QSERDES block) Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.xml.h | 500

[PATCH 10/13] drm/msm/hdmi: Convert phy files according to new design

2016-01-21 Thread Archit Taneja
Remove the old phy ops managed by hdmi_platform_config and use them as ops provided by the hdmi phy driver. Remove the old hdmi 8960 PLL code that used the top level hdmi tx mmio base. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.c | 25 +- drivers/gpu/drm/msm/hdmi

[PATCH 09/13] drm/msm/hdmi: Manage hdmi PLL through phy driver

2016-01-21 Thread Archit Taneja
. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/Makefile| 2 + drivers/gpu/drm/msm/hdmi/hdmi.h | 9 + drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 35 +++ drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c | 462 +++ 4 files changed, 508 insertions

[PATCH 08/13] drm/msm/hdmi: Make hdmi core get its phy

2016-01-21 Thread Archit Taneja
Make hdmi core get its phy by parsing the qcom,hdmi-phy phandle. The core will use this phy reference to enable/disable phy. The driver defers probe until phy isn't available. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.c | 40 drivers

[PATCH 07/13] drm/msm/hdmi: Create a separate hdmi phy driver

2016-01-21 Thread Archit Taneja
with many other things. The phy driver implementation done here is very similar to the phy driver we already have for DSI. Keep the old hdmi_phy_funcs ops for now. These will be removed later. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/Makefile| 4 +- drivers/gpu/drm/msm

[PATCH 06/13] drm/msm/hdmi: Update generated headers to split PHY/PLL offsets

2016-01-21 Thread Archit Taneja
- Create separate domains for 8960 PHY and PLL - Create separate domains for 8x60 PHY Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.xml.h | 157 +--- 1 file changed, 74 insertions(+), 83 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi

[PATCH 05/13] drm/msm/hdmi: Fix connector detect when there is no hpd gpio

2016-01-21 Thread Archit Taneja
Some platforms may not have a hpd gpio line to detect hpd. They need to rely only on reading REG_HDMI_HPD_INT_STATUS for hpd. Modify hdmi_connector_detect logic such that it checks for hpd only using the status register if there is no hpd gpio. Signed-off-by: Archit Taneja --- drivers/gpu/drm

[PATCH 04/13] drm/msm/hdmi: Clean up connector gpio usage

2016-01-21 Thread Archit Taneja
to integrate with the driver, as it doesn't have a hpd gpio input to them. Also, it cleans things up a bit. We still use the legacy gpio api here, as we might need to backport this driver to downstream kernels. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi.c | 31

[PATCH 03/13] drm/msm/edp: Create separate Makefile/Kconfig

2016-01-21 Thread Archit Taneja
The msm Makefile and Kconfig are getting conjusted. Move edp related stuff into separate Kconfig and Makefile. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/Kconfig | 1 + drivers/gpu/drm/msm/Makefile | 7 +-- drivers/gpu/drm/msm/edp/Kconfig | 7 +++ drivers/gpu/drm

[PATCH 02/13] drm/msm/hdmi: Create separate Makefile/Kconfig

2016-01-21 Thread Archit Taneja
The msm Makefile and Kconfig are getting conjusted. HDMI is going to have more configs and files in the future to manage, which will make managing these harder. Move hdmi related stuff into separate Kconfig and Makefile. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/Kconfig | 1

[PATCH 01/13] drm/msm/dsi: Create separate Makefile/Kconfig

2016-01-21 Thread Archit Taneja
The msm Makefile and Kconfig are getting conjusted. Move out the DSI related stuff into separate Kconfig and Makefile. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/Kconfig | 40 +--- drivers/gpu/drm/msm/Makefile | 22

[PATCH 00/13] drm/msm/hdmi: HDMI support on MSM8996

2016-01-21 Thread Archit Taneja
new PHYs like the one in msm8996. Archit Taneja (13): drm/msm/dsi: Create separate Makefile/Kconfig drm/msm/hdmi: Create separate Makefile/Kconfig drm/msm/edp: Create separate Makefile/Kconfig drm/msm/hdmi: Clean up connector gpio usage drm/msm/hdmi: Fix connector detect when

[PATCH v7 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2016-01-13 Thread Archit Taneja
Hi Jitao, On 01/13/2016 07:48 AM, Jitao Shi wrote: > This patch adds drm_bridge driver for parade DSI to eDP bridge chip. > > Signed-off-by: Jitao Shi > --- > Changes since v6: > - Add ps8640 firmware update function > - Change i2c to i2c_transfer from i2c_master_recv/i2c_master_send > -

[PATCH] drm: i2c: adv7511: Convert to drm_bridge

2016-01-11 Thread Archit Taneja
On 01/11/2016 07:38 AM, Laurent Pinchart wrote: > Hi Archit, > > Thanks a lot for the patch. > > On Saturday 09 January 2016 22:20:25 Archit Taneja wrote: >> We don't want to use the old i2c slave encoder interface anymore. > > I happily agree with that :-) > &

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2016-01-09 Thread Archit Taneja
Hi Laurent, On 12/3/2015 9:41 PM, Archit Taneja wrote: > > > On 12/3/2015 9:25 PM, Rob Clark wrote: >> On Thu, Dec 3, 2015 at 10:28 AM, Laurent Pinchart >> wrote: >>> On Thursday 03 December 2015 10:02:02 Rob Clark wrote: >>>> On Mon, Jul 2

[RFC] drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder

2016-01-09 Thread Archit Taneja
by the bridge driver. Compile tested only. Signed-off-by: Archit Taneja --- drivers/gpu/drm/rcar-du/Makefile | 3 +- drivers/gpu/drm/rcar-du/rcar_du_encoder.c | 3 +- drivers/gpu/drm/rcar-du/rcar_du_encoder.h | 7 +- drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c | 126

[PATCH] drm: i2c: adv7511: Convert to drm_bridge

2016-01-09 Thread Archit Taneja
. The driver now creates its own connector when a kms driver attaches itself to the bridge. Therefore, kms drivers don't need to create their own connectors anymore. The old encoder slave ops are now used by the new bridge and connector entities. Signed-off-by: Archit Taneja --- drivers/gpu/drm

[PATCH v2 1/2] drm: bridge: sil902x

2016-01-07 Thread Archit Taneja
On 01/06/2016 05:55 PM, Boris Brezillon wrote: > Add basic support for the sil902x RGB -> HDMI bridge. > This driver does not support audio output yet. > > Signed-off-by: Boris Brezillon > --- > Hello, > > This patch is only adding basic support for the sil9022 chip. > As stated in the commit

[PATCH v4 0/6] drm/dsi: DSI for devices with different control bus

2016-01-05 Thread Archit Taneja
Hi Thierry, Can you pick up these DSI patches, or would it make more sense for these to go via someone else? Thanks, Archit On 12/10/2015 06:11 PM, Archit Taneja wrote: > We are currently restricted when it comes to supporting DSI on devices > that have a non-DSI control bus. For exampl

[PATCH RESEND 1/3] drm: adv7511: really enable interrupts for EDID detection

2016-01-04 Thread Archit Taneja
. Fix this and remove clearing the interrupt flags, > they are cleared in POWER_DOWN mode anyhow (according to docs and my > tests). I tried this on adv7533 and it works fine. The other patches look good too. Tested-by: Archit Taneja Thanks, Archit > > Signed-off-by: Wolfram Sang <

[PATCH v6 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2015-12-15 Thread Archit Taneja
Hi, On 12/15/2015 09:00 AM, Jitao Shi wrote: > This patch adds drm_bridge driver for parade DSI to eDP bridge chip. > > Signed-off-by: Jitao Shi > --- > Changes since v5 > -fix compile errors when CONFIG_GPIOLIB=n > --- > drivers/gpu/drm/bridge/Kconfig | 10 + >

[PATCH RFC 0/9] omapdrm/omapfb/omapdss split

2015-12-11 Thread Archit Taneja
On 12/11/2015 01:27 PM, Tomi Valkeinen wrote: > > On 11/12/15 08:14, Archit Taneja wrote: > >> Is it possible to make omapfb get some of the old files (apply.c, >> overlay.c, manager.c, sysfs files etc)? It might be helpful to have git >> associate these files

[PATCH RFC 0/9] omapdrm/omapfb/omapdss split

2015-12-11 Thread Archit Taneja
On 12/10/2015 07:55 PM, Tomi Valkeinen wrote: > Hi, > > Here's an RFC series to fix the mess we have at the moment with > omapdrm/omapfb/omapdss. > > First, a short background on the current status. We have the following > entities: > > * omapdss, located in drivers/video/fbdev/omap2/dss/. This

[PATCH v4 6/6] drm/dsi: Get DSI host by DT device node

2015-12-10 Thread Archit Taneja
the hosts DSI that are currently registered. This list will be used to find the mipi_dsi_host corresponding to the device_node passed in of_find_mipi_dsi_host_by_node. Reviewed-by: Andrzej Hajda Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 38

[PATCH v4 5/6] drm/dsi: Add routine to unregister dsi device

2015-12-10 Thread Archit Taneja
A driver calling mipi_dsi_device_new might want to unregister the device once it's done. It might also require it in an error handling path in case something didn't go right. Reviewed-by: Andrzej Hajda Signed-off-by: Archit Taneja --- include/drm/drm_mipi_dsi.h | 5 + 1 file changed, 5

[PATCH v4 4/6] drm/dsi: Check for used channels

2015-12-10 Thread Archit Taneja
DT. Now that we also support creating devices manually, we could end up in a situation where a driver tries to create a device with a virtual channel already taken by a device populated in DT. Reviewed-by: Andrzej Hajda Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 26

[PATCH v4 3/6] drm/dsi: Try to match non-DT dsi devices

2015-12-10 Thread Archit Taneja
or the dsi bus. Reviewed-by: Andrzej Hajda Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 25 - include/drm/drm_mipi_dsi.h | 6 ++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_

[PATCH v4 2/6] drm/dsi: Refactor device creation

2015-12-10 Thread Archit Taneja
as a standalone way to create a dsi device not available via DT. The new device creation process tries to closely follow what's been done in i2c_new_device in i2c-core. Reviewed-by: Andrzej Hajda Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 61

[PATCH v4 1/6] drm/dsi: check for CONFIG_OF when defining of_mipi_dsi_device_add

2015-12-10 Thread Archit Taneja
of_mipi_dsi_device_add is used only when CONFIG_OF is enabled. It currently works if OF support is disabled, but this will change when we add more functionality to it. Define the original func if CONFIG_OF is enabled. Define a dummy func otherwise. Signed-off-by: Archit Taneja --- drivers/gpu

[PATCH v4 0/6] drm/dsi: DSI for devices with different control bus

2015-12-10 Thread Archit Taneja
without the need of them to have a DT node. [1]: https://lkml.org/lkml/2015/6/30/42 Changes in v4: - Added a new patch that fixes build issues when CONFIG_OF is not set. Changes in v3: - Incorporated misc comments by Andrzej. Changed from RFC to a PATCH set. - Fixed htmldocs warnings. Archit

[PATCH v3 2/5] drm/dsi: Try to match non-DT dsi devices

2015-12-07 Thread Archit Taneja
On 12/07/2015 02:40 PM, Jani Nikula wrote: > On Mon, 07 Dec 2015, Archit Taneja wrote: >> On 12/07/2015 02:15 PM, Jani Nikula wrote: >>> On Mon, 07 Dec 2015, Archit Taneja wrote: >>>> Hi, >>>> >>>> On 11/30/2015 06:15 PM, kbuild test robo

[PATCH v3 2/5] drm/dsi: Try to match non-DT dsi devices

2015-12-07 Thread Archit Taneja
On 12/07/2015 02:15 PM, Jani Nikula wrote: > On Mon, 07 Dec 2015, Archit Taneja wrote: >> Hi, >> >> On 11/30/2015 06:15 PM, kbuild test robot wrote: >>> Hi Archit, >>> >>> [auto build test ERROR on: v4.4-rc3] >>> [also build test ERROR o

DRM i2c module or bridge ?

2015-12-07 Thread Archit Taneja
On 11/12/2015 07:20 PM, Emil Velikov wrote: > On 12 November 2015 at 13:18, Thierry Reding > wrote: >> On Thu, Nov 12, 2015 at 12:48:51PM +, Emil Velikov wrote: >>> Hello Thierry, all, >>> >>> Inspired by a recent discussion I was started wondering - where is the >>> cut between DRM i2c

[PATCH v2 10/10] dt-bindings: Add DSIv2 documentation

2015-12-07 Thread Archit Taneja
On 12/02/2015 02:04 PM, Stephen Boyd wrote: > On 12/02, Stephen Boyd wrote: >> >> My only thought there would be to make of_clk_set_defaults() wait >> until both clocks are registered before it does any parent >> setting. But only in the case where the assigned parents contains >> a clock that

[PATCH v3 2/5] drm/dsi: Try to match non-DT dsi devices

2015-12-07 Thread Archit Taneja
Hi, On 11/30/2015 06:15 PM, kbuild test robot wrote: > Hi Archit, > > [auto build test ERROR on: v4.4-rc3] > [also build test ERROR on: next-20151127] > > url: > https://github.com/0day-ci/linux/commits/Archit-Taneja/drm-dsi-DSI-for-devices-with-different-control-bus/201

[PATCH 06/28] drm/bridge: Improve kerneldoc

2015-12-04 Thread Archit Taneja
on explaining the bridge funcs, that's >now all in the drm_bridge_funcs kerneldoc in much more detail. > > - Use & to reference structs so that kerneldoc automatically inserts > hyperlinks. Reviewed-by: Archit Taneja > > Cc: Eric Anholt > Cc: Archit Taneja > Sig

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-12-03 Thread Archit Taneja
On 12/3/2015 9:25 PM, Rob Clark wrote: > On Thu, Dec 3, 2015 at 10:28 AM, Laurent Pinchart > wrote: >> On Thursday 03 December 2015 10:02:02 Rob Clark wrote: >>> On Mon, Jul 27, 2015 at 4:59 AM, Laurent Pinchart wrote: >>>> On Monday 27 July 2015 11:46:57 A

[PATCH v2 10/10] dt-bindings: Add DSIv2 documentation

2015-12-03 Thread Archit Taneja
On 12/03/2015 12:46 PM, Stephen Boyd wrote: > On 12/02, Archit Taneja wrote: >> On 12/02/2015 01:50 PM, Stephen Boyd wrote: >>> >>> My only thought there would be to make of_clk_set_defaults() wait >>> until both clocks are registered before it does any pare

[PATCH v2 10/10] dt-bindings: Add DSIv2 documentation

2015-12-02 Thread Archit Taneja
On 12/02/2015 01:50 PM, Stephen Boyd wrote: > On 11/23, Archit Taneja wrote: >> >> >> On 11/21/2015 1:29 AM, Rob Herring wrote: >>> +Stephen >>> >>> On Wed, Nov 18, 2015 at 9:24 AM, Archit Taneja >>> wrote: >>>> Hi Rob, >

[PATCH v2 10/10] drm/hisilicon: Add support for external bridge

2015-12-02 Thread Archit Taneja
On 12/01/2015 08:20 PM, Xinliang Liu wrote: > On 1 December 2015 at 17:04, Archit Taneja wrote: >> >> >> On 11/28/2015 04:09 PM, Xinliang Liu wrote: >>> >>> Add support for external HDMI bridge. >>> >>> Signed-off-by: Xinliang Liu >

<    4   5   6   7   8   9   10   11   12   13   >