[PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding

2016-05-23 Thread Yakir Yang
The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- .../devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bin

[PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel

2016-05-23 Thread Yakir Yang
The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- drivers/gpu/drm/panel/panel-simple.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/driver

[PATCH v1 8/8] drm: bridge: analogix/dp: fix no drm hpd event when panel plug in

2016-04-25 Thread Yakir Yang
at just need to assign all hotplug enum with no-zero values. Reported-by: Dan Carpenter Signed-off-by: Yakir Yang --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.h b/

[PATCH v1 7/8] drm: rockchip: analogix_dp: correct the connector display color format and bpc

2016-04-25 Thread Yakir Yang
Rockchip VOP couldn't output YUV video format for eDP controller, so when driver detect connector support YUV video format, we need to hack it down to RGB888. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 19 +++ 1 file changed, 19 insertions

[PATCH v1 6/8] drm/bridge: analogix_dp: introduce connector mode_valid callback to plat driver

2016-04-25 Thread Yakir Yang
It's helpful to expand the mode_valid callback to platform driver, so they could valid the display mode or information. Signed-off-by: Yakir Yang --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 15 +++ include/drm/bridge/analogix_dp.h | 4 2 files

[PATCH v1 5/8] drm/rockchip: analogix_dp: make panel detect to an optional action

2016-04-25 Thread Yakir Yang
Some boards don't need to declare a panel device node, like the display interface is DP monitors, so it's necessary to make the panel detect to an optional action. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 48 - 1 file changed, 22

[PATCH v1 4/8] drm: bridge: analogix_dp: correct the register bit define error in ANALOGIX_DP_PLL_REG_1

2016-04-25 Thread Yakir Yang
There're an register define error in ANALOGIX_DP_PLL_REG_1 which introduced by commit bcec20fd5ad6 ("drm: bridge: analogix/dp: add some rk3288 special registers setting"). The PHY PLL input clock source is selected by ANALOGIX_DP_PLL_REG_1 BIT 0, not BIT 1. Signed-off-by:

[PATCH v1 3/8] drm/rockchip: analogix_dp: add rk3399 eDP support

2016-04-25 Thread Yakir Yang
RK3399 and RK3288 shared the same eDP IP controller, only some light difference with VOP configure and GRF configure. Signed-off-by: Yakir Yang --- .../bindings/display/bridge/analogix_dp.txt| 1 + .../display/rockchip/analogix_dp-rockchip.txt | 2 +- drivers/gpu/drm/rockchip

[PATCH v1 2/8] drm: rockchip: analogix_dp: split the lcdc select setting into device data

2016-04-25 Thread Yakir Yang
eDP controller need to declare which vop provide the video source, and it's defined in GRF registers. But different chips have different GRF register address, so we need to create a device data to declare the GRF messages for each chips. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip

[PATCH v1 1/8] drm: bridge: analogix_dp: rename RK3288_DP to ROCKCHIP_DP

2016-04-25 Thread Yakir Yang
Rename RK3288_DP marcos to ROCKCHIP_DP, prepare to add eDP support for more Rockchip chips. Signed-off-by: Yakir Yang --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 4 ++-- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 6 +++--- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c

[PATCH v1 0/8] Add RK3399 eDP support and fix some bugs to analogix_dp driver.

2016-04-25 Thread Yakir Yang
in ANALOGIX_DP_PLL_REG_1 Yakir Yang (8): drm: bridge: analogix_dp: rename RK3288_DP to ROCKCHIP_DP drm: rockchip: analogix_dp: split the lcdc select setting into device data drm/rockchip: analogix_dp: add rk3399 eDP support drm: bridge: analogix_dp: correct the register bit define error

[GIT PULL v2]: drm: bridge: add analogix_dp driver

2016-04-13 Thread Yakir Yang
On 04/13/2016 01:38 PM, Jingoo Han wrote: > On Tuesday, April 05, 2016 11:46 AM, Yakir Yang wrote: >> Hi David, >> >> This v2 pull request just fixed the module compiled failed problem which >> pointed by Guenter, >> detail relate to [1] >> >> Thanks

[PATCH] drm: bridge: analogix/dp: fix no drm hpd event when panel plug in

2016-04-07 Thread Yakir Yang
at just need to assign all hotplug enum with no-zero values. Reported-by: Dan Carpenter Signed-off-by: Yakir Yang --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.h b/

[PATCH] drm: bridge: analogix/dp: fix no drm hpd event when panel plug in

2016-04-07 Thread Yakir Yang
Sorry for disturb, I make a mistaken about the receive list, please ignore this email. - Yakir On 04/07/2016 12:15 PM, Yakir Yang wrote: > The enum value of DP_IRQ_TYPE_HP_CABLE_IN is zero, but driver only > send drm hp event when the irq_type and the enum value is true. > >

[PATCH] drm: bridge: analogix/dp: fix no drm hpd event when panel plug in

2016-04-07 Thread Yakir Yang
at just need to assign all hotplug enum with no-zero values. Reported-by: Dan Carpenter Signed-off-by: Yakir Yang --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.h b/

drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time

2016-04-07 Thread Yakir Yang
Hi Dan, On 04/07/2016 03:41 AM, Dan Carpenter wrote: > Hello Yakir Yang, > > The patch 7b4b7a8db439: "drm: bridge: analogix/dp: Fix the possible > dead lock in bridge disable time" from Feb 15, 2016, leads to the > following static checker warning: > >

[GIT PULL v2]: drm: bridge: add analogix_dp driver

2016-04-05 Thread Yakir Yang
Hi David, This v2 pull request just fixed the module compiled failed problem which pointed by Guenter, detail relate to [1] Thanks, - Yakir [1]: https://lkml.org/lkml/2016/3/30/762 The following changes since commit 4604202ca8d2a5e33b4bca0812b5d92975ed1bd8: Merge branch 'drm-next-4.6

[v14, 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2016-04-05 Thread Yakir Yang
gmane.org/gmane.linux.drivers.devicetree/162059> and > <http://article.gmane.org/gmane.linux.kernel.samsung-soc/53048>, we > shouldn't block merging the series but someone should pick up this > work after the merge. > > So probably Yakir should fixup the problem pointed out by Guenter and

[PATCH v14 0/17] Add Analogix Core Display Port Driver

2016-04-05 Thread Yakir Yang
Hi Daniel, On 03/31/2016 06:15 PM, Daniel Vetter wrote: > On Mon, Feb 15, 2016 at 07:08:05PM +0800, Yakir Yang wrote: >> Hi all, >> >>The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller >> share the same IP, so a lot of parts can be re-used.

[v14, 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2016-04-05 Thread Yakir Yang
Hi Guenter On 03/31/2016 04:32 AM, Guenter Roeck wrote: > Hi, > > On Mon, Feb 15, 2016 at 07:09:36PM +0800, Yakir Yang wrote: >> Split the dp core driver from exynos directory to bridge directory, >> and rename the core driver to analogix_dp_*, rename the platform

[RFC PATCH v1 2/4] drm: rockchip: add RGA driver support

2016-03-29 Thread Yakir Yang
Hi Rob, + rockchip / dri email list back On 03/23/2016 10:20 PM, Rob Herring wrote: > On Mon, Mar 21, 2016 at 05:40:06PM +0800, Yakir Yang wrote: >> Rockchip RGA is a separate 2D raster graphic acceleration unit. It >> accelerates 2D graphics operations, such as point/line

[RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-29 Thread Yakir Yang
Hi Andreas, On 03/22/2016 06:24 PM, Andreas Färber wrote: > Hi Yakir, > > Am 21.03.2016 um 13:17 schrieb Yakir Yang: >> On 03/21/2016 07:29 PM, Heiko Stübner wrote: >>> Am Montag, 21. März 2016, 17:28:38 schrieb Yakir Yang: >>>> This patch set would a

[RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-29 Thread Yakir Yang
Hi Emil, On 03/28/2016 08:21 PM, Emil Velikov wrote: > On 22 March 2016 at 00:42, Heiko Stuebner wrote: >> Hi Yakir, >> >> Am Montag, 21. März 2016, 20:17:46 schrieb Yakir Yang: >>> On 03/21/2016 07:29 PM, Heiko Stübner wrote: >>>> Am Montag, 2

[RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-29 Thread Yakir Yang
Hi Emil & Heiko, On 03/29/2016 05:35 AM, Emil Velikov wrote: > On 28 March 2016 at 19:44, Heiko Stübner wrote: >> Am Montag, 28. März 2016, 13:21:02 schrieb Emil Velikov: >>> On 22 March 2016 at 00:42, Heiko Stuebner wrote: >>>> Hi Yakir, >>>> &g

[GIT PULL]: drm: bridge: add analogix_dp driver

2016-03-29 Thread Yakir Yang
Stuebner (2): drm/exynos: dp: rename implementation specific driver part drm: bridge: analogix/dp: rename register constants Yakir Yang (15): drm: bridge: analogix/dp: split exynos dp driver to bridge directory drm: bridge: analogix/dp: fix some obvious code style drm

Who is going to merge it [Was: Re: [PATCH v14 0/17] Add Analogix Core Display Port Driver]

2016-03-24 Thread Yakir Yang
; The author just send me a pull request with acks from a git tree > that hopefully both people agreed and tested from. No need to > send this via another maintainer layer. > > Dave. > Wow, thanks all ! such cool news :-D I'll prepare my pull request soon - Yakir

[RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-22 Thread Yakir Yang
Hi Heiko, On 03/22/2016 08:42 AM, Heiko Stuebner wrote: > Hi Yakir, > > Am Montag, 21. März 2016, 20:17:46 schrieb Yakir Yang: >> On 03/21/2016 07:29 PM, Heiko Stübner wrote: >>> Am Montag, 21. März 2016, 17:28:38 schrieb Yakir Yang: >>>> This patch set woul

[RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-21 Thread Yakir Yang
Hi Heiko, On 03/21/2016 07:29 PM, Heiko Stübner wrote: > Hi Yakir, > > Am Montag, 21. März 2016, 17:28:38 schrieb Yakir Yang: >> This patch set would add the RGA direct rendering based 2d graphics >> acceleration module. > very cool to see that. ;) >> This patch

[RFC PATCH v1 4/4] ARM: dst: rockchip: enable RGA support on veyron devices

2016-03-21 Thread Yakir Yang
Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288-veyron.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 9fce91f..5eb4e97 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts

[RFC PATCH v1 3/4] ARM: dts: rockchip: add RGA device node for RK3288

2016-03-21 Thread Yakir Yang
This patch add the RGA dt config of rk3288 SoC. Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 8ac49f3..af948b9 100644 --- a/arch/arm/boot/dts

[RFC PATCH v1 2/4] drm: rockchip: add RGA driver support

2016-03-21 Thread Yakir Yang
A_EXEC: execute the command lists setted to driver Signed-off-by: Yakir Yang --- .../bindings/display/rockchip/rockchip-rga.txt | 36 + drivers/gpu/drm/rockchip/Kconfig | 9 + drivers/gpu/drm/rockchip/Makefile | 1 + drivers/gpu/drm/rockchip/rockchip_drm_drv

[RFC PATCH v1 1/4] drm: rockchip: add a common subdrv interfaces

2016-03-21 Thread Yakir Yang
Introduce a common subdrv register/unregister interfaces, help external driver to hook the drm open/close event. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 49 + drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 15 + 2 files

[RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-21 Thread Yakir Yang
on Exynos G2D driver, it only manages the command lists received from user, so user should make the command list to data and registers needed by operation to use. I have prepared an userspace demo application for testing: https://github.com/yakir-Yang/libdrm-rockchip That is a rockchip libdrm

[patch] drm/rockchip: inno_hdmi: fix an error code

2016-02-26 Thread Yakir Yang
Dan, On 02/26/2016 05:30 AM, Dan Carpenter wrote: > We were accidentally returning PTR_ERR(NULL) which means success when we > wanted to return a negative error code. > > Fixes: 412d4ae6b7a5 ('drm/rockchip: hdmi: add Innosilicon HDMI support') > Signed-off-by: Dan Carpenter Rev

[PATCH v8 0/2] Add Rockchip Inno-HDMI driver

2016-02-18 Thread Yakir Yang
Hi Mark, Thanks for your apply ;) - Yakir On 02/18/2016 02:12 PM, Mark yao wrote: > On 2016年01月29日 14:42, Yakir Yang wrote: >> Here are a brief introduction to Innosilicon HDMI IP: >>- Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant >> transmitter &g

[PATCH v14 17/17] drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time

2016-02-15 Thread Yakir Yang
ish before encoder disabled. The flush work in bridge disable time is try to ensure the HPD event won't be missed before display card disabled, actually we can take a fast respond way(interrupt thread) to update DRM HPD event to fix the delay update and possible dead lock. Signed-off-by: Yakir Yang --- C

[PATCH v14 16/17] drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time

2016-02-15 Thread Yakir Yang
Turn off the panel power in suspend time would help to reduce power waste. Signed-off-by: Yakir Yang --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None

[PATCH v14 15/17] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2016-02-15 Thread Yakir Yang
: drm/exynos: do not start enabling DP at bind() phase But for now driver need to read edid message in .get_modes() function, so controller must be inited in bind time, so we need to add controller init back. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v14: None

[PATCH v14 14/17] drm: bridge: analogix/dp: move hpd detect to connector detect function

2016-02-15 Thread Yakir Yang
os: do not start enabling DP at bind() phase But for now the connector status don't hardcode to connected, need to operate dp phy in .detect function, so we need to revert parts if Gustavo Padovan's changes, add phy poweron function in bind time. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Ca

[PATCH v14 13/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2016-02-15 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-

[PATCH v14 12/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2016-02-15 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes

[PATCH v14 11/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2016-02-15 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None

[PATCH v14 10/17] dt-bindings: add document for rockchip variant of analogix_dp

2016-02-15 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v14: None Changes in v13: None Changes in v12: None Changes

[PATCH v14 09/17] drm: rockchip: dp: add rockchip platform dp driver

2016-02-15 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v14: None Changes in v13: - Use .enable instead of preprare

[PATCH v14 08/17] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2016-02-15 Thread Yakir Yang
compatibility is fully preserved, so there are no bisectability break that make this change in a separate patch. Signed-off-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None

[PATCH v14 07/17] dt-bindings: add document for analogix display port driver

2016-02-15 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes

[PATCH v14 06/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2016-02-15 Thread Yakir Yang
-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: - Back to use the of_property_read_bool() interfacs

[PATCH v14 05/17] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2016-02-15 Thread Yakir Yang
, 2.7Gbps, 5.4Gbps}. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v14: None Changes in v13: None Changes in v12: - Remove the enum link_rate_type struct, using the marcos in drm_dp_helper.h (Jingoo) Changes in v11: None Changes in v10: None Changes in v9: None Changes

[PATCH v14 04/17] drm: bridge: analogix/dp: fix some obvious code style

2016-02-15 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang Acked-by: Jingoo Han Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v14: None Changes in v13: None

[PATCH v14 03/17] drm: bridge: analogix/dp: rename register constants

2016-02-15 Thread Yakir Yang
From: Heiko Stuebner <he...@sntech.de> In the original split we kept the register constants intact to keep the diff small. Still the constants are Analogix-specific, so rename them now. Signed-off-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v14: None Changes in v13

[PATCH v14 02/17] drm/exynos: dp: rename implementation specific driver part

2016-02-15 Thread Yakir Yang
From: Heiko Stuebner <he...@sntech.de> The core functionality now resides in the generic bridge part so the exynos-specific implementation details can get a more suitable nameing. Signed-off-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v14: None Changes in v13: None C

[PATCH v14 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2016-02-15 Thread Yakir Yang
init the connector. They reason why connector need register in helper driver is rockchip drm haven't implement the atomic API, but Exynos drm have implement it, so there would need two different connector helper functions, that's why we leave the connector register in helper driver. Signed-off-by: Yakir

[PATCH v14 0/17] Add Analogix Core Display Port Driver

2016-02-15 Thread Yakir Yang
ving 2 out). Especially to prevent confusing people, so I updated the whole series. Thanks, - Yakir Changes in v14: - Rebase the new changes in imx-dp driver - Split up this patch into 3 parts, make this easy to review (Heiko) - Remove the Rockchip DP PHY to an separate thread (Heiko) https://patchwork.

[PATCH v13.1 03/19] drm: bridge: analogix/dp: rename register constants

2016-02-15 Thread Yakir Yang
From: Heiko Stuebner In the original split we kept the register constants intact to keep the diff small. Still the constants are Analogix-specific, so rename them now. Signed-off-by: Heiko Stuebner --- This patch is splited from "[PATCH v13 01/17] drm: bridge: analogix/dp:

[PATCH v13.1 02/19] drm/exynos: dp: rename implementation specific driver part

2016-02-15 Thread Yakir Yang
From: Heiko Stuebner The core functionality now resides in the generic bridge part so the exynos-specific implementation details can get a more suitable nameing. Signed-off-by: Heiko Stuebner --- This patch is splited from "[PATCH v13 01/17] drm: bridge: analogix/dp: split

[PATCH v13.1 01/19] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2016-02-15 Thread Yakir Yang
init the connector. They reason why connector need register in helper driver is rockchip drm haven't implement the atomic API, but Exynos drm have implement it, so there would need two different connector helper functions, that's why we leave the connector register in helper driver. Signed-off-by: Yak

[PATCH v8.1 1/2] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-02-03 Thread Yakir Yang
The Innosilicon HDMI is a low power HDMI 1.4 transmitter IP, and it have been integrated on some rockchip CPUs (like RK3036, RK312x). Signed-off-by: Yakir Yang --- Changes in v8.1: - Removed the unused "drm_encoder_slave.h" head file. (Jean) Changes in v8: - Don't check whether enco

[PATCH v8 1/2] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-02-03 Thread Yakir Yang
Hi Jean, Sorry about miss your comments :) On 01/29/2016 03:20 PM, Jean-Francois Moine wrote: > On Fri, 29 Jan 2016 14:47:39 +0800 > Yakir Yang wrote: > >> The Innosilicon HDMI is a low power HDMI 1.4 transmitter >> IP, and it have been integrated on some rockchip CPUs &g

[PATCH v8.1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

2016-01-29 Thread Yakir Yang
Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v8.1: - Remove dumplicate Signed-off which add at the v8 (Mark) Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Add the Acked-by tags from Rob

[PATCH v8 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

2016-01-29 Thread Yakir Yang
Signed-off-by: Yakir Yang Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Add the Acked-by tags from Rob - Correct the misspell "rk3036-dw-hdmi&qu

[PATCH v8 1/2] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-29 Thread Yakir Yang
The Innosilicon HDMI is a low power HDMI 1.4 transmitter IP, and it have been integrated on some rockchip CPUs (like RK3036, RK312x). Signed-off-by: Yakir Yang --- Changes in v8: - Don't check whether encoder output format is RGB colorspace, cause driver default configure the output colorspace

[PATCH v8 0/2] Add Rockchip Inno-HDMI driver

2016-01-29 Thread Yakir Yang
functions. (Mark) Changes in v3: - Use encoder enable/disable function, and remove the encoder DPMS function - Keep HDMI PLL power on in standby mode Changes in v2: - Using DRM atomic helper functions for connector init (Mark) - Remove "hdmi->connector.encoder = encoder;" (Mark) - Add the

[PATCH v2 1/2] drm: rockchip/hdmi: add Innosilicon HDMI support

2016-01-29 Thread Yakir Yang
Hi ZhengYang, Thanks for your comments ;) On 01/29/2016 02:17 PM, 郑阳 wrote: > 在 2016年01月07日 18:03, Yakir Yang 写道: >> diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c >> b/drivers/gpu/drm/rockchip/inno_hdmi.c >> new file mode 100644 >> index 00

[PATCH v7 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

2016-01-26 Thread Yakir Yang
Signed-off-by: Yakir Yang Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Add the Acked-by tags from Rob - Correct the misspell "rk3036-dw-hdmi" (Heiko) .

[PATCH v7 1/2] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-26 Thread Yakir Yang
The Innosilicon HDMI is a low power HDMI 1.4 transmitter IP, and it have been integrated on some rockchip CPUs (like RK3036, RK312x). Signed-off-by: Yakir Yang --- Changes in v7: - Correct the module licnese statement (Paul) - MODULE_LICENSE("GPL"); + MODULE_LICENSE("GP

[PATCH v7 0/2] Add Rockchip Inno-HDMI driver

2016-01-26 Thread Yakir Yang
isable function, and remove the encoder DPMS function - Keep HDMI PLL power on in standby mode Changes in v2: - Using DRM atomic helper functions for connector init (Mark) - Remove "hdmi->connector.encoder = encoder;" (Mark) - Add the Acked-by tags from Rob - Correct the misspell "

[PATCH v6 0/1] Introduce Innosilicon HDMI driver on Rockchip platforms

2016-01-26 Thread Yakir Yang
Hi Heiko, On 01/25/2016 08:47 PM, Heiko Stübner wrote: > Am Montag, 25. Januar 2016, 09:43:17 schrieb Yakir Yang: >> Here are a brief introduction to Innosilicon HDMI IP: >>- Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter >>- Support HD

[PATCH v6] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-26 Thread Yakir Yang
Hi Paul, On 01/26/2016 08:45 AM, Paul Bolle wrote: > On ma, 2016-01-25 at 09:47 +0800, Yakir Yang wrote: >> --- a/drivers/gpu/drm/rockchip/Kconfig >> +++ b/drivers/gpu/drm/rockchip/Kconfig >> +config ROCKCHIP_INNO_HDMI >> +tristate "Rockchip specific

[PATCH v6] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-25 Thread Yakir Yang
The Innosilicon HDMI is a low power HDMI 1.4 transmitter IP, and it have been integrated on some rockchip CPUs (like RK3036, RK312x). Signed-off-by: Yakir Yang --- Changes in v6: - Rebase the Makefile/Kconfig files which add by Chris's rockchip-mipi driver (Caeser) Changes in v5: - Use

[PATCH v6 0/1] Introduce Innosilicon HDMI driver on Rockchip platforms

2016-01-25 Thread Yakir Yang
rk) Changes in v3: - Use encoder enable/disable function, and remove the encoder DPMS function - Keep HDMI PLL power on in standby mode Changes in v2: - Using DRM atomic helper functions for connector init (Mark) - Remove "hdmi->connector.encoder = encoder;" (Mark) Yakir Yang (1

[PATCH v3 1/2] drm: rockchip/hdmi: add Innosilicon HDMI support

2016-01-25 Thread Yakir Yang
Hi Caesar, On 01/24/2016 03:34 PM, Caesar Wang wrote: > Hi > > 在 2016年01月18日 09:21, Mark yao 写道: >> Hi Yakir >> >> I'd like you can change your patch title into "drm/rockchip/hdmi", so >> when I search patches use "drm/rockchip&quo

[PATCH v13 17/17] drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time

2016-01-22 Thread Yakir Yang
ish before encoder disabled. The flush work in bridge disable time is try to ensure the HPD event won't be missed before display card disabled, actually we can take a fast respond way(interrupt thread) to update DRM HPD event to fix the delay update and possible dead lock. Signed-off-by: Yakir Yang --- C

[PATCH v13 16/17] drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time

2016-01-22 Thread Yakir Yang
Turn off the panel power in suspend time would help to reduce power waste. Signed-off-by: Yakir Yang --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes

[PATCH v13 15/17] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2016-01-22 Thread Yakir Yang
: drm/exynos: do not start enabling DP at bind() phase But for now driver need to read edid message in .get_modes() function, so controller must be inited in bind time, so we need to add controller init back. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v13: None

[PATCH v13 14/17] drm: bridge: analogix/dp: move hpd detect to connector detect function

2016-01-22 Thread Yakir Yang
os: do not start enabling DP at bind() phase But for now the connector status don't hardcode to connected, need to operate dp phy in .detect function, so we need to revert parts if Gustavo Padovan's changes, add phy poweron function in bind time. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Ca

[PATCH v13 13/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2016-01-22 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-

[PATCH v13 12/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2016-01-22 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: - Remove

[PATCH v13 11/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2016-01-22 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None

[PATCH v13 10/17] dt-bindings: add document for rockchip dp phy

2016-01-22 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v13: None Changes in v12: None Changes in v11: - Correct the title of this rockchip dp phy document(Rob) - Add the ack from Rob Herring

[PATCH v13 09/17] phy: Add driver for rockchip Display Port PHY

2016-01-22 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v13: None Changes in v12: - Re-order the include headers file alphabetically in phy-rockchip-dp.c (Jingoo

[PATCH v13 08/17] dt-bindings: add document for rockchip variant of analogix_dp

2016-01-22 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v13: None Changes in v12: None Changes in v11: None Changes

[PATCH v13 07/17] drm: rockchip: dp: add rockchip platform dp driver

2016-01-22 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Heiko Stuebner --- Changes in v13: - Use .enable instead of preprare/commit in encoder_helper_funcs

[PATCH v13 06/17] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2016-01-22 Thread Yakir Yang
compatibility is fully preserved, so there are no bisectability break that make this change in a separate patch. Signed-off-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None

[PATCH v13 05/17] dt-bindings: add document for analogix display port driver

2016-01-22 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes

[PATCH v13 04/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2016-01-22 Thread Yakir Yang
-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: - Back to use the of_property_read_bool() interfacs to provoid backward

[PATCH v13 03/17] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2016-01-22 Thread Yakir Yang
, 2.7Gbps, 5.4Gbps}. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v13: None Changes in v12: - Remove the enum link_rate_type struct, using the marcos in drm_dp_helper.h (Jingoo) Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes

[PATCH v13 02/17] drm: bridge: analogix/dp: fix some obvious code style

2016-01-22 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang Acked-by: Jingoo Han Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v13: None Changes in v12: - Add

[PATCH v13 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2016-01-22 Thread Yakir Yang
init the connector. They reason why connector need register in helper driver is rockchip drm haven't implement the atomic API, but Exynos drm have implement it, so there would need two different connector helper functions, that's why we leave the connector register in helper driver. Signed-off-by:

[PATCH v13 0/17] Add Analogix Core Display Port Driver

2016-01-22 Thread Yakir Yang
ctor_funcs. No need to splict the connector init to platform driver anymore, and this is the biggest change since version 11. Previous version have been well tested on Rockchip platform and Samsung platform, but for this version Heiko and me have verified on Rockchip Veyron Chromebook. Thanks, - Yakir

[PATCH v12.1 07/17] drm: rockchip: dp: add rockchip platform dp driver

2016-01-22 Thread Yakir Yang
Hi Heiko, On 01/22/2016 03:11 AM, Heiko Stuebner wrote: > Hi Yakir, > > Am Dienstag, 19. Januar 2016, 18:04:53 schrieb Yakir Yang: >> Rockchip have three clocks for dp controller, we leave pclk_edp >> to analogix_dp driver control, and keep the sclk_edp_24m and >>

[PATCH v12.1 13/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2016-01-19 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-

[PATCH v12.1 07/17] drm: rockchip: dp: add rockchip platform dp driver

2016-01-19 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Rebase the whole patches on top of Dave's drm-next branch [0] (Heiko

[PATCH v12.1 06/17] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2016-01-19 Thread Yakir Yang
compatibility is fully preserved, so there are no bisectability break that make this change in a separate patch. Signed-off-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- There is no new changes in v12.1, but just rebase the whole patches on top of Dave's drm

[PATCH v12.1 05/17] dt-bindings: add document for analogix display port driver

2016-01-19 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang Acked-by: Rob Herring

[PATCH v12.1 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2016-01-19 Thread Yakir Yang
init the connector. They reason why connector need register in helper driver is rockchip drm haven't implement the atomic API, but Exynos drm have implement it, so there would need two different connector helper functions, that's why we leave the connector register in helper driver. Signed-off-by: Yakir

[PATCH v5] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-19 Thread Yakir Yang
The Innosilicon HDMI is a low power HDMI 1.4 transmitter IP, and it have been integrated on some rockchip CPUs (like RK3036, RK312x). Signed-off-by: Yakir Yang --- Changes in v5: - Use hdmi_infoframe helper functions to packed the infoframe (Russell) - Remove the unused double

[PATCH v5 0/1] Introduce Innosilicon HDMI driver on Rockchip platforms

2016-01-19 Thread Yakir Yang
power on in standby mode Changes in v2: - Using DRM atomic helper functions for connector init (Mark) - Remove "hdmi->connector.encoder = encoder;" (Mark) Yakir Yang (1): drm/rockchip: hdmi: add Innosilicon HDMI support drivers/gpu/drm/rockchip/Kconfig | 8 + drivers/

[PATCH v4] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-19 Thread Yakir Yang
Hi Russell, Thanks for your comments :-D On 01/19/2016 01:15 AM, Russell King - ARM Linux wrote: > Hi, > > Some comments below... > > On Mon, Jan 18, 2016 at 10:42:20PM +0800, Yakir Yang wrote: >> +static int inno_hdmi_config_video_avi(struct inno_hdmi *hdmi) &g

[PATCH v4] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-18 Thread Yakir Yang
The Innosilicon HDMI is a low power HDMI 1.4 transmitter IP, and it have been integrated on some rockchip CPUs (like RK3036, RK312x). Signed-off-by: Yakir Yang --- Changes in v4: - Modify the commit title "drm/rockchip: hdmi: ..." (Mark) - Correct the "DKMS" to "D

[PATCH v4 0/1] Introduce Innosilicon HDMI driver on Rockchip platforms

2016-01-18 Thread Yakir Yang
e encoder DPMS function - Keep HDMI PLL power on in standby mode Changes in v2: - Using DRM atomic helper functions for connector init (Mark) - Remove "hdmi->connector.encoder = encoder;" (Mark) Yakir Yang (1): drm/rockchip: hdmi: add Innosilicon HDMI support drivers/gpu/drm/ro

<    1   2   3   4   5   6   7   8   >