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

2015-11-11 Thread Yakir Yang
Hi Rob, On 11/12/2015 04:22 AM, Rob Herring wrote: On Wed, Nov 11, 2015 at 03:47:32PM +0800, Yakir Yang wrote: Signed-off-by: Yakir Yang Acked-by: Rob Herring Thanks you for responding ;) - Yakir --- .../display/rockchip/inno_hdmi-rockchip.txt| 50 ++ 1

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

2015-11-11 Thread Yakir Yang
Hi Rob, On 11/12/2015 04:22 AM, Rob Herring wrote: On Wed, Nov 11, 2015 at 03:47:32PM +0800, Yakir Yang wrote: Signed-off-by: Yakir Yang <y...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> Thanks you for responding ;) - Yakir --- .../display/rockchip/inno_hdmi-

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

2015-11-10 Thread Yakir Yang
Signed-off-by: Yakir Yang --- .../display/rockchip/inno_hdmi-rockchip.txt| 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt diff --git a/Documentation/devicetree/bindings/display

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

2015-11-10 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 --- drivers/gpu/drm/rockchip/Kconfig |8 + drivers/gpu/drm/rockchip/Makefile|1 + drivers/gpu/drm/rockchip/inno_hdmi.c

[RFC PATCH v1 0/2] Introduce Innosilicon HDMI driver on Rockchip platforms

2015-11-10 Thread Yakir Yang
CPUs haven't been landed on manline kernel, so I creat a branch to verify this series [https://github.com/rockchip-linux/kernel]. - Yakir Yakir Yang (2): drm: rockchip/hdmi: add Innosilicon HDMI support dt-bindings: add document for Innosilicon HDMI on Rockchip platform .../display

Re: [PATCH] drm/rockchip: vop: fix window origin calculation

2015-11-10 Thread Yakir Yang
, and this could fix my problem, so Tested-by: Yakir Yang - Yakir --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 48719df

Re: [PATCH] drm/rockchip: vop: fix window origin calculation

2015-11-10 Thread Yakir Yang
I have meet the screen shift problem on RK3036 SDK board, and this could fix my problem, so Tested-by: Yakir Yang <y...@rock-chips.com> - Yakir --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver

[RFC PATCH v1 0/2] Introduce Innosilicon HDMI driver on Rockchip platforms

2015-11-10 Thread Yakir Yang
CPUs haven't been landed on manline kernel, so I creat a branch to verify this series [https://github.com/rockchip-linux/kernel]. - Yakir Yakir Yang (2): drm: rockchip/hdmi: add Innosilicon HDMI support dt-bindings: add document for Innosilicon HDMI on Rockchip platform .../display

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

2015-11-10 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 <y...@rock-chips.com> --- drivers/gpu/drm/rockchip/Kconfig |8 + drivers/gpu/drm/rockchip/Makefile|1 + drivers/g

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

2015-11-10 Thread Yakir Yang
Signed-off-by: Yakir Yang <y...@rock-chips.com> --- .../display/rockchip/inno_hdmi-rockchip.txt| 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt diff --git a/Documen

Re: [PATCH v9 10/17] phy: Add driver for rockchip Display Port PHY

2015-11-03 Thread Yakir Yang
Hi Brain, On 11/03/2015 12:38 PM, Brian Norris wrote: Hi Yakir, On Thu, Oct 29, 2015 at 09:58:38AM +0800, Yakir Yang wrote: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir

Re: [PATCH v9 10/17] phy: Add driver for rockchip Display Port PHY

2015-11-03 Thread Yakir Yang
Hi Brain, On 11/03/2015 12:38 PM, Brian Norris wrote: Hi Yakir, On Thu, Oct 29, 2015 at 09:58:38AM +0800, Yakir Yang wrote: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Reviewed-by: Heiko Stuebner<he...@sntech

