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

2015-10-11 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. Signed-off-by: Yakir Yang --- Changes in v6: None Changes in v5: None Changes in v4: - Call drm_panel_prepare() in

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

2015-10-11 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(). Signed-off-by: Yakir Yang --- Changes in v6: None Changes in v5: None Changes in v4: - Take Jingoo suggest, add commit me

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

2015-10-11 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 --- Changes in v6: None Chan

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

2015-10-11 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 --- Changes in v6: None Changes in v5: None Changes in v4: - Seprate the link-rate and lane-count limit out with the device_type flag

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

2015-10-11 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 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 misspell error

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

2015-10-11 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 v6: None Changes in v5: - Fix compiled error (Heiko) - Using the

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

2015-10-10 Thread Yakir Yang
24M>; clock-names = "24m"; #phy-cells = <0>; }; Signed-off-by: Yakir Yang --- Changes in v6: None Changes in v5: - Split binding doc's from driver changes. (Rob) - Update the rockchip,grf explain in document, and correct the clock requir

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

2015-10-10 Thread Yakir Yang
This phy driver would control the Rockchip DisplayPort module phy clock and phy power, it is relate to analogix_dp-rockchip dp driver. If you want DP works rightly on rockchip platform, then you should select both of them. Signed-off-by: Yakir Yang --- Changes in v6: None Changes in v5: - Remove

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

2015-10-10 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 --- Changes in v6: None Changes in v5: - Split binding doc's from driver changes. (Rob) - Add eDP hotplug pinctrl property. (

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

2015-10-10 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 --- Changes in v6: None Changes in v5: - Remove the empty line at the end of document, and correct the endpoint

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

2015-10-10 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 Signed-off-by: Yakir Yang --- Changes in v6: - Fix Peach Pit hpd property name error: - hpd-gpio = <&gpx2 6 0>; + hpd-gpios =

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

2015-10-10 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 --- Changes in v6: None Changes in v5

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

2015-10-10 Thread Yakir Yang
: Yakir Yang --- Changes in v6: None Changes in v5: - Switch video timing type to "u32", so driver could use "of_property_read_u32" to get the backword timing values. Krzysztof suggest me that driver could use the "of_property_read_bool" to get backword timing valu

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

2015-10-10 Thread Yakir Yang
2Gbps, 2.7Gbps, 5.4Gbps}. Signed-off-by: Yakir Yang --- 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 config to the DT property value directly, but w

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

2015-10-10 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 Signed-off-by: Yakir Yang --- Changes in v6: None Changes in v5: - Resequence this patch after analogix_dp driver have been split

