[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 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
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 in

Re: [PATCH 2/2] ARM: dts: rockchip: add i2c nodes RK3228 SoCs

2016-04-12 Thread Yakir Yang
On 04/13/2016 10:37 AM, Wolfram Sang wrote: Could you pick up this patch, it's helpful to add rk3228 HDMI support :-) I undestand that it is needed, but why not via arm-soc? dts files are their realm. Yep, for previous email, I'm replying to Heiko, but forget to add him to the "TO" list ;

Re: [PATCH 2/2] ARM: dts: rockchip: add i2c nodes RK3228 SoCs

2016-04-12 Thread Yakir Yang
Hi Heiko, On 04/13/2016 05:39 AM, Wolfram Sang wrote: On Mon, Mar 14, 2016 at 11:11:42AM +0800, Yakir Yang wrote: This patch add the i2c dt nodes for rk3228 SoCs. Signed-off-by: Yakir Yang This needs to go via arm-soc. Could you pick up this patch, it's helpful to add rk3228 HDMI su

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

2016-04-06 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/

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

2016-04-06 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. if (irq_type

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

2016-04-06 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/

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

2016-04-04 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. I split the common code into bridge

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

2016-04-04 Thread Yakir Yang
On 04/01/2016 12:02 AM, Doug Anderson wrote: Hi, On Thu, Mar 31, 2016 at 2:56 AM, Thierry Reding wrote: Ugh... most of these functions shouldn't be there in the first place. We have helpers in the core that already do this. Most of the functionality is duplicated in this driver. I realize th

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

2016-04-04 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 code to exynos_dp. Beside the new

Re: [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 add the RGA direct rendering based 2d graphics acceleration

Re: [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, 21. März 2016, 17:28:38 schrieb Yakir Yang: This patch set would

Re: [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, Am Montag, 21. März 2016, 20:17:46 schrieb Yakir Yang: O

Re: [PATCH v2 1/3] phy: rockchip-dp: should be a child device of the GRF

2016-03-28 Thread Yakir Yang
et any register-area assigned. Signed-off-by: Heiko Stuebner Thanks for your improved. Reviewed-by: Yakir Yang --- While one of my intermediate versions did include that conversion already, it looks like it was lost when the dp-phy got split out into its own series and I missed that dropped chan

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

2016-03-24 Thread Yakir Yang
On 03/22/2016 08:41 PM, Dave Airlie wrote: So although it's small framework or just subdirectory, we would need someone who can manage the framework to avoid further confusion if necessary. So maybe it just doesn't need a maintainer, and maybe those the owner of the bridge driver should be resp

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

2016-03-21 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 would add the RGA direct rendering based 2d graphics

Re: [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 set is based on git repository below: git

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

2016-03-21 Thread Yakir Yang
IP_RGA_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_dr

[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 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 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
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 2/2] ARM: dts: rockchip: add i2c nodes RK3228 SoCs

2016-03-13 Thread Yakir Yang
This patch add the i2c dt nodes for rk3228 SoCs. Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3228.dtsi | 80 +++ 1 file changed, 80 insertions(+) diff --git a/arch/arm/boot/dts/rk3228.dtsi b/arch/arm/boot/dts/rk3228.dtsi index 119ff12..a159296

[PATCH 1/2] i2c: rk3x: add support for rk3228

2016-03-13 Thread Yakir Yang
Enable the I2C core for this SoC. Signed-off-by: Yakir Yang --- Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 4 ++-- drivers/i2c/busses/i2c-rk3x.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c

Re: [PATCH v1 0/4] Add clock ids for RK3228 HDMI/VOP modules

2016-02-25 Thread Yakir Yang
On 02/26/2016 09:14 AM, Heiko Stuebner wrote: Am Mittwoch, 24. Februar 2016, 18:05:03 schrieb Yakir Yang: Add clocks ids for RK3228 HDMI/VOP modules which driver already have been posted. RK3228 HDMI driver: https://patchwork.kernel.org/patch/7974671 RK3228 VOP driver: https

[PATCH v1 2/4] clk: rockchip: set the clock ids for RK3228 VOP

2016-02-24 Thread Yakir Yang
Signed-off-by: Yakir Yang --- drivers/clk/rockchip/clk-rk3228.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3228.c b/drivers/clk/rockchip/clk-rk3228.c index 981a502..8747b25 100644 --- a/drivers/clk/rockchip/clk-rk3228.c +++ b/drivers/clk

[PATCH v1 4/4] clk: rockchip: set the clock ids for RK3228 HDMI

2016-02-24 Thread Yakir Yang
Signed-off-by: Yakir Yang --- drivers/clk/rockchip/clk-rk3228.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3228.c b/drivers/clk/rockchip/clk-rk3228.c index 8747b25..a8a6be2 100644 --- a/drivers/clk/rockchip/clk-rk3228.c +++ b/drivers

[PATCH v1 3/4] clk: rockchip: add the new clock ids for RK3228 HDMI

2016-02-24 Thread Yakir Yang
Signed-off-by: Yakir Yang --- include/dt-bindings/clock/rk3228-cru.h | 4 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/rk3228-cru.h b/include/dt-bindings/clock/rk3228-cru.h index 5656bf6..fda9308 100644 --- a/include/dt-bindings/clock/rk3228-cru.h +++ b/include

[PATCH v1 1/4] clk: rockchip: add the new clock ids for RK3228 VOP

2016-02-24 Thread Yakir Yang
There are four clocks that vop module would need to operate: DCLK_VOP, HCLK_VOP, SCLK_VOP, ACLK_VOP, Signed-off-by: Yakir Yang --- include/dt-bindings/clock/rk3228-cru.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/dt-bindings/clock/rk3228-cru.h b/include/dt

[PATCH v1 0/4] Add clock ids for RK3228 HDMI/VOP modules

2016-02-24 Thread Yakir Yang
Add clocks ids for RK3228 HDMI/VOP modules which driver already have been posted. RK3228 HDMI driver: https://patchwork.kernel.org/patch/7974671 RK3228 VOP driver: https://patchwork.kernel.org/patch/7952591 Yakir Yang (4): clk: rockchip: add the new clock ids for RK3228 VOP clk: rockchip

Re: [PATCH 0/2] Add Rockchip display port phy driver support

2016-02-22 Thread Yakir Yang
Kishon, On 02/22/2016 07:15 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 15 February 2016 04:31 PM, Yakir Yang wrote: Hi Kison, This series is splited from Analogix DP DRM thread [0], and Heiko suggest this should be an independent thread which may be easy for you to apply. Indeed

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

2016-02-17 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 - Support HDMI1.4 a/b 3D function

[PATCH v14 02/17] 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 Signed-off-by: Yakir Yang --- Changes in v14: None Changes in v13: None Changes in v12: 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 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 Te

[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 in

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

2016-02-15 Thread Yakir Yang
sh 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 Y

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

2016-02-15 Thread Yakir Yang
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 M

[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 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 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 05/17] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2016-02-15 Thread Yakir Yang
2Gbps, 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 Ch

[PATCH v14 03/17] 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 Signed-off-by: Yakir Yang --- Changes in v14: None Changes in v13: None Changes in v12: 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 in

[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 in

[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 06/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2016-02-15 Thread Yakir Yang
: 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 to

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

2016-02-15 Thread Yakir Yang
t 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-

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

2016-02-15 Thread Yakir Yang
val = exynos_dp_read_bytes_from_i2c(... ...); + retval = + exynos_dp_read_bytes_from_i2c(..); - Get panel node with remote-endpoint method, and create devicetree binding for driver. (Heiko) - Remove the clock enable/disbale with "sclk_edp&quo

[PATCH 2/2] dt-bindings: add document for rockchip dp phy

2016-02-15 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 v12: None Changes in v11: - Correct the title of this rockchip dp phy document(Rob) - Add the ack from Rob Herring Changes in v10: None

[PATCH 1/2] phy: Add driver for rockchip Display Port PHY

2016-02-15 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 v12: - Re-order the include headers file alphabetically in phy-rockchip-dp.c (Jingoo) Changes in v11: None

[PATCH 0/2] Add Rockchip display port phy driver support

2016-02-15 Thread Yakir Yang
be() method. And remove driver .owner number. (Kishon) Changes in v3: - Suggest, add rockchip dp phy driver, collect the phy clocks and power control. (Heiko) Yakir Yang (2): phy: Add driver for rockchip Display Port PHY dt-bindings: add document for rockchip dp phy

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

2016-02-14 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: split exynos dp drive

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

2016-02-14 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 exynos dp driver to b

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

2016-02-14 Thread Yakir Yang
t 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-o

[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

Re: [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 (like RK3036, RK312x). Signed

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

2016-01-28 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-28 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-28 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 color

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

2016-01-28 Thread Yakir Yang
elper 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)

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

2016-01-25 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-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 v7: - Correct the module licnese statement (Paul) - MODULE_LICENSE("GPL"); + MODULE_LICENSE("GP

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

2016-01-25 Thread Yakir Yang
ble/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 Acked-by tags from Rob - Correct the misspell &

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

2016-01-25 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 HDMI1.4 a/b 3D function defined in HDMI

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

2016-01-25 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 extensions for Innosilicon HDMI" +

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

2016-01-24 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:

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

2016-01-24 Thread Yakir Yang
. (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) Yakir Ya

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

2016-01-24 Thread Yakir Yang
line. Thanks:-) On 2016年01月15日 17:38, Yakir Yang wrote: 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 v3: - Use encoder enable/disable function, and remove the encod

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

2016-01-21 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 11/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2016-01-21 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 13/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2016-01-21 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 Te

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

2016-01-21 Thread Yakir Yang
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 M

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

2016-01-21 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-21 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 17/17] drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time

2016-01-21 Thread Yakir Yang
sh 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 Y

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

2016-01-21 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 07/17] drm: rockchip: dp: add rockchip platform dp driver

2016-01-21 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 12/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2016-01-21 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 the

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

2016-01-21 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 08/17] dt-bindings: add document for rockchip variant of analogix_dp

2016-01-21 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 in

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

2016-01-21 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 in

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

2016-01-21 Thread Yakir Yang
: 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-21 Thread Yakir Yang
2Gbps, 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 Ch

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

2016-01-21 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 0/17] Add Analogix Core Display Port Driver

2016-01-21 Thread Yakir Yang
iver need foce hpd when hpd detect failed. - move dp hpd detect to connector detect function. - Add edid modes parse support Changes in v2: - Remove new copyright (Jingoo) - Fix compiled failed due to analogix_dp_device misspell - Improved commit message more readable, and avoid using some

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

2016-01-21 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 sclk_edp in platform driver. Signed-off-by

Re: [RFC PATCH v2 3/4] drm: rockchip: hdmi: add RK3229 HDMI support

2016-01-07 Thread Yakir Yang
Hi Philipp, Thanks for your fast respond :) On 01/07/2016 06:04 PM, Philipp Zabel wrote: Am Donnerstag, den 07.01.2016, 17:02 +0800 schrieb Yakir Yang: RK3229 integrate an DesignedWare HDMI2.0 controller and an INNO HDMI2.0 phy, the max output resolution is 4K. Signed-off-by: Yakir Yang It

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

2016-01-07 Thread Yakir Yang
Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v2: - Correct the misspell "rk3036-dw-hdmi" (Heiko) .../display/rockchip/inno_hdmi-rockchip.txt| 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindin

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

2016-01-07 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 v2: - Using DRM atomic helper functions for connector init (Mark) - Remove "hdmi->connector.encoder = encoder

[RFC PATCH v2 4/4] dt-bindings: add document for rk3229-hdmi

2016-01-07 Thread Yakir Yang
Signed-off-by: Yakir Yang --- Changes in v2: None .../devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt b/Documentation/devicetree

[RFC PATCH v2 1/4] drm: dw-hdmi: make it easy to recovery the platform data for platform driver

2016-01-07 Thread Yakir Yang
Signed-off-by: Yakir Yang --- Changes in v2: None drivers/gpu/drm/imx/dw_hdmi-imx.c | 7 --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/imx/dw_hdmi-imx.c b/drivers/gpu/drm/imx/dw_hdmi

Re: [RFC PATCH v1 1/2] drm: rockchip: hdmi: add RK3229 HDMI support

2016-01-06 Thread Yakir Yang
pu/drm/imx/dw_hdmi-imx.c:189:2: warning: (near initialization for 'imx6dl_hdmi_drv_data.mode_valid') Sorry, - Yakir On 01/07/2016 12:37 PM, Yakir Yang wrote: RK3229 integrate an DesignedWare HDMI2.0 controller and an INNO HDMI2.0 phy, the max output resolution is 4K. Signed-off-by:

[RFC PATCH v1 2/2] dt-bindings: add document for rk3229-hdmi

2016-01-06 Thread Yakir Yang
Signed-off-by: Yakir Yang --- .../devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display

[RFC PATCH v1 1/2] drm: rockchip: hdmi: add RK3229 HDMI support

2016-01-06 Thread Yakir Yang
RK3229 integrate an DesignedWare HDMI2.0 controller and an INNO HDMI2.0 phy, the max output resolution is 4K. Signed-off-by: Yakir Yang --- drivers/gpu/drm/bridge/dw-hdmi.c| 33 ++- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 380 +--- drivers/gpu/drm

[RFC PATCH v1 0/2] Add RK3229 HDMI support

2016-01-06 Thread Yakir Yang
RK3229 have integrated an DesignedWare HDMI controller and an INNO HDMI phy, so we can still reuse the dw-hdmi driver for RK3229 HDMI controller, but we need to create an separate driver for RK3229 HDMI PHY. Yakir Yang (2): drm: rockchip: hdmi: add RK3229 HDMI support dt-bindings: add

Re: [PATCH v2 2/3] drm/rockchip: vop: add rk3229 vop support

2016-01-05 Thread Yakir Yang
Hi Mark, On 01/06/2016 08:56 AM, Mark yao wrote: On 2016年01月05日 11:58, Yakir Yang wrote: RK3229 registers layout is simalar to RK3288 layout, only the interruput registers is different to RK3288. RK3229 support two overlay plane and one hwc plane, max output resolution is 4K. it support IOMMU

Re: [PATCH v2 3/3] dt-bindings: add document for rk3229-vop

2016-01-05 Thread Yakir Yang
On 01/06/2016 12:06 AM, Rob Herring wrote: On Mon, Jan 4, 2016 at 10:00 PM, Yakir Yang wrote: Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v2: - acked by Rob It doesn't hurt, but there is no point to send a new version just to add acks. The maintainer should add an

<    1   2   3   4   5   6   7   8   >