[PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-19 Thread Yakir Yang
Hi Dave, On 08/19/2015 06:54 PM, Dave Airlie wrote: > On 20 August 2015 at 00:48, 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 >>

[PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-20 Thread Yakir Yang
Hi Jingoo & Archit, On 08/20/2015 12:54 AM, Jingoo Han wrote: > On 2015. 8. 20., at PM 1:29, Archit Taneja wrote: >> Hi, >> >>> On 08/19/2015 08:18 PM, Yakir Yang wrote: >>> >>> Hi all, >>> The Samsung Exynos eDP controller and Rockchi

[PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-20 Thread Yakir Yang
Hi Jingoo, On 08/20/2015 01:55 AM, Jingoo Han wrote: > On 2015. 8. 20., at PM 3:23, Yakir Yang wrote: >> Hi Jingoo & Archit, >> >> >>> On 08/20/2015 12:54 AM, Jingoo Han wrote: >>>> On 2015. 8. 20., at PM 1:29, Archit Taneja >>>> wro

HOW TO MAKE SAMPLES DIR IN THE MAINLINE KERNEL TO BE COMPILED AND CREATED ".KO" FILE IN THE SAME DIRECTORY

2015-08-20 Thread Yakir Yang
o hello.o Makefile modules.order Module.symvers # My test makefile obj-m := hello.o KERNEL_DIR := ~/work/kernel-3.14 PWD := $(shell pwd) all: make -C $(KERNEL_DIR) SUBDIRS=$(PWD) modules clean: rm *.o *.ko *.mod.c .PHONY:clean Wish can help, - Yakir On 08/20/2015 03:45 AM, ravi ranja

[PATCH v3 08/14] phy: Add driver for rockchip Display Port PHY

2015-08-20 Thread Yakir Yang
Hi Kishon, On 08/20/2015 01:56 AM, Yakir Yang wrote: > Hi Kishon, > > On 08/19/2015 11:40 PM, Kishon Vijay Abraham I wrote: > [...] >>> [...] >>> +MODULE_DEVICE_TABLE(of, rockchip_dp_phy_dt_ids); >>> + >>> +static struct platform_

[PATCH v3 05/14] drm: bridge/analogix_dp: fix link_rate & lane_count bug

2015-08-20 Thread Yakir Yang
Hi Jingoo, On 08/20/2015 02:22 AM, Jingoo Han wrote: > On 2015. 8. 19., at PM 11:50, Yakir Yang wrote: >> link_rate and lane_count already configed in analogix_dp_set_link_train(), > s/configed/configured > > Also, the commit name such as "fix ... bug" is not good. &g

[PATCH v3 08/14] phy: Add driver for rockchip Display Port PHY

2015-08-20 Thread Yakir Yang
Hi Kishon, On 08/19/2015 11:40 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 19 August 2015 08:21 PM, Yakir Yang wrote: >> Signed-off-by: Yakir Yang > where's the commit message? Actually I have no detail words for this, so leave this empty :-) If you think

[PATCH v3 12/14] drm: bridge/analogix_dp: expand the delay time for hpd detect

2015-08-20 Thread Yakir Yang
Hi Jingoo, On 08/20/2015 01:11 AM, Jingoo Han wrote: > On 2015. 8. 19., at PM 11:52, Yakir Yang wrote: >> Some edp screen with no hpd signal would need some delay time >> to ensure that screen would be ready for work, so we can expand >> the delay time in hpd detect functio

[PATCH v3 13/14] drm: bridge/analogix_dp: move hpd detect to connector detect function

2015-08-20 Thread Yakir Yang
Hi Jingoo, On 08/20/2015 02:49 AM, Jingoo Han wrote: > On 2015. 8. 19., at PM 11:52, Yakir Yang wrote: > > What is the reason to make this patch? > > Please make commit message including the reason. Okay, I think the below words would be okay :) "This change just make a

[PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-21 Thread Yakir Yang
Hi Jingoo, 在 2015/8/21 16:20, Jingoo Han 写道: > On 2015. 8. 19., at PM 11:48, Yakir Yang wrote: >> > . > >> .../bindings/video/analogix_dp-rockchip.txt| 83 ++ >> .../devicetree/bindings/video/exynos_dp.txt| 51 +- >> arch/ar

[PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-22 Thread Yakir Yang
Hi Jingoo, 2015-08-21 7:24 GMT-04:00 Jingoo Han : > On 2015. 8. 21., at PM 7:01, Yakir Yang wrote: > > Hi Jingoo, > > 在 2015/8/21 16:20, Jingoo Han 写道: > > On 2015. 8. 19., at PM 11:48, Yakir Yang rock-chips.com> wrote: > > . > > > .../

[PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-22 Thread Yakir Yang
Hi Thierry, 2015-08-21 9:16 GMT-04:00 Thierry Reding : > On Fri, Aug 21, 2015 at 08:24:16PM +0900, Jingoo Han wrote: > > On 2015. 8. 21., at PM 7:01, Yakir Yang wrote: > > > > > > Hi Jingoo, > > > > > >> 在 2015/8/21 16:20, Jingoo Han 写道:

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
Hi Heiko, 在 2015/8/24 21:03, Heiko Stuebner 写道: > Hi Yakir, > > Am Montag, 24. August 2015, 20:48:01 schrieb Yakir Yang: >> 在 08/24/2015 12:20 PM, Krzysztof Kozlowski 写道: >>> On 24.08.2015 11:42, Yakir Yang wrote: >>>> Hi Krzysztof, >>

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-23 Thread Yakir Yang
Hi Krzysztof, 在 08/23/2015 07:43 PM, Krzysztof Kozlowski 写道: > 2015-08-24 8:23 GMT+09:00 Rob Herring : >> On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: >>> Analogix dp driver is split from exynos dp driver, so we just >>> make an copy of exynos_dp.txt, and

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-24 Thread Yakir Yang
Hi Jingoo, 在 08/24/2015 03:40 PM, Jingoo Han 写道: > On 2015. 8. 24., at AM 9:43, Krzysztof Kozlowski > wrote: >> 2015-08-24 8:23 GMT+09:00 Rob Herring : >>>> On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: >>>> Analogix dp driver is split from exyno

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
Hi Krzysztof, 在 2015/8/25 7:49, Krzysztof Kozlowski 写道: > On 24.08.2015 21:48, Yakir Yang wrote: >> Hi Krzysztof, >> >> 在 08/24/2015 12:20 PM, Krzysztof Kozlowski 写道: >>> On 24.08.2015 11:42, Yakir Yang wrote: >>>> Hi Krzysztof, >>>&g

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
Hi Thierry, 在 2015/8/25 17:15, Thierry Reding 写道: > On Sun, Aug 23, 2015 at 06:23:14PM -0500, Rob Herring wrote: >> On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: > [...] >>> + -analogix,link-rate: >>> + max link rate s

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
Hi Thierry & Rob, 在 2015/8/25 21:27, Rob Herring 写道: > On Tue, Aug 25, 2015 at 4:15 AM, Thierry Reding wrote: >> On Sun, Aug 23, 2015 at 06:23:14PM -0500, Rob Herring wrote: >>> On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: >> [...] >

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-23 Thread Yakir Yang
Hi Rob, 在 08/23/2015 06:23 PM, Rob Herring 写道: > On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: >> 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 exyno

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-24 Thread Yakir Yang
Hi Krzysztof, 在 08/24/2015 12:20 PM, Krzysztof Kozlowski 写道: > On 24.08.2015 11:42, Yakir Yang wrote: >> Hi Krzysztof, >> >> 在 08/23/2015 07:43 PM, Krzysztof Kozlowski 写道: >>> 2015-08-24 8:23 GMT+09:00 Rob Herring : >>>> On Wed,

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
在 2015/8/24 22:48, Rob Herring 写道: > On Mon, Aug 24, 2015 at 7:57 AM, Russell King - ARM Linux > wrote: >> On Sun, Aug 23, 2015 at 06:23:14PM -0500, Rob Herring wrote: >>> On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: >>>> + -analogix,color-d

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
> On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: >>>>> + -analogix,color-depth: >>>>> + number of bits per colour component. >>>>> + COLOR_6 = 0, COLOR_8 = 1, COLOR_10 = 2, COLOR_12 >>>>> =

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
Hi Thierry, 在 2015/8/25 18:06, Thierry Reding 写道: > On Tue, Aug 25, 2015 at 05:41:19PM +0800, Yakir Yang wrote: >> Hi Thierry, >> >> 在 2015/8/25 17:12, Thierry Reding 写道: >>> On Mon, Aug 24, 2015 at 09:48:27AM -0500, Rob Herring wrote: >>>>

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
Hi Thierry, 在 2015/8/25 22:16, Thierry Reding 写道: > On Tue, Aug 25, 2015 at 09:48:01PM +0800, Yakir Yang wrote: >> Hi Thierry & Rob, >> >> 在 2015/8/25 21:27, Rob Herring 写道: >>> On Tue, Aug 25, 2015 at 4:15 AM, Thierry Reding >>> wrote: &g

[PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-25 Thread Yakir Yang
Hi Thierry, 在 2015/8/25 17:58, Thierry Reding 写道: > On Wed, Aug 19, 2015 at 09:50:34AM -0500, Yakir Yang wrote: > [...] >> +-analogix,color-space: >> +input video data format. >> +COLOR_RGB = 0, COLOR_YCBCR422 = 1, COLOR_YCBCR444 =

[PATCH v3 3/3] drm/rockchip: remove rockchip_drm_encoder_get_mux_id

2015-08-28 Thread Yakir Yang
gt; Signed-off-by: Philipp Zabel > the person working the most on the rockchip dw_hdmi currently is probably > Yakir Yang (included now). > > But even to me with my general Rockchip work area outside the drm this looks > good, as there isn't any functional change present in

[PATCH v3 3/3] drm/rockchip: remove rockchip_drm_encoder_get_mux_id

2015-08-28 Thread Yakir Yang
Hi Philipp & Heiko, 在 2015/8/28 9:17, Yakir Yang 写道: > Hi Philipp, > > 在 2015/8/27 19:26, Heiko Stuebner 写道: >> Hi Philipp, >> >> Am Donnerstag, 27. August 2015, 12:56:07 schrieb Philipp Zabel: >>> It is replaced by drm_of_encoder_active_endpoin

[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 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 v3 0/14] Add Analogix Core Display Port Driver

2015-08-31 Thread Yakir Yang
ld rebase on kernel/next/linux-next.git when I'm preparing v4 series. Thanks, - Yakir > Regards, > Romain > > 2015-08-21 15:16 GMT+02:00 Thierry Reding : >> On Fri, Aug 21, 2015 at 08:24:16PM +0900, Jingoo Han wrote: >>> On 2015. 8. 21., at PM 7:01, Yakir Yang wro

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

2015-09-01 Thread Yakir Yang
series, there would be no conflict ;) Thanks, - Yakir Changes in v4: - Take Romain suggest, rebase on linux-next branch. - Take Rob suggest, update "analogix,hpd-gpios" to "hpd-gpios" DT propery. - Take Jingoo suggest, rename "analogix_dp-exynos.c" file name to "exynos_d

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

2015-09-01 Thread Yakir Yang
After run "checkpatch.pl -f --subjective" command, I see there are lots of alignment problem in exynos_dp driver, so let just fix them. - Take Romain suggest, rebase on linux-next branch Signed-off-by: Yakir Yang --- Changes in v4: None Changes in v3: None Changes in v2: - Take J

[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 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 02/16] drm: exynos/dp: convert to drm bridge mode

2015-09-01 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 v4: - Take Romain suggest, rebase on linux

[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

[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 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 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 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 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 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 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 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 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 v8 14/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-12-02 Thread Yakir Yang
Hi Heiko, On 11/27/2015 09:32 PM, Heiko Stübner wrote: > Am Mittwoch, 28. Oktober 2015, 16:56:01 schrieb 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-b

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

2015-12-07 Thread Yakir Yang
8 board. Also I have tested on Samsung Snow and Peach Pit Chromebooks, and thanks to Javier at Samsung help to retest the whole series on Samsung Exynos5800 Peach Pi Chromebook, glad to say that things works rightlly. Thanks, - Yakir Changes in v10: - Correct the ROCKCHIP_ANALOGIX_DP indentatio

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

2015-12-07 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 v10 02/17] drm: bridge: analogix/dp: fix some obvious code style

2015-12-07 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 Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v10: None Changes in v9: None Changes in v8: None

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

2015-12-07 Thread Yakir Yang
2Gbps, 2.7Gbps, 5.4Gbps}. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- 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 in v4: - Update commit message more readable. (Jingoo) - Adjust the order from

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

2015-12-07 Thread Yakir Yang
: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- 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 compatibility of "hsync-active-high" "vs

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

2015-12-07 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 Tested-by: Javier Martinez Canillas

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

2015-12-07 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 v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes

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

2015-12-07 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 v10: - Correct the ROCKCHIP_ANALOGIX_DP indentation in Kconfig

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

2015-12-07 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 Reviewed-by: Heiko Stuebner --- Changes in v10: None Changes in v9: - Document more details for 'ports' property. Cha

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

2015-12-07 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 v10: - Fix the wrong macro value of GRF_EDP_REF_CLK_SEL_INTER_HIWORD_MASK BIT(4) -> BIT(20) Changes

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

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

[PATCH v10 11/17] drm: rockchip: vop: add bpc and color mode setting

2015-12-07 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 v10: None Changes in v9: None Changes in v8: None Changes in v7: None

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

2015-12-07 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 Tested-by: Javier Martinez Canillas --- 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 v10 13/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-12-07 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 v10: - Remove the surplus "plat_data" check. (Heiko) - switch (dp-

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

2015-12-07 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 Tested-by: Javier Ma

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

2015-12-07 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 v10 16/17] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2015-12-07 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 v10: None

[PATCH v10 17/17] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-07 Thread Yakir Yang
;t have this problem, then driver would received the reply command very soon, so no more additional wait time would bring to Exynos platform. Signed-off-by: Yakir Yang --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None

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

2015-12-07 Thread Yakir Yang
On 12/07/2015 02:38 PM, 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 analogix_dp driver would export six hooks. > "

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

2015-12-07 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 v10 05/17] dt-bindings: add document for analogix display port driver

2015-12-09 Thread Yakir Yang
Hi Rob, Thanks - Yakir On 12/08/2015 11:01 PM, Rob Herring wrote: > On Mon, Dec 07, 2015 at 02:39:07PM +0800, Yakir Yang wrote: >> 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 >> >> Bes

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

2015-12-09 Thread Yakir Yang
Hi Rob, On 12/08/2015 11:03 PM, Rob Herring wrote: > On Mon, Dec 07, 2015 at 02:39:34PM +0800, 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. >> >>

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

2015-12-09 Thread Yakir Yang
Hi Rob On 12/08/2015 11:06 PM, Rob Herring wrote: > On Mon, Dec 07, 2015 at 02:39:50PM +0800, Yakir Yang wrote: >> Add dt binding documentation for rockchip display port PHY. >> >> Signed-off-by: Yakir Yang >> Reviewed-by: Heiko Stuebner > One possible typo below

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

2015-12-09 Thread Yakir Yang
Hi Rob, Thanks for your respond. On 12/08/2015 11:09 PM, Rob Herring wrote: > On Mon, Dec 07, 2015 at 02:40:42PM +0800, 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

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

2015-12-09 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 Tested-by

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

2015-12-09 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 v10.1: - Add the ack from Rob Herring Changes in v10: None

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

2015-12-09 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 v10.1: - Add the ack from Rob Herring - Correct the title of this rockchip dp phy document(Rob) Changes in v9: None Changes in v8: - Remove

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

2015-12-09 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 Tested-by: Javier Ma

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

2015-12-09 Thread Yakir Yang
Hi Heiko, Thanks a lot for great debugging. On 12/08/2015 11:33 PM, Heiko Stübner wrote: > Hi Yakir, > > Am Montag, 7. Dezember 2015, 14:37:19 schrieb Yakir Yang: >> The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller >> share the same IP, so a lot of

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

2015-12-09 Thread Yakir Yang
Hi Rob, On 12/09/2015 12:25 PM, Rob Herring wrote: > On Wed, Dec 09, 2015 at 10:10:39AM +0800, 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 an hardware property, so w

[PATCH v10.2 14/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-12-09 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 "force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-by: Javier Ma

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

2015-12-10 Thread Yakir Yang
Hi Heiko, On 12/09/2015 10:51 PM, Heiko Stübner wrote: > Hi Yakir, > > Am Mittwoch, 9. Dezember 2015, 11:49:10 schrieb Yakir Yang: >> Thanks a lot for great debugging. >> >> On 12/08/2015 11:33 PM, Heiko Stübner wrote: >>> Hi Yakir, >>> >>&g

[PATCH v10.1 15/19] drm: bridge: analogix/dp: move hpd detect to connector detect function

2015-12-10 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 v10 18/19] drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time

2015-12-10 Thread Yakir Yang
Turn off the panel power in suspend time would help to reduce power waste. Signed-off-by: Yakir Yang --- This patch was introduced in v10.1, suggested by Heiko 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 in v4

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

2015-12-10 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 v8 1/2] drm/rockchip: hdmi: add Innosilicon HDMI support

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

[PATCH v8.1 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

[PATCH v13.1 01/19] 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-o

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

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

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

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

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

<    1   2   3   4   5   6   7   8   >