[PATCH v6 02/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-10-10 Thread Yakir Yang
er 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 Yang --- Changes in v6: - Fix the Kconfig recursive depen

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

2015-10-10 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. Signed-off-by: Yakir Yang --- Changes in v6: - Fix the wrong code in previous series

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

2015-10-10 Thread Yakir Yang
choice not to debug more depth. That's to say if someone want to test this series, I suggest you applied this series on tag-20150918, just need to fix some light conflicts with the 01 & 02 patches (or just email me, I can send you directly). Thanks, - Yakir Changes in v6: - Fix the wrong

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

2015-10-10 Thread Yakir Yang
Hi Javier, On 10/08/2015 08:40 AM, Yakir Yang wrote: > On 10/07/2015 07:25 PM, Javier Martinez Canillas wrote: >> On 10/07/2015 01:05 PM, Yakir Yang wrote: >>> On 10/07/2015 05:26 PM, Javier Martinez Canillas wrote: >>>> On 10/07/2015 11:02 AM, Yakir Yang wrote

[PATCH 10/12] drm: bridge/dw_hdmi: fix phy enable/disable handling

2015-10-08 Thread Yakir Yang
Oh, I haven't noticed that those patches already have been merged into linux-next :-) On 10/08/2015 03:17 AM, Russell King - ARM Linux wrote: > On Wed, Oct 07, 2015 at 06:40:11PM +0800, Yakir Yang wrote: >> >> On 10/07/2015 05:48 PM, Russell King - ARM Linux wrote: >>

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

2015-10-08 Thread Yakir Yang
Hi Javier, On 10/07/2015 07:25 PM, Javier Martinez Canillas wrote: > Hello Yakir, > > On 10/07/2015 01:05 PM, Yakir Yang wrote: >> Hi Javier, >> >> On 10/07/2015 05:26 PM, Javier Martinez Canillas wrote: >>> Hello Yakir, >>> >>> On

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

2015-10-07 Thread Yakir Yang
Hi Javier, On 10/07/2015 05:26 PM, Javier Martinez Canillas wrote: > Hello Yakir, > > On 10/07/2015 11:02 AM, Yakir Yang wrote: >> Hi Javier, >> >> On 10/07/2015 04:46 PM, Javier Martinez Canillas wrote: >>> Hello Yakir, >>> >>>

[PATCH 10/12] drm: bridge/dw_hdmi: fix phy enable/disable handling

2015-10-07 Thread Yakir Yang
On 10/07/2015 05:48 PM, Russell King - ARM Linux wrote: > On Wed, Oct 07, 2015 at 12:05:37PM +0800, Yakir Yang wrote: >> >> On 08/09/2015 12:04 AM, Russell King wrote: >>> The dw_hdmi enable/disable handling is particularly weak in several >>> regards: >&

[PATCH 08/12] drm: bridge/dw_hdmi: avoid enabling interface in mode_set

2015-10-07 Thread Yakir Yang
On 10/07/2015 05:18 PM, Russell King - ARM Linux wrote: > On Wed, Oct 07, 2015 at 11:50:53AM +0800, Yakir Yang wrote: >> >> On 08/09/2015 12:04 AM, Russell King wrote: >>> On a mode set, DRM makes the following sequence of calls: >>> * for_each_encoder >>&

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

2015-10-07 Thread Yakir Yang
Hi Javier, On 10/07/2015 04:46 PM, Javier Martinez Canillas wrote: > Hello Yakir, > > On 10/07/2015 08:25 AM, Yakir Yang wrote: >> Hi all, >> >> Friendly ping. :) >> >> >> Best regards, >> - Yakir >> >> > Do you have a tree t

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

2015-10-07 Thread Yakir Yang
Hi all, Friendly ping. :) Best regards, - Yakir On 09/22/2015 03:20 PM, 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

[PATCH 10/12] drm: bridge/dw_hdmi: fix phy enable/disable handling

2015-10-07 Thread Yakir Yang
uot;); > > - hdmi_modb(hdmi, HDMI_PHY_HPD, HDMI_PHY_HPD, > - HDMI_PHY_POL0); > - > - dw_hdmi_poweroff(hdmi); > + if (!hdmi->disabled) > + dw_hdmi_powerof

[PATCH 09/12] drm: bridge/dw_hdmi: rename dw_hdmi_phy_enable_power()

2015-10-07 Thread Yakir Yang
dmi document, great clean, wish I have the qualification to share review. (If no, that's fine :) ) Reviewed-by: Yakir Yang - Yakir > This can be seen as the bit has no effect when the HDMI phy is > operational on iMX6 hardware. > > Rename the function to dw_hdmi_phy_enable_powerd

[PATCH 08/12] drm: bridge/dw_hdmi: avoid enabling interface in mode_set

2015-10-07 Thread Yakir Yang
dw_hdmi_poweroff(hdmi);// no need here } drm_helper_hpd_irq_event(hdmi->connector.dev); } .. } Thanks, - Yakir > --- > drivers/gpu/drm/bridge/dw_hdmi.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git

[PATCH 07/12] drm: bridge/dw_hdmi: enable audio only if sink supports audio

2015-10-07 Thread Yakir Yang
Some to 06/12 reply. Tested-by: Yakir Yang - Yakir > --- > drivers/gpu/drm/bridge/dw_hdmi.c | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c > b/drivers/gpu/drm/bridge/dw_hdmi.c > index 7f764716f3c4.

[PATCH 06/12] drm: bridge/dw_hdmi: clean up HDMI vs DVI mode handling

2015-10-07 Thread Yakir Yang
before, feel better about this one, and I have backport those 06/12 & 07/12 to chrome-3.14 tree, audio still works rightly when I changing the display resolutions. So I would like to share: Tested-by: Yakir Yang Besides, Andy, would you like to share your ACK here :) Best regards, - Ya

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

2015-09-30 Thread Yakir Yang
Hi Krzysztof, On 09/30/2015 04:26 PM, Krzysztof Kozlowski wrote: > On 30.09.2015 17:20, Yakir Yang wrote: >> Hi Krzysztof, >> >> On 09/30/2015 03:34 PM, Krzysztof Kozlowski wrote: >>> On 30.09.2015 16:19, Yakir Yang wrote: >>>> Hi Krzysztof, >>>

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

