<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Krzysztof,<br>
<br>
<div class="moz-cite-prefix">在 09/03/2015 08:01 AM, Krzysztof
Kozlowski 写道:<br>
</div>
<blockquote cite="mid:55E78DCF.1060308@samsung.com" type="cite">
<pre wrap="">On 01.09.2015 15:01, Yakir Yang wrote:
</pre>
<blockquote type="cite">
<pre wrap="">After exynos_dp have been splited the common IP code into analogix_dp driver,
</pre>
</blockquote>
<pre wrap="">s/splited/split/
</pre>
</blockquote>
<br>
Done :)<br>
<blockquote cite="mid:55E78DCF.1060308@samsung.com" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">the analogix_dp driver have deprecated some samsung platform properties which
</pre>
</blockquote>
<pre wrap="">
s/samsung/Samsung/
</pre>
</blockquote>
<br>
Done,<br>
<br>
<blockquote cite="mid:55E78DCF.1060308@samsung.com" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">could be dynamic parsed from EDID/MODE/DPCD message, so this is an update for
</pre>
</blockquote>
<pre wrap="">
s/dynamic/dynamically/
</pre>
</blockquote>
<br>
thanks,<br>
<br>
<blockquote cite="mid:55E78DCF.1060308@samsung.com" type="cite">
<blockquote type="cite">
<pre wrap="">exynos DTS file for dp-controller.
</pre>
</blockquote>
<pre wrap="">/exynos/Exynos/
</pre>
</blockquote>
<br>
Okay<br>
<br>
<blockquote cite="mid:55E78DCF.1060308@samsung.com" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">
Beside analogix_dp have provide the backward compatibility, so there are no
bisectability break that make this change in a separate patch.
</pre>
</blockquote>
<pre wrap="">
It took me some time to figure out the meaning of this sentence... Did
you want to say that backward compatibility is fully preserved?</pre>
</blockquote>
<br>
Aha, Yeah, I means I already have provided the backward<br>
compatibility in previous patches, so no kernel broken when<br>
I make this DTS change in separate patch.<br>
<br>
<blockquote cite="mid:55E78DCF.1060308@samsung.com" type="cite">
<pre wrap="">
You are removing samsung,dynamic-range and samsung,ycbcr-coeff. I would
assume that now:
1. on all these board these values would be parsed from EDID/MODE/DPCD
message?
2. everything would work as previously?
Am I understanding it correctly?
</pre>
</blockquote>
<br>
Yeah, you are right. I think dynamic-range and ycbcr-coeff can parse
from<br>
the vic value of mode, and this works rightly on my side whether the
TV and<br>
simple panel (if we ignored the mistake I make in v4 :( ).<br>
<br>
But I do have a concern about the ycbcr-coeff. I just copy the judge
rule from<br>
dw_hdmi code, and don't understand very well about it, wish some
guys could<br>
share some ideas.<br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p style="margin: 0px; padding: 0px; border: 0px; font-weight:
normal; font-style: normal; font-size: 14px; font-family: arial,
helvetica, 'helvetica neue', verdana, sans-serif; vertical-align:
baseline; color: rgb(81, 98, 111); font-variant: normal;
letter-spacing: normal; line-height: 21px; orphans: auto;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><span style="margin: 0px; padding: 0px; border: 0px;
font-weight: inherit; font-style: inherit; font-size: 10pt;
font-family: terminal, monaco; vertical-align: baseline;">
if ((vic == 2) || (vic == 3) || (vic == 6) ||</span></p>
<p style="margin: 0px; padding: 0px; border: 0px; font-weight:
normal; font-style: normal; font-size: 14px; font-family: arial,
helvetica, 'helvetica neue', verdana, sans-serif; vertical-align:
baseline; color: rgb(81, 98, 111); font-variant: normal;
letter-spacing: normal; line-height: 21px; orphans: auto;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><span style="margin: 0px; padding: 0px; border: 0px;
font-weight: inherit; font-style: inherit; font-size: 10pt;
font-family: terminal, monaco; vertical-align: baseline;">
(vic == 7) || (vic == 17) || (vic == 18) ||</span></p>
<p style="margin: 0px; padding: 0px; border: 0px; font-weight:
normal; font-style: normal; font-size: 14px; font-family: arial,
helvetica, 'helvetica neue', verdana, sans-serif; vertical-align:
baseline; color: rgb(81, 98, 111); font-variant: normal;
letter-spacing: normal; line-height: 21px; orphans: auto;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><span style="margin: 0px; padding: 0px; border: 0px;
font-weight: inherit; font-style: inherit; font-size: 10pt;
font-family: terminal, monaco; vertical-align: baseline;">
(vic == 21) || (vic == 22))</span></p>
<p style="margin: 0px; padding: 0px; border: 0px; font-weight:
normal; font-style: normal; font-size: 14px; font-family: arial,
helvetica, 'helvetica neue', verdana, sans-serif; vertical-align:
baseline; color: rgb(81, 98, 111); font-variant: normal;
letter-spacing: normal; line-height: 21px; orphans: auto;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><span style="margin: 0px; padding: 0px; border: 0px;
font-weight: inherit; font-style: inherit; font-size: 10pt;
font-family: terminal, monaco; vertical-align: baseline;">
hdmi->mode_data.colorimetry = eITU601;</span></p>
<p style="margin: 0px; padding: 0px; border: 0px; font-weight:
normal; font-style: normal; font-size: 14px; font-family: arial,
helvetica, 'helvetica neue', verdana, sans-serif; vertical-align:
baseline; color: rgb(81, 98, 111); font-variant: normal;
letter-spacing: normal; line-height: 21px; orphans: auto;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><span style="margin: 0px; padding: 0px; border: 0px;
font-weight: inherit; font-style: inherit; font-size: 10pt;
font-family: terminal, monaco; vertical-align: baseline;">
else</span></p>
<p style="margin: 0px; padding: 0px; border: 0px; font-weight:
normal; font-style: normal; font-size: 14px; font-family: arial,
helvetica, 'helvetica neue', verdana, sans-serif; vertical-align:
baseline; color: rgb(81, 98, 111); font-variant: normal;
letter-spacing: normal; line-height: 21px; orphans: auto;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><span style="margin: 0px; padding: 0px; border: 0px;
font-weight: inherit; font-style: inherit; font-size: 10pt;
font-family: terminal, monaco; vertical-align: baseline;">
hdmi->mode_data.colorimetry = eITU709;</span></p>
<br class="Apple-interchange-newline">
Beside, most panel timing would not match the cea mode, that's to
say panel<br>
timing would get vic to zero in most time. So after the previous
rule, ycbcr would<br>
set to ITU709 which is "1" in eDP controller. But I see Exynos
always set 0 to this<br>
bit, so this is the place I am worry about.<br>
<br>
- Yakir<br>
<br>
<blockquote cite="mid:55E78DCF.1060308@samsung.com" type="cite">
<pre wrap="">
The patch itself looks good.
</pre>
</blockquote>
<br>
Thanks.<br>
<br>
<blockquote cite="mid:55E78DCF.1060308@samsung.com" type="cite">
<pre wrap="">
Best regards,
Krzysztof
</pre>
<blockquote type="cite">
<pre wrap="">
Signed-off-by: Yakir Yang <a class="moz-txt-link-rfc2396E" href="mailto:ykk@rock-chips.com"><ykk@rock-chips.com></a>
---
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/exynos5250-arndale.dts | 2 --
arch/arm/boot/dts/exynos5250-smdk5250.dts | 2 --
arch/arm/boot/dts/exynos5250-snow.dts | 4 +---
arch/arm/boot/dts/exynos5250-spring.dts | 4 +---
arch/arm/boot/dts/exynos5420-peach-pit.dts | 4 +---
arch/arm/boot/dts/exynos5420-smdk5420.dts | 2 --
arch/arm/boot/dts/exynos5800-peach-pi.dts | 4 +---
7 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index db3f65f..4636862 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -124,8 +124,6 @@
&dp {
status = "okay";
samsung,color-space = <0>;
- samsung,dynamic-range = <0>;
- samsung,ycbcr-coeff = <0>;
samsung,color-depth = <1>;
samsung,link-rate = <0x0a>;
samsung,lane-count = <4>;
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index c625e71..cd424d6 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -80,8 +80,6 @@
&dp {
samsung,color-space = <0>;
- samsung,dynamic-range = <0>;
- samsung,ycbcr-coeff = <0>;
samsung,color-depth = <1>;
samsung,link-rate = <0x0a>;
samsung,lane-count = <4>;
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index 0720caa..242b621 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -244,12 +244,10 @@
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd>;
samsung,color-space = <0>;
- samsung,dynamic-range = <0>;
- samsung,ycbcr-coeff = <0>;
samsung,color-depth = <1>;
samsung,link-rate = <0x0a>;
samsung,lane-count = <2>;
- samsung,hpd-gpio = <&gpx0 7 GPIO_ACTIVE_HIGH>;
+ hpd-gpios = <&gpx0 7 GPIO_ACTIVE_HIGH>;
ports {
port@0 {
diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts
index c1edd6d..91881d7 100644
--- a/arch/arm/boot/dts/exynos5250-spring.dts
+++ b/arch/arm/boot/dts/exynos5250-spring.dts
@@ -74,12 +74,10 @@
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd_gpio>;
samsung,color-space = <0>;
- samsung,dynamic-range = <0>;
- samsung,ycbcr-coeff = <0>;
samsung,color-depth = <1>;
samsung,link-rate = <0x0a>;
samsung,lane-count = <1>;
- samsung,hpd-gpio = <&gpc3 0 GPIO_ACTIVE_HIGH>;
+ hpd-gpios = <&gpc3 0 GPIO_ACTIVE_HIGH>;
};
&ehci {
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index 8f4d76c..7433683 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -148,12 +148,10 @@
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd_gpio>;
samsung,color-space = <0>;
- samsung,dynamic-range = <0>;
- samsung,ycbcr-coeff = <0>;
samsung,color-depth = <1>;
samsung,link-rate = <0x06>;
samsung,lane-count = <2>;
- samsung,hpd-gpio = <&gpx2 6 0>;
+ hpd-gpio = <&gpx2 6 0>;
ports {
port@0 {
diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
index 98871f9..b3df3c1 100644
--- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
+++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
@@ -92,8 +92,6 @@
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd>;
samsung,color-space = <0>;
- samsung,dynamic-range = <0>;
- samsung,ycbcr-coeff = <0>;
samsung,color-depth = <1>;
samsung,link-rate = <0x0a>;
samsung,lane-count = <4>;
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index 7d5b386..b89bff5 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -142,12 +142,10 @@
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd_gpio>;
samsung,color-space = <0>;
- samsung,dynamic-range = <0>;
- samsung,ycbcr-coeff = <0>;
samsung,color-depth = <1>;
samsung,link-rate = <0x0a>;
samsung,lane-count = <2>;
- samsung,hpd-gpio = <&gpx2 6 0>;
+ hpd-gpios = <&gpx2 6 0>;
panel = <&panel>;
};
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>