<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Heiko,<br>
<br>
<div class="moz-cite-prefix">On 09/02/2015 10:15 AM, Yakir Yang
wrote:<br>
</div>
<blockquote cite="mid:55E65BCD.7090804@rock-chips.com" type="cite">Hi
Heiko,
<br>
<br>
在 09/02/2015 05:47 AM, Heiko Stuebner 写道:
<br>
<blockquote type="cite">Hi Yakir,
<br>
<br>
Am Dienstag, 1. September 2015, 13:46:11 schrieb Yakir Yang:
<br>
<blockquote type="cite"> The Samsung Exynos eDP controller
and Rockchip RK3288 eDP controller
<br>
share the same IP, so a lot of parts can be re-used. I split
the common
<br>
code into bridge directory, then rk3288 and exynos only need
to keep
<br>
some platform code. Cause I can't find the exact IP name of
exynos dp
<br>
controller, so I decide to name dp core driver with "analogix"
which I
<br>
find in rk3288 eDP TRM ;)
<br>
<br>
Beyond that, there are three light registers setting
differents bewteen
<br>
exynos and rk3288.
<br>
1. RK3288 have five special pll resigters which not indicata
in exynos
<br>
dp controller.
<br>
2. The address of DP_PHY_PD(dp phy power manager register) are
different
<br>
between rk3288 and exynos.
<br>
3. Rk3288 and exynos have different setting with
AUX_HW_RETRY_CTL(dp debug
<br>
register).
<br>
<br>
I have verified this series on two kinds of rockchip platform
board, one
<br>
is rk3288 sdk board which connect with a 2K display port
monitor, the other
<br>
is google jerry chromebook which connect with a eDP screen
"cnm,n116bgeea2",
<br>
both of them works rightlly.
<br>
</blockquote>
it looks like during the rebase something did go wrong and I
found some issues
<br>
I mentioned in the replies to individual patches.
<br>
<br>
I did prepare a branch based on mainline [0] with both the old
and the new edp
<br>
driver - rk3288_veyron_defconfig build both drivers into the
image.
<br>
<br>
While the old driver still works, I wasn't able to make the new
one work yet
<br>
... the drm core does find the connector, but not that anything
is connected
<br>
to it. I'll try to dig deeper tomorrow, but maybe you'll see
anything
<br>
interesting before then.
<br>
</blockquote>
<br>
Many thanks for your comment and debug, I would rebase on your
<br>
"edp-with-veyron" branch and fix the broken, make sure v6 would
<br>
work rightly at least in your side and my side.
<br>
</blockquote>
<br>
Just like we talk off line, I guess there are two
<meta http-equiv="content-type" content="text/html; charset=utf-8">
tricky questions which make analogix_dp just crash/failed on
rockchip platform:<br>
<br>
- One is how to reach a agreement with the common way to register
connector. There would be a conflict with Exynos & IMX &
Rockchip.<br>
On analogix_dp thread, Exynos want to register connector when
that connector is ready. <br>
On dw_hdmi thread, IMX want to register connector when all
component is already.<br>
So Exynos & IMX & Rockchip should reach a common way to
register connector to fix this issue.<br>
<br>
- The other is atomic API.<br>
The rockchip drm haven't
<meta http-equiv="content-type" content="text/html; charset=utf-8">
implemented the atomic API, but the original exynos_dp have used the
atomic API on connector helper function. That's why analogix_dp just
keep crash on your side.<br>
<br>
I have prepared the v5 version, although those would work directly
on rockchip side, but I could upload some HACK patches to gerrit to
make this works, hope we can keep the discussion going forward.<br>
<br>
Thanks,<br>
- Yakir<br>
<br>
<blockquote cite="mid:55E65BCD.7090804@rock-chips.com" type="cite">
<br>
- Yakir
<br>
<br>
<blockquote type="cite">
<br>
Heiko
<br>
<br>
[0]
<a class="moz-txt-link-freetext" href="https://github.com/mmind/linux-rockchip/tree/tmp/edp-with-veyron">https://github.com/mmind/linux-rockchip/tree/tmp/edp-with-veyron</a>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
_______________________________________________
<br>
Linux-rockchip mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Linux-rockchip@lists.infradead.org">Linux-rockchip@lists.infradead.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.infradead.org/mailman/listinfo/linux-rockchip">http://lists.infradead.org/mailman/listinfo/linux-rockchip</a>
<br>
</blockquote>
<br>
</body>
</html>