2015-09-30 Thread Yakir Yang
Hi Krzysztof, On 09/30/2015 03:34 PM, Krzysztof Kozlowski wrote: > On 30.09.2015 16:19, Yakir Yang wrote: >> Hi Krzysztof, >> >> On 09/30/2015 01:32 PM, Krzysztof Kozlowski wrote: >>> On 22.09.2015 16:37, Yakir Yang wrote: >>>> Both hsync/vsync pola

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

2015-09-30 Thread Yakir Yang
Hi Krzysztof, On 09/30/2015 01:39 PM, Krzysztof Kozlowski wrote: > On 22.09.2015 16:43, Yakir Yang wrote: >> After exynos_dp have been split the common IP code into analogix_dp driver, >> the analogix_dp driver have deprecated some Samsung platform properties which >> could

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

2015-09-30 Thread Yakir Yang
Hi Krzysztof, On 09/30/2015 01:32 PM, Krzysztof Kozlowski wrote: > On 22.09.2015 16:37, Yakir Yang wrote: >> Both hsync/vsync polarity and interlace mode can be parsed from >> drm display mode, and dynamic_range and ycbcr_coeff can be judge >> by the video code. >> >

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

2015-09-30 Thread Yakir Yang
Hi Krzysztof, On 09/30/2015 01:22 PM, Krzysztof Kozlowski wrote: > On 22.09.2015 16:34, Yakir Yang wrote: >> Fix some obvious alignment problems, like alignment and line >> over 80 characters problems, make this easy to be maintained >> later. >> >> Signed-off-by:

[PATCH v5 02/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-09-30 Thread Yakir Yang
Hi Krzysztof, On 09/30/2015 01:17 PM, Krzysztof Kozlowski wrote: > On 22.09.2015 16:29, 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.

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-29 Thread Yakir Yang
On 09/29/2015 05:55 PM, Yakir Yang wrote: > > > On 09/29/2015 05:28 PM, Sjoerd Simons wrote: >> When doing the initial setup both the hclk and the aclk need to be >> enabled otherwise the board will simply hang. This only occurs when >> building the vop driver as a mo

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-29 Thread Yakir Yang
re the clock framework shuts of unused clocks > (including the aclk). > > While there also switch to doing prepare and enable in one step rather > then separate steps to reduce the amount of code required. > > Signed-off-by: Sjoerd Simons Looks good and test on chromeos-3.14 tree, no

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

2015-09-22 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. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: - Call drm_panel_prepare() in .get_modes function

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

2015-09-22 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(). Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: - Take Jingoo suggest, add commit messages. Changes in v3: - m

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

2015-09-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 --- Changes in v5: None Chan

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

2015-09-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 --- Changes in v5: None Changes in v4: - Seprate the link-rate and lane-count limit out with the device_type flag. (Thierry) Changes in

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

2015-09-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 v5: None Changes in v4: None Changes in v3: None Changes in v2: - Fix compile failed dut to phy_pd_addr variable misspell error drivers/gpu/drm/bridge

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

2015-09-22 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 v5: - Fix compiled error (Heiko) - Using the connector display info

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

2015-09-22 Thread Yakir Yang
24M>; clock-names = "24m"; #phy-cells = <0>; }; Signed-off-by: Yakir Yang --- Changes in v5: - Split binding doc's from driver changes. (Rob) - Update the rockchip,grf explain in document, and correct the clock required elemets in docu

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

2015-09-22 Thread Yakir Yang
This phy driver would control the Rockchip DisplayPort module phy clock and phy power, it is relate to analogix_dp-rockchip dp driver. If you want DP works rightly on rockchip platform, then you should select both of them. Signed-off-by: Yakir Yang --- Changes in v5: - Remove "reg" D

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

2015-09-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 --- Changes in v5: - Split binding doc's from driver changes. (Rob) - Add eDP hotplug pinctrl property. (Heiko) Changes

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

2015-09-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 --- Changes in v5: - Remove the empty line at the end of document, and correct the endpoint numbers in the example

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

2015-09-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 --- Changes in v5: - Correct the misspell in commit message. (Krzysztof) Changes in v4: - Separate all DTS changes to a separate patch. (Krzysztof) Changes in v3

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

2015-09-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 --- Changes in v5: None Changes in v4

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

2015-09-22 Thread Yakir Yang
: Yakir Yang --- Changes in v5: - Switch video timing type to "u32", so driver could use "of_property_read_u32" to get the backword timing values. Krzysztof suggest me that driver could use the "of_property_read_bool" to get backword timing values, but that interfa

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

2015-09-22 Thread Yakir Yang
2Gbps, 2.7Gbps, 5.4Gbps}. Signed-off-by: Yakir Yang --- 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 config to the DT property value directly, but we can take those a

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