Re: [PATCH v10 09/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-11-01 Thread Yakir Yang
On 11/01/2015 02:37 AM, Rob Herring wrote: On Sat, Oct 31, 2015 at 1:42 AM, Yakir Yang wrote: 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. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang

Re: [PATCH v10 09/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-11-01 Thread Yakir Yang
On 11/01/2015 02:37 AM, Rob Herring wrote: On Sat, Oct 31, 2015 at 1:42 AM, Yakir Yang <y...@rock-chips.com> wrote: 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. Reviewed-by: Heiko Stuebn

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

2015-10-31 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. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v10: - Removed the duplicated signed-of. Changes in v9: - Document more details

Re: [PATCH v9 09/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-10-31 Thread Yakir Yang
On 10/31/2015 02:30 PM, Yakir Yang wrote: 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 Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner Sorry about the duplicate

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

2015-10-31 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 Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v9: - Document more details for 'ports' property. Changes

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

2015-10-31 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 <y...@rock-chips.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> Reviewed-by: Heiko Stuebner <he...@sntech.

Re: [PATCH v9 09/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-10-31 Thread Yakir Yang
On 10/31/2015 02:30 PM, Yakir Yang wrote: 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 <y...@rock-chips.com> Signed-off-by: Yakir Yang <y...@rock-chips.com&

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

2015-10-31 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. Reviewed-by: Heiko Stuebner <he...@sntech.de> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v10: - Removed the duplicated signed-

Re: [PATCH v8 09/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-10-30 Thread Yakir Yang
Hi Rob, On 10/31/2015 12:46 AM, Rob Herring wrote: On Wed, Oct 28, 2015 at 3:28 AM, Yakir Yang wrote: 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. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir

Re: [PATCH v8 11/17] dt-bindings: add document for rockchip dp phy

2015-10-30 Thread Yakir Yang
On 10/31/2015 12:42 AM, Rob Herring wrote: On Wed, Oct 28, 2015 at 3:31 AM, Yakir Yang wrote: Add dt binding documentation for rockchip display port PHY. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang Acked-by: Rob Herring Thanks, - Yakir --- Changes in v8: - Remove

Re: [PATCH v8 11/17] dt-bindings: add document for rockchip dp phy

2015-10-30 Thread Yakir Yang
On 10/31/2015 12:42 AM, Rob Herring wrote: On Wed, Oct 28, 2015 at 3:31 AM, Yakir Yang <y...@rock-chips.com> wrote: Add dt binding documentation for rockchip display port PHY. Reviewed-by: Heiko Stuebner <he...@sntech.de> Signed-off-by: Yakir Yang <y...@rock-chips.com> Ack

Re: [PATCH v8 09/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-10-30 Thread Yakir Yang
Hi Rob, On 10/31/2015 12:46 AM, Rob Herring wrote: On Wed, Oct 28, 2015 at 3:28 AM, Yakir Yang <y...@rock-chips.com> wrote: 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. Reviewed-by: Heiko St

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

2015-10-29 Thread Yakir Yang
as Signed-off-by: Yakir Yang --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Add "analogix,need-force-hpd" to indicate whether driver need foce hpd when hpd detect failed. Changes in v2: None

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

2015-10-29 Thread Yakir Yang
Hi Heiko, On 10/30/2015 01:49 AM, Heiko Stuebner wrote: Am Mittwoch, 28. Oktober 2015, 16:15:43 schrieb Yakir Yang: 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: [PATCH v8 0/17] Add Analogix Core Display Port Driver

2015-10-29 Thread Yakir Yang
Hi Heiko, On 10/30/2015 01:49 AM, Heiko Stuebner wrote: Am Mittwoch, 28. Oktober 2015, 16:15:43 schrieb Yakir Yang: 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

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

2015-10-29 Thread Yakir Yang
Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Add "analogix,need-force-hpd" to indica

[PATCH v9 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-28 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v9: - Removed the unused the variable "res" in probe function. (Heiko) - Removed the unused

Re: [PATCH v8 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-28 Thread Yakir Yang
Hi Heiko, On 10/29/2015 04:36 AM, Heiko Stuebner wrote: Hi Yakir, Am Mittwoch, 28. Oktober 2015, 16:30:33 schrieb Yakir Yang: +static int rockchip_dp_phy_probe(struct platform_device *pdev) +{ + struct device *dev = >dev; + struct device_node *np = dev->of_node; +

Re: [PATCH v8 06/17] dt-bindings: add document for analogix display port driver

2015-10-28 Thread Yakir Yang
Hi Heiko, On 10/29/2015 04:02 AM, Heiko Stuebner wrote: Hi Yakir, Am Mittwoch, 28. Oktober 2015, 16:26:33 schrieb Yakir Yang: diff --git a/Documentation/devicetree/bindings/display/exynos/exynos_dp.txt b/Documentation/devicetree/bindings/display/exynos/exynos_dp.txt index 7a3a9cd..9905081

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

2015-10-28 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes

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

2015-10-28 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None C

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

2015-10-28 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. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4

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

2015-10-28 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- 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

[PATCH v8 12/17] drm: rockchip: vop: add bpc and color mode setting

2015-10-28 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: - Fix

[PATCH v8 11/17] dt-bindings: add document for rockchip dp phy

2015-10-28 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v8: - Remove the specific address in the example node name. (Heiko) Changes in v7: - Simplify the commit message. (Kishon) Changes in v6: None Changes in v5

[PATCH v8 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-28 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v8: - Fix the mixed spacers on macro definitions. (Heiko) - Remove the unnecessary empty line after

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

2015-10-28 Thread Yakir Yang
e new copyright (Jingoo) - Fix compiled failed due to analogix_dp_device misspell - Improved commit message more readable, and avoid using some uncommon style like bellow: (Joe Preches) - retval = exynos_dp_read_bytes_from_i2c(... ...); + retval = +

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

2015-10-28 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. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v8: - Modify the commit subject name. (Heiko) Changes in v7: None Changes in v6: None

[PATCH v8 08/17] drm: rockchip: dp: add rockchip platform dp driver

2015-10-28 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. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5

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

2015-10-28 Thread Yakir Yang
, 2.7Gbps, 5.4Gbps}. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Update commit message more readable. (Jingoo) - Adjust the order from 05 to 04 Changes in v3: - The link_rate

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

2015-10-28 Thread Yakir Yang
compatibility is fully preserved, so there are no bisectability break that make this change in a separate patch. Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: - Fix Peach Pit hpd property name

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

2015-10-28 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. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang

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

2015-10-28 Thread Yakir Yang
-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: - Back to use the of_property_read_bool() interfacs to provoid backward compatibility of "hsync-active-high" "vsync-active-high" "interlaced" to avo

[PATCH v8 03/17] drm: bridge: analogix/dp: fix some obvious code style

2015-10-28 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None

[PATCH v8 01/17] drm: exynos: dp: convert to drm bridge mode

2015-10-28 Thread Yakir Yang
In order to move exynos dp code to bridge directory, we need to convert driver drm bridge mode first. As dp driver already have a ptn3460 bridge, so we need to move ptn bridge to the next bridge of dp bridge. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None

[PATCH v8 01/17] drm: exynos: dp: convert to drm bridge mode

2015-10-28 Thread Yakir Yang
In order to move exynos dp code to bridge directory, we need to convert driver drm bridge mode first. As dp driver already have a ptn3460 bridge, so we need to move ptn bridge to the next bridge of dp bridge. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yaki

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

2015-10-28 Thread Yakir Yang
-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8: None Changes in v7: - Back to use the of_property_read_bool() interfacs to provoid backward compatibility of

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

2015-10-28 Thread Yakir Yang
compatibility is fully preserved, so there are no bisectability break that make this change in a separate patch. Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- C

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

2015-10-28 Thread Yakir Yang
com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8: - Correct the right document path of display-timing.txt (Heiko) - Correct the misspell of 'from' to 'frm'. (Heiko) Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Split all DTS changes, and prov

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

2015-10-28 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. Reviewed-by: Heiko Stuebner <he...@sntech.de> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8: - Modify the commit subject

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

2015-10-28 Thread Yakir Yang
e new copyright (Jingoo) - Fix compiled failed due to analogix_dp_device misspell - Improved commit message more readable, and avoid using some uncommon style like bellow: (Joe Preches) - retval = exynos_dp_read_bytes_from_i2c(... ...); + retval = +

[PATCH v8 11/17] dt-bindings: add document for rockchip dp phy

2015-10-28 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Reviewed-by: Heiko Stuebner <he...@sntech.de> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8: - Remove the specific address in the example node name. (Heiko) Changes in v7: - Simplify the commit mess

[PATCH v8 03/17] drm: bridge: analogix/dp: fix some obvious code style

2015-10-28 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...

[PATCH v8 08/17] drm: rockchip: dp: add rockchip platform dp driver

2015-10-28 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. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8:

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

2015-10-28 Thread Yakir Yang
, 2.7Gbps, 5.4Gbps}. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Update commit message more readable. (Jingoo) - Adjust the o

[PATCH v8 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-28 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Reviewed-by: Heiko Stuebner <he...@sntech.de> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8: - Fix the mixed spacers on macro definitions. (Hei

[PATCH v9 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-28 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Reviewed-by: Heiko Stuebner <he...@sntech.de> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v9: - Removed the unused the variable "res" in

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

2015-10-28 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. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8: None Changes in v7:

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

2015-10-28 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v8: None Changes in v7: None Changes in v6: None Changes

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

2015-10-28 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-

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

2015-10-28 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- C

[PATCH v8 12/17] drm: rockchip: vop: add bpc and color mode setting

2015-10-28 Thread Yakir Yang
From: Mark Yao <y...@rock-chips.com> Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao <y...@rock-chips.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- C

Re: [PATCH v8 06/17] dt-bindings: add document for analogix display port driver

2015-10-28 Thread Yakir Yang
Hi Heiko, On 10/29/2015 04:02 AM, Heiko Stuebner wrote: Hi Yakir, Am Mittwoch, 28. Oktober 2015, 16:26:33 schrieb Yakir Yang: diff --git a/Documentation/devicetree/bindings/display/exynos/exynos_dp.txt b/Documentation/devicetree/bindings/display/exynos/exynos_dp.txt index 7a3a9cd..9905081

Re: [PATCH v8 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-28 Thread Yakir Yang
Hi Heiko, On 10/29/2015 04:36 AM, Heiko Stuebner wrote: Hi Yakir, Am Mittwoch, 28. Oktober 2015, 16:30:33 schrieb Yakir Yang: +static int rockchip_dp_phy_probe(struct platform_device *pdev) +{ + struct device *dev = >dev; + struct device_node *np = dev->of_node; +

Re: [PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-27 Thread Yakir Yang
On 10/28/2015 07:08 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:37 schrieb Yakir Yang: Add dt binding documentation for rockchip display port PHY. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5

Re: [PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:24 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:37 schrieb Yakir Yang: Add dt binding documentation for rockchip display port PHY. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- phy binding looks nice and easy Reviewed-by: Heiko Stuebner

Re: [PATCH v7 09/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-27 Thread Yakir Yang
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. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang everything else looks nice, so with a better subject Reviewed-by: Heiko Stuebner

Re: [PATCH v7 06/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-27 Thread Yakir Yang
Hi Heiko, On 10/28/2015 05:04 AM, Heiko Stuebner wrote: Hi Yakir, Am Samstag, 24. Oktober 2015, 11:06:00 schrieb 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

Re: [PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:23 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:04 schrieb Yakir Yang: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang

Re: [PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:23 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:04 schrieb Yakir Yang: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang

Re: [PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:23 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:04 schrieb Yakir Yang: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com>

Re: [PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:23 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:04 schrieb Yakir Yang: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com>

Re: [PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-27 Thread Yakir Yang
On 10/28/2015 07:08 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:37 schrieb Yakir Yang: Add dt binding documentation for rockchip display port PHY. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- C

Re: [PATCH v7 06/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-27 Thread Yakir Yang
Hi Heiko, On 10/28/2015 05:04 AM, Heiko Stuebner wrote: Hi Yakir, Am Samstag, 24. Oktober 2015, 11:06:00 schrieb 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

Re: [PATCH v7 09/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-27 Thread Yakir Yang
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. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> everything else lo

Re: [PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:24 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:37 schrieb Yakir Yang: Add dt binding documentation for rockchip display port PHY. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> ---

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

2015-10-23 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: None C

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

2015-10-23 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes

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

2015-10-23 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. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Seprate the link

[PATCH v7 12/17] drm: rockchip: vop: add bpc and color mode setting

2015-10-23 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: - Fix compiled error (Heiko

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

2015-10-23 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 v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Fix compile failed dut to phy_pd_addr variable

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

2015-10-23 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. Tested-by: Javier Martinez Canillas Signed-off-by:

[PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-23 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: - Split binding doc's from driver changes. (Rob) - Update the rockchip,grf explain in document, and correct

[PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-23 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: - Simply the commit message. (Kishon) - Symmetrical enable/disbale the phy

[PATCH v7 09/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-23 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. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: - Split binding doc's from driver

[PATCH v7 06/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-23 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. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang

[PATCH v7 08/17] drm: rockchip: dp: add rockchip platform dp driver

2015-10-23 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. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: - Remove the empty

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

2015-10-23 Thread Yakir Yang
compatibility is fully preserved, so there are no bisectability break that make this change in a separate patch. Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: - Fix Peach Pit hpd property name error: - hpd

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

2015-10-23 Thread Yakir Yang
, 2.7Gbps, 5.4Gbps}. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Update commit message more readable. (Jingoo) - Adjust the order from 05 to 04 Changes in v3: - The link_rate and lane_count shouldn't

[PATCH v7 03/17] drm: bridge: analogix/dp: fix some obvious code style

2015-10-23 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5

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

2015-10-23 Thread Yakir Yang
-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: - Back to use the of_property_read_bool() interfacs to provoid backward compatibility of "hsync-active-high" "vsync-active-high" "interlaced" to avoid -EOVERFLOW er

[PATCH v7 01/17] drm: exynos: dp: convert to drm bridge mode

2015-10-23 Thread Yakir Yang
In order to move exynos dp code to bridge directory, we need to convert driver drm bridge mode first. As dp driver already have a ptn3460 bridge, so we need to move ptn bridge to the next bridge of dp bridge. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None

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

2015-10-23 Thread Yakir Yang
ng some uncommon style like bellow: (Joe Preches) - retval = 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. (Heik

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

2015-10-23 Thread Yakir Yang
ng some uncommon style like bellow: (Joe Preches) - retval = 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. (Heik

[PATCH v7 03/17] drm: bridge: analogix/dp: fix some obvious code style

2015-10-23 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...

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

2015-10-23 Thread Yakir Yang
-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v7: - Back to use the of_property_read_bool() interfacs to provoid backward compatibility of "hsync-active-h

[PATCH v7 01/17] drm: exynos: dp: convert to drm bridge mode

2015-10-23 Thread Yakir Yang
In order to move exynos dp code to bridge directory, we need to convert driver drm bridge mode first. As dp driver already have a ptn3460 bridge, so we need to move ptn bridge to the next bridge of dp bridge. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yaki

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

2015-10-23 Thread Yakir Yang
, 2.7Gbps, 5.4Gbps}. Tested-by: Javier Martinez Canillas <jav...@osg.samsung.com> Signed-off-by: Yakir Yang <y...@rock-chips.com> --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Update commit message more readable. (Jingoo) - Adjust the order from 05 to 04 C

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