2015-09-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 --- Changes in v5: - Resequence this patch after analogix_dp driver have been split from exynos_dp code, and rephrase reasonable commit

[PATCH v5 02/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-09-22 Thread Yakir Yang
er 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 Yang --- Changes in v5: - Correct the check condition

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

2015-09-22 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. Signed-off-by: Yakir Yang --- Changes in v5: None Changes in v4: None Changes in v3

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

2015-09-22 Thread Yakir Yang
el and chromeos-3.14 tree. ;) Due to no Exynos board in my side, so I haven't verified the eDP function on samsung platform, I only ensure that there are no obvious compiled error. Any help would be greatly appreciated. :) Thanks, - Yakir Changes in v5: - Correct the check condition of gpio_i

[PATCH v4 0/16] Add Analogix Core Display Port Driver

2015-09-21 Thread Yakir Yang
Hi Thierry, On 09/21/2015 07:22 PM, Thierry Reding wrote: > On Mon, Sep 21, 2015 at 06:27:40PM +0800, Yakir Yang wrote: >> Hi Thierry, >> >> Thanks for your suggest :) >> >> On 09/21/2015 05:15 PM, Thierry Reding wrote: >>> On Mon, Sep 21, 2015 at 04:45:4

[PATCH v4 0/16] Add Analogix Core Display Port Driver

2015-09-21 Thread Yakir Yang
Hi Thierry, Thanks for your suggest :) On 09/21/2015 05:15 PM, Thierry Reding wrote: > On Mon, Sep 21, 2015 at 04:45:44PM +0800, Yakir Yang wrote: >> Hi Heiko, >> >> On 09/02/2015 10:15 AM, Yakir Yang wrote: >>> Hi Heiko, >>> >>> 在 09/02/201

[PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-21 Thread Yakir Yang
Hi Thierry & Rob, Sorry, apologize for the delay in replying :-) On 09/07/2015 04:20 PM, Thierry Reding wrote: > On Sun, Sep 06, 2015 at 11:59:08AM +0800, Yakir Yang wrote: >> Hi Thierry, >> >> 在 09/03/2015 05:04 PM, Thierry Reding 写道: >>> On Thu, Sep 0

[PATCH v4 0/16] Add Analogix Core Display Port Driver

2015-09-21 Thread Yakir Yang
Hi Heiko, On 09/02/2015 10:15 AM, Yakir Yang wrote: > Hi Heiko, > > 在 09/02/2015 05:47 AM, Heiko Stuebner 写道: >> Hi Yakir, >> >> Am Dienstag, 1. September 2015, 13:46:11 schrieb Yakir Yang: >>> The Samsung Exynos eDP controller and Rockchip RK3288 eD

[PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-07 Thread Yakir Yang
Hi Krzysztof, 在 09/07/2015 08:22 AM, Krzysztof Kozlowski 写道: > On 06.09.2015 16:49, Yakir Yang wrote: >> Hi Krzysztof, >> >> 在 09/04/2015 08:41 AM, Krzysztof Kozlowski 写道: >>> On 03.09.2015 14:30, Yakir Yang wrote: >>>> Hi Krzysztof, &g

[PATCH v4 11/16] drm: bridge: analogix/dp: add platform device type support

2015-09-07 Thread Yakir Yang
Hi Krzysztof, 在 09/07/2015 07:55 AM, Krzysztof Kozlowski 写道: > On 06.09.2015 13:07, Yakir Yang wrote: >> Hi Krzysztof, >> >> 在 09/04/2015 08:36 AM, Krzysztof Kozlowski 写道: >>> On 01.09.2015 15:07, Yakir Yang wrote: >>> >>> Empty commit

[PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-06 Thread Yakir Yang
Hi Rob, 在 09/05/2015 05:46 AM, Rob Herring 写道: > On Wed, Sep 2, 2015 at 11:27 PM, Yakir Yang wrote: >> Hi Rob, >> >> 在 09/03/2015 04:17 AM, Rob Herring 写道: >>> On Tue, Sep 1, 2015 at 1:14 AM, Yakir Yang wrote: >>>> Some edp screen do no

[PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-06 Thread Yakir Yang
Hi Krzysztof, 在 09/04/2015 08:41 AM, Krzysztof Kozlowski 写道: > On 03.09.2015 14:30, Yakir Yang wrote: >> Hi Krzysztof, >> >> 在 09/03/2015 08:58 AM, Krzysztof Kozlowski 写道: >>> On 01.09.2015 14:49, Yakir Yang wrote: >>>> Split the dp c

[PATCH v4 10/16] phy: Add driver for rockchip Display Port PHY

2015-09-06 Thread Yakir Yang
Hi Heiko, 在 09/03/2015 09:52 PM, Heiko Stuebner 写道: > Am Donnerstag, 3. September 2015, 11:25:00 schrieb Yakir Yang: >> 在 09/02/2015 09:27 PM, Rob Herring 写道: >>> On Tue, Sep 1, 2015 at 1:04 AM, Yakir Yang wrote: >>>> +- clocks: from common clo

[PATCH v4 11/16] drm: bridge: analogix/dp: add platform device type support

2015-09-06 Thread Yakir Yang
Hi Krzysztof, 在 09/04/2015 08:36 AM, Krzysztof Kozlowski 写道: > On 01.09.2015 15:07, Yakir Yang wrote: > > Empty commit message. Please explain here why you want to add platform > device type support. > > Actually the title is confusing. You are not adding support for platf

[PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-06 Thread Yakir Yang
Hi Thierry, 在 09/03/2015 05:04 PM, Thierry Reding 写道: > On Thu, Sep 03, 2015 at 12:27:47PM +0800, Yakir Yang wrote: >> Hi Rob, >> >> 在 09/03/2015 04:17 AM, Rob Herring 写道: >>> On Tue, Sep 1, 2015 at 1:14 AM, Yakir Yang wrote: >>>> Some edp

[PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-06 Thread Yakir Yang
Hi Thierry, 在 09/03/2015 04:38 PM, Thierry Reding 写道: > On Wed, Sep 02, 2015 at 06:02:25PM +0800, Yakir Yang wrote: >> 在 2015/9/2 16:34, Thierry Reding 写道: > [...] >>> At the very least your code must compile when applied against a recent >>> upstream tr

[PATCH v4 05/16] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & colorimetry

2015-09-06 Thread Yakir Yang
Hi Krzysztof, 在 09/03/2015 04:04 PM, Krzysztof Kozlowski 写道: > On 01.09.2015 14:55, Yakir Yang wrote: >> Both hsync/vsync polarity and interlace mode can be parsed from >> drm display mode, and dynamic_range and ycbcr_coeff can be judge >> by the video code, same to

[PATCH v4 01/16] drm: exynos/dp: fix code style

2015-09-06 Thread Yakir Yang
Hi Joe, 在 09/03/2015 01:57 PM, Joe Perches 写道: > On Thu, 2015-09-03 at 13:33 +0800, Yakir Yang wrote: > [] >>>>>> diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.c > [] >>>>>> @@ -155,24 +156,22 @@ static int exynos_dp

[PATCH v4 01/16] drm: exynos/dp: fix code style

2015-09-03 Thread Yakir Yang
Hi Krzysztof, 在 09/03/2015 01:08 PM, Krzysztof Kozlowski 写道: > On 03.09.2015 14:04, Yakir Yang wrote: >> Hi Krzysztof, >> >> 在 09/03/2015 08:21 AM, Krzysztof Kozlowski 写道: >>> On 01.09.2015 14:46, Yakir Yang wrote: >>>> After run "chec

[PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-03 Thread Yakir Yang
Hi Krzysztof, 在 09/03/2015 08:58 AM, Krzysztof Kozlowski 写道: > On 01.09.2015 14:49, Yakir Yang wrote: >> Split the dp core driver from exynos directory to bridge >> directory, and rename the core driver to analogix_dp_*, >> leave the platform code to analogix_dp-exynos

[PATCH v4 01/16] drm: exynos/dp: fix code style

2015-09-03 Thread Yakir Yang
Hi Krzysztof, 在 09/03/2015 08:21 AM, Krzysztof Kozlowski 写道: > On 01.09.2015 14:46, Yakir Yang wrote: >> After run "checkpatch.pl -f --subjective" command, I see there >> are lots of alignment problem in exynos_dp driver, so let just >> fix them. > Hi, >

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

2015-09-03 Thread Yakir Yang
Hi Krzysztof, 在 09/03/2015 08:01 AM, Krzysztof Kozlowski 写道: > On 01.09.2015 15:01, Yakir Yang wrote: >> After exynos_dp have been splited the common IP code into analogix_dp driver, > s/splited/split/ Done :) >> the analogix_dp driver have deprecated some samsung p

[PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-03 Thread Yakir Yang
Hi Rob, 在 09/03/2015 04:17 AM, Rob Herring 写道: > On Tue, Sep 1, 2015 at 1:14 AM, Yakir Yang wrote: >> Some edp screen do not have hpd signal, so we can't just return >> failed when hpd plug in detect failed. > This is a property of the panel (or connector perha

[PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-03 Thread Yakir Yang
Hi Emil, 在 09/02/2015 10:50 PM, Emil Velikov 写道: > [Dropping the CC list] Hmm...Don't understand what this means. If you can explain, that would be better, so I would not miss your suggest. :-) > Hi Yakir Yang, > > On 1 September 2015 at 06:49, Yakir Yang wrote: >

[PATCH v4 10/16] phy: Add driver for rockchip Display Port PHY

2015-09-03 Thread Yakir Yang
Hi Rob, 在 09/02/2015 09:27 PM, Rob Herring 写道: > On Tue, Sep 1, 2015 at 1:04 AM, Yakir Yang wrote: >> This phy driver would control the Rockchip DisplayPort module >> phy clock and phy power, it is relate to analogix_dp-rockchip >> dp driver. If you want DP work

[PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-02 Thread Yakir Yang
Thierry, 在 2015/9/2 16:34, Thierry Reding 写道: > On Wed, Sep 02, 2015 at 10:06:36AM +0800, Yakir Yang wrote: >> 在 09/02/2015 05:00 AM, Heiko Stuebner 写道: >>> Am Dienstag, 1. September 2015, 14:01:48 schrieb Yakir Yang: > [...] >>>> diff

[PATCH v4 0/16] Add Analogix Core Display Port Driver

2015-09-02 Thread Yakir Yang
Hi Heiko, 在 09/02/2015 05:47 AM, Heiko Stuebner 写道: > Hi Yakir, > > Am Dienstag, 1. September 2015, 13:46:11 schrieb Yakir Yang: >> The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller >> share the same IP, so a lot of parts can be re-used. I spl

[PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-02 Thread Yakir Yang
Hi Heiko, 在 09/02/2015 05:00 AM, Heiko Stuebner 写道: > Hi Yakir, > > Am Dienstag, 1. September 2015, 14:01:48 schrieb Yakir Yang: >> From: Mark Yao >> >> Add bpc and color mode setting in rockchip_drm_vop driver, so >> connector could try to use the edid

[PATCH v4 08/16] drm: rockchip/dp: add rockchip platform dp driver

2015-09-02 Thread Yakir Yang
Hi Heiko, 在 09/02/2015 05:00 AM, Heiko Stuebner 写道: > Hi Yakir, > > Am Dienstag, 1. September 2015, 14:01:28 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 v4 10/16] phy: Add driver for rockchip Display Port PHY

2015-09-02 Thread Yakir Yang
Hi Heiko, 在 09/02/2015 04:58 AM, Heiko Stuebner 写道: > Hi Yakir, > > small nit more below > > Am Dienstag, 1. September 2015, 18:51:16 schrieb Heiko Stuebner: >> Am Dienstag, 1. September 2015, 14:04:15 schrieb Yakir Yang: >>> +- clocks: from common clo

[PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-02 Thread Yakir Yang
Heiko, 在 09/02/2015 04:46 AM, Heiko Stuebner 写道: > Am Dienstag, 1. September 2015, 13:49:58 schrieb Yakir Yang: >> Split the dp core driver from exynos directory to bridge >> directory, and rename the core driver to analogix_dp_*, >> leave the platform code

[PATCH v4 10/16] phy: Add driver for rockchip Display Port PHY

2015-09-02 Thread Yakir Yang
Hi Heiko, 在 09/02/2015 12:51 AM, Heiko Stuebner 写道: > Am Dienstag, 1. September 2015, 14:04:15 schrieb Yakir Yang: >> This phy driver would control the Rockchip DisplayPort module >> phy clock and phy power, it is relate to analogix_dp-rockchip >> dp driver. If you wan

[PATCH v4 08/16] drm: rockchip/dp: add rockchip platform dp driver

2015-09-01 Thread Yakir Yang
Hi Heiko, 在 2015/9/1 22:24, Heiko Stuebner 写道: > Am Dienstag, 1. September 2015, 14:01:28 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 dri

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

2015-09-01 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. Signed-off-by: Yakir Yang --- Changes in v4: - Call drm_panel_prepare() in .get_modes function, ensure panel

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

2015-09-01 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(). Signed-off-by: Yakir Yang --- Changes in v4: - Take Jingoo suggest, add commit messages. Changes in v3: - move dp hpd det

[PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-01 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 --- Changes in v4: None Chang

[PATCH v4 13/16] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-09-01 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 --- Changes in v4: - Take Thierry suggest, seprate the link-rate and lane-count limit out with the device_type flag. Changes in v3

[PATCH v4 12/16] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-09-01 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 v4: None Changes in v3: None Changes in v2: - Fix compile failed dut to phy_pd_addr variable misspell error drivers/gpu/drm/bridge/analogix

[PATCH v4 11/16] drm: bridge: analogix/dp: add platform device type support

2015-09-01 Thread Yakir Yang
Signed-off-by: Yakir Yang --- Changes in v4: None Changes in v3: None Changes in v2: - Add GNU license v2 declared and samsung copyright drivers/gpu/drm/exynos/exynos_dp.c | 1 + drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 1 + include/drm/bridge/analogix_dp.h

[PATCH v4 10/16] phy: Add driver for rockchip Display Port PHY

2015-09-01 Thread Yakir Yang
This phy driver would control the Rockchip DisplayPort module phy clock and phy power, it is relate to analogix_dp-rockchip dp driver. If you want DP works rightly on rockchip platform, then you should select both of them. Signed-off-by: Yakir Yang --- Changes in v4: - Take Kishon suggest, add

[PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-01 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 v4: None Changes in v3: None Changes in v2: None drivers/gpu/drm

[PATCH v4 08/16] drm: rockchip/dp: add rockchip platform dp driver

2015-09-01 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 --- Changes in v4: - Remove some deprecated DT properties in rockchip dp document. Changes in v3: - Take Thierry

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

2015-09-01 Thread Yakir Yang
provide the backward compatibility, so there are no bisectability break that make this change in a separate patch. Signed-off-by: Yakir Yang --- Changes in v4: - Take Krzysztof suggest, separate all DTS changes to a separate patch. Changes in v3: None Changes in v2: None arch/arm/boot/dts

[PATCH v4 06/16] Documentation: drm/bridge: add document for analogix_dp

2015-09-01 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 --- Changes in v4: - Take Krzysztof

[PATCH v4 05/16] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & colorimetry

2015-09-01 Thread Yakir Yang
() in to achieve the compatibility hacks. Signed-off-by: Yakir Yang --- Changes in v4: - Take Krzysztof suggest, provide backword compatibility with samsung. - Take Thierry suggest, add "color-depth" and "color-space" dynamic parsed. Changes in v3: - Take Thierry Reding su

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

2015-09-01 Thread Yakir Yang
2Gbps, 2.7Gbps, 5.4Gbps}. Signed-off-by: Yakir Yang --- Changes in v4: - Take Jingoo Han suggest, update commit message more readable. - Adjust the order from 05 to 04 Changes in v3: - Take Thierry Reding suggest, link_rate and lane_count shouldn't config to the DT property value directly,

[PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-01 Thread Yakir Yang
Split the dp core driver from exynos directory to bridge directory, and rename the core driver to analogix_dp_*, leave the platform code to analogix_dp-exynos. Signed-off-by: Yakir Yang --- Changes in v4: - Take Rob suggest, update "analogix,hpd-gpios" to "hpd-gpios" DT pr

<    1   2   3   4   5   6   7   8   >