ARM: dts: enable display for peach-pit and snow boards
Subsystems (2)
cover ARM: dts: enable display for peach-pit and snow boards
From: Rahul Sharma <[email protected]>
Add nodes for fimd and dp controller for exynos5250 based snow and exynos5420 based peach-pit board.
This series is based on Kukjin Kims, for-next branch.
It is dependent on
1) Andrew Bresticker's patch for hpd gpio addition, avilable at
http://www.spinics.net/lists/linux-samsung-soc/msg28827.html
2) Arun's patch for adding peach-pit board dts file at
http://www.mail-archive.com/linux-samsung-soc at vger.kernel.org/msg28846.html.
Rahul Sharma (5):
ARM: dts: move dp hpd line to the board file for exynos5420
ARM: dts: enable fimd for exynos5250 based snow board
ARM: dts: enable dp-controller for exynos5250 based snow board
ARM: dts: enable fimd for exynos5420 based peach-pit board
ARM: dts: enable dp-controller for exynos5420 based peach-pit board
arch/arm/boot/dts/exynos5250-snow.dts | 32 +++++++++++++++++++++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 39 ++++++++++++++++++++++++++++ arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 7 ----- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 +++++ 4 files changed, 78 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.9.5
PATCH 1/5 ARM: dts: move dp hpd line to the board file for exynos5420
From: Rahul Sharma <[email protected]>
Display controller HPD Gpio line is board specific. This patch is moving the pinctrl for hpd gpio line to the respective board file.
--- arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 7 ------- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-)
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0 -7
@@ -59,13 +59,6 @@ interrupt-controller; #interrupt-cells = <2>; }; - - dp_hpd: dp_hpd { - samsung,pins = "gpx0-7"; - samsung,pin-function = <3>; - samsung,pin-pud = <0>; - samsung,pin-drv = <0>; - }; }; pinctrl at 13410000 {
arch/arm/boot/dts/exynos5420-smdk5420.dts +7 -0
@@ -138,6 +138,13 @@ samsung,pin-pud = <1>; samsung,pin-drv = <0>; }; + + dp_hpd: dp_hpd { + samsung,pins = "gpx0-7"; + samsung,pin-function = <3>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; hdmi at 14530000 {
Signature · 1 line
1.7.9.5
PATCH 1/5 ARM: dts: move dp hpd line to the board file for exynos5420
Quoted 19 lines · Rahul Sharma
From: Rahul Sharma <[email protected]>
Display controller HPD Gpio line is board specific. This patch is moving the pinctrl for hpd gpio line to the respective board file.
Signed-off-by Rahul Sharma <[email protected]>--- arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 7 ------- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-)arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-0@@ -59,13 +59,6 @@ interrupt-controller;
arch/arm/boot/dts/exynos5420-pinctrl.dtsi line 62
Quoted 10 lines
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-7#interrupt-cells = <2>; }; - - dp_hpd: dp_hpd { - samsung,pins = "gpx0-7"; - samsung,pin-function = <3>; - samsung,pin-pud = <0>; - samsung,pin-drv = <0>; - }; };
(+cc Doug Anderson, Tomasz Figa)
'gpx0-7' pin is assigned for standard HPD pin. This is chip specific. So, there should be "gpx0-7" part on chip specific dts file such as 'exynos5420-pinctrl.dtsi'.
However, some boards use GPIO as HPD pin, instead of 'gpx0-7' pin. This is board specific. In my opinion, the following would look better. In this way, this patch is not necessary.
1. case: Standard HPD pin is used. (smdk5420)arch/arm/boot/dts/exynos5420-pinctrl.dts
pinctrl at 13400000 {
dp_hpd: dp_hpd {
samsung,pins = "gpx0-7";
samsung,pin-function = <3>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
arch/arm/boot/dts/exynos5420-smdk5420.dts
dp-controller at 145B0000 {
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd>;
...2. case: non-standard HPD pin such as GPIO is used. (peach pit) arch/arm/boot/dts/exynos5420-peach-pit.dts
pinctrl at 13400000 {
dp_hpd: dp_hpd {
samsung,pins = "gpx2-6";
samsung,pin-function = <0>;
samsung,pin-pud = <3>;
samsung,pin-drv = <0>;
};
dp-controller at 145B0000 {
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd>;
...
samsung,hpd-gpio = <&gpx2 6 0>;Even though, there is 'dp_hpd' in exynos5420-pinctrl.dts, 'smdk5420' and 'peach pit' can use "gpx0-7" and "gpx2-6", respectively.
A year ago, Doug Anderson and me agreed that standard HPD pin part should be included to 'exynos5250-pinctrl.dtsi'.
(https://lkml.org/lkml/2013/5/11/134)
Best regards,
Jingoo Han
Quoted 22 lines
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-0pinctrl at 13410000 {arch/arm/boot/dts/exynos5420-smdk5420.dts +7
-1@@ -138,6 +138,13 @@ samsung,pin-pud = <1>; samsung,pin-drv = <0>; }; + + dp_hpd: dp_hpd { + samsung,pins = "gpx0-7"; + samsung,pin-function = <3>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; hdmi at 14530000 { --1.7.9.5
PATCH 1/5 ARM: dts: move dp hpd line to the board file for exynos5420
Thanks Jingoo,
Quoted 72 lines · Jingoo Han
Quoted 19 lines · Rahul Sharma
From: Rahul Sharma <[email protected]>
Display controller HPD Gpio line is board specific. This patch is moving the pinctrl for hpd gpio line to the respective board file.
Signed-off-by Rahul Sharma <[email protected]>--- arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 7 ------- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-)arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-0@@ -59,13 +59,6 @@ interrupt-controller;arch/arm/boot/dts/exynos5420-pinctrl.dtsi line 62
Quoted 10 lines
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-7#interrupt-cells = <2>; }; - - dp_hpd: dp_hpd { - samsung,pins = "gpx0-7"; - samsung,pin-function = <3>; - samsung,pin-pud = <0>; - samsung,pin-drv = <0>; - }; };(+cc Doug Anderson, Tomasz Figa)
'gpx0-7' pin is assigned for standard HPD pin. This is chip specific. So, there should be "gpx0-7" part on chip specific dts file such as '
exynos5420-pinctrl.dtsi'.However, some boards use GPIO as HPD pin, instead of 'gpx0-7' pin. This is board specific. In my opinion, the following would look better. In this way, this patch is not necessary.
1. case: Standard HPD pin is used. (smdk5420)
arch/arm/boot/dts/exynos5420-pinctrl.dtspinctrl at 13400000 { dp_hpd: dp_hpd { samsung,pins = "gpx0-7"; samsung,pin-function = <3>; samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; arch/arm/boot/dts/exynos5420-smdk5420.dts dp-controller at 145B0000 { pinctrl-names = "default"; pinctrl-0 = <&dp_hpd>; ...2. case: non-standard HPD pin such as GPIO is used. (peach pit)
arch/arm/boot/dts/exynos5420-peach-pit.dtspinctrl at 13400000 { dp_hpd: dp_hpd { samsung,pins = "gpx2-6"; samsung,pin-function = <0>; samsung,pin-pud = <3>; samsung,pin-drv = <0>; }; dp-controller at 145B0000 { pinctrl-names = "default"; pinctrl-0 = <&dp_hpd>; ... samsung,hpd-gpio = <&gpx2 6 0>;
Quoted 8 lines
Even though, there is '
dp_hpd' inexynos5420-pinctrl.dts, 'smdk5420' and 'peach pit' can use "gpx0-7" and "gpx2-6", respectively.A year ago, Doug Anderson and me agreed that standard HPD pin part should be included to '
exynos5250-pinctrl.dtsi'.
(https://lkml.org/lkml/2013/5/11/134)
I wasn't aware of this discussion. It make sense. I will drop this patch. I need to choose some other name for this pin, say "peach_dp_hpd". Let me know if any concern.
Regards,
Rahul Sharma.
Quoted 26 lines
Best regards,
Jingoo HanQuoted 22 lines
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-0pinctrl at 13410000 {arch/arm/boot/dts/exynos5420-smdk5420.dts +7
-1@@ -138,6 +138,13 @@ samsung,pin-pud = <1>; samsung,pin-drv = <0>; }; + + dp_hpd: dp_hpd { + samsung,pins = "gpx0-7"; + samsung,pin-function = <3>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; hdmi at 14530000 { --1.7.9.5
PATCH 1/5 ARM: dts: move dp hpd line to the board file for exynos5420
Quoted 77 lines · Rahul Sharma
Quoted 76 lines · Jingoo Han
Quoted 19 lines · Rahul Sharma
From: Rahul Sharma <[email protected]>
Display controller HPD Gpio line is board specific. This patch is moving the pinctrl for hpd gpio line to the respective board file.
Signed-off-by Rahul Sharma <[email protected]>--- arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 7 ------- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-)arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-0@@ -59,13 +59,6 @@ interrupt-controller;arch/arm/boot/dts/exynos5420-pinctrl.dtsi line 62
Quoted 10 lines
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-7#interrupt-cells = <2>; }; - - dp_hpd: dp_hpd { - samsung,pins = "gpx0-7"; - samsung,pin-function = <3>; - samsung,pin-pud = <0>; - samsung,pin-drv = <0>; - }; };(+cc Doug Anderson, Tomasz Figa)
'gpx0-7' pin is assigned for standard HPD pin. This is chip specific. So, there should be "gpx0-7" part on chip specific dts file such as '
exynos5420-pinctrl.dtsi'.However, some boards use GPIO as HPD pin, instead of 'gpx0-7' pin. This is board specific. In my opinion, the following would look better. In this way, this patch is not necessary.
1. case: Standard HPD pin is used. (smdk5420)
arch/arm/boot/dts/exynos5420-pinctrl.dtspinctrl at 13400000 { dp_hpd: dp_hpd { samsung,pins = "gpx0-7"; samsung,pin-function = <3>; samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; arch/arm/boot/dts/exynos5420-smdk5420.dts dp-controller at 145B0000 { pinctrl-names = "default"; pinctrl-0 = <&dp_hpd>; ...2. case: non-standard HPD pin such as GPIO is used. (peach pit)
arch/arm/boot/dts/exynos5420-peach-pit.dtspinctrl at 13400000 { dp_hpd: dp_hpd { samsung,pins = "gpx2-6"; samsung,pin-function = <0>; samsung,pin-pud = <3>; samsung,pin-drv = <0>; }; dp-controller at 145B0000 { pinctrl-names = "default"; pinctrl-0 = <&dp_hpd>; ... samsung,hpd-gpio = <&gpx2 6 0>;Even though, there is '
dp_hpd' inexynos5420-pinctrl.dts, 'smdk5420' and 'peach pit' can use "gpx0-7" and "gpx2-6", respectively.
Quoted 8 lines
Quoted 4 lines
A year ago, Doug Anderson and me agreed that standard HPD pin part should be included to '
exynos5250-pinctrl.dtsi'.
(https://lkml.org/lkml/2013/5/11/134)I wasn't aware of this discussion. It make sense. I will drop this patch. I need to choose some other name for this pin, say "
peach_dp_hpd". Let me know if any concern.
In my opinion, "dp_hpd_gpio" looks better as below.
arch/arm/boot/dts/exynos5420-peach-pit.dts
pinctrl at 13400000 {
dp_hpd_gpio: dp_hpd_gpio {
samsung,pins = "gpx2-6";
samsung,pin-function = <0>;
samsung,pin-pud = <3>;
samsung,pin-drv = <0>;
};
dp-controller at 145B0000 {
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd_gpio>;
...
samsung,hpd-gpio = <&gpx2 6 0>;Best regards,
Jingoo Han
Quoted 30 lines
Regards,
Rahul Sharma.Quoted 26 lines
Best regards,
Jingoo HanQuoted 22 lines
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-0pinctrl at 13410000 {arch/arm/boot/dts/exynos5420-smdk5420.dts +7
-1@@ -138,6 +138,13 @@ samsung,pin-pud = <1>; samsung,pin-drv = <0>; }; + + dp_hpd: dp_hpd { + samsung,pins = "gpx0-7"; + samsung,pin-function = <3>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; hdmi at 14530000 { --1.7.9.5
PATCH 1/5 ARM: dts: move dp hpd line to the board file for exynos5420
Quoted 90 lines · Jingoo Han
Quoted 77 lines · Rahul Sharma
Quoted 76 lines · Jingoo Han
Quoted 19 lines · Rahul Sharma
From: Rahul Sharma <[email protected]>
Display controller HPD Gpio line is board specific. This patch is moving the pinctrl for hpd gpio line to the respective board file.
Signed-off-by Rahul Sharma <[email protected]>--- arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 7 ------- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-)arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-0@@ -59,13 +59,6 @@ interrupt-controller;arch/arm/boot/dts/exynos5420-pinctrl.dtsi line 62
Quoted 10 lines
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-7#interrupt-cells = <2>; }; - - dp_hpd: dp_hpd { - samsung,pins = "gpx0-7"; - samsung,pin-function = <3>; - samsung,pin-pud = <0>; - samsung,pin-drv = <0>; - }; };(+cc Doug Anderson, Tomasz Figa)
'gpx0-7' pin is assigned for standard HPD pin. This is chip specific. So, there should be "gpx0-7" part on chip specific dts file such as '
exynos5420-pinctrl.dtsi'.However, some boards use GPIO as HPD pin, instead of 'gpx0-7' pin. This is board specific. In my opinion, the following would look better. In this way, this patch is not necessary.
1. case: Standard HPD pin is used. (smdk5420)
arch/arm/boot/dts/exynos5420-pinctrl.dtspinctrl at 13400000 { dp_hpd: dp_hpd { samsung,pins = "gpx0-7"; samsung,pin-function = <3>; samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; arch/arm/boot/dts/exynos5420-smdk5420.dts dp-controller at 145B0000 { pinctrl-names = "default"; pinctrl-0 = <&dp_hpd>; ...2. case: non-standard HPD pin such as GPIO is used. (peach pit)
arch/arm/boot/dts/exynos5420-peach-pit.dtspinctrl at 13400000 { dp_hpd: dp_hpd { samsung,pins = "gpx2-6"; samsung,pin-function = <0>; samsung,pin-pud = <3>; samsung,pin-drv = <0>; }; dp-controller at 145B0000 { pinctrl-names = "default"; pinctrl-0 = <&dp_hpd>; ... samsung,hpd-gpio = <&gpx2 6 0>;Even though, there is '
dp_hpd' inexynos5420-pinctrl.dts, 'smdk5420' and 'peach pit' can use "gpx0-7" and "gpx2-6", respectively.Quoted 8 lines
Quoted 4 lines
A year ago, Doug Anderson and me agreed that standard HPD pin part should be included to '
exynos5250-pinctrl.dtsi'.
(https://lkml.org/lkml/2013/5/11/134)I wasn't aware of this discussion. It make sense. I will drop this patch. I need to choose some other name for this pin, say "
peach_dp_hpd". Let me know if any concern.In my opinion, "
dp_hpd_gpio" looks better as below.
arch/arm/boot/dts/exynos5420-peach-pit.dts
Quoted 12 lines
pinctrl at 13400000 {
dp_hpd_gpio: dp_hpd_gpio {
samsung,pins = "gpx2-6";
samsung,pin-function = <0>;
samsung,pin-pud = <3>;
samsung,pin-drv = <0>;
};
dp-controller at 145B0000 {
pinctrl-names = "default";
pinctrl-0 = <&dp_hpd_gpio>;
...
samsung,hpd-gpio = <&gpx2 6 0>;Ok.
Quoted 40 lines
Best regards,
Jingoo HanQuoted 30 lines
Regards,
Rahul Sharma.Quoted 26 lines
Best regards,
Jingoo HanQuoted 22 lines
arch/arm/boot/dts/exynos5420-pinctrl.dtsi +0
-0pinctrl at 13410000 {arch/arm/boot/dts/exynos5420-smdk5420.dts +7
-1@@ -138,6 +138,13 @@ samsung,pin-pud = <1>; samsung,pin-drv = <0>; }; + + dp_hpd: dp_hpd { + samsung,pins = "gpx0-7"; + samsung,pin-function = <3>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; hdmi at 14530000 { --1.7.9.5
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 2/5 ARM: dts: enable fimd for exynos5250 based snow board
In reply to Rahul SharmaFrom: Rahul Sharma <[email protected]>
Enable fimd node for snow board.
--- arch/arm/boot/dts/exynos5250-snow.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos5250-snow.dts +5 -0
@@ -344,6 +344,11 @@ }; }; + fimd at 14400000 { + status = "okay"; + samsung,invert-vclk; + }; + hdmi { hdmi-en-supply = <&tps65090_fet7>; vdd-supply = <&ldo8_reg>;
Signature · 1 line
1.7.9.5
PATCH 3/5 ARM: dts: enable dp-controller for exynos5250 based snow board
In reply to Rahul SharmaFrom: Rahul Sharma <[email protected]>
Ennable dp-controller for snow board.
--- arch/arm/boot/dts/exynos5250-snow.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
arch/arm/boot/dts/exynos5250-snow.dts +27 -0
@@ -344,6 +344,33 @@ }; }; + dp-controller at 145B0000 { + status = "okay"; + 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 0>; + display-timings { + native-mode = <&timing1>; + timing1: timing at 1 { + clock-frequency = <70589280>; + hactive = <1366>; + vactive = <768>; + hfront-porch = <40>; + hback-porch = <40>; + hsync-len = <32>; + vback-porch = <10>; + vfront-porch = <12>; + vsync-len = <6>; + }; + }; + }; + fimd at 14400000 { status = "okay"; samsung,invert-vclk;
Signature · 1 line
1.7.9.5
PATCH 3/5 ARM: dts: enable dp-controller for exynos5250 based snow board
Hi Kukjin,
The only dependency for this patch is new property "samsung,hpd-gpio" which
is acked by Jingoo Han, Maintainer, exynos DP at
http://oascentral.opensubscriber.com/message/dri-devel at lists.freedesktop.org/17150750.html.
All remaining properties are as per existing DT bindings.
@Jingoo, I want to request you to review the dp-controller nodes for exynos5420 and 5250.
Please consider it for merge.
Regards,
Rahul Sharma.
Quoted 50 lines · Rahul Sharma
From: Rahul Sharma <[email protected]>
Ennable dp-controller for snow board.
Signed-off-by Rahul Sharma <[email protected]>--- arch/arm/boot/dts/exynos5250-snow.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)arch/arm/boot/dts/exynos5250-snow.dts +27
-1@@ -344,6 +344,33 @@ }; }; + dp-controller at 145B0000 { + status = "okay"; + 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 0>; + display-timings { + native-mode = <&timing1>; + timing1: timing at 1 { + clock-frequency = <70589280>; + hactive = <1366>; + vactive = <768>; + hfront-porch = <40>; + hback-porch = <40>; + hsync-len = <32>; + vback-porch = <10>; + vfront-porch = <12>; + vsync-len = <6>; + }; + }; + }; + fimd at 14400000 { status = "okay"; samsung,invert-vclk; --1.7.9.5
PATCH 4/5 ARM: dts: enable fimd for exynos5420 based peach-pit board
In reply to Rahul SharmaFrom: Rahul Sharma <[email protected]>
Enable fimd for peach-pit board.
--- arch/arm/boot/dts/exynos5420-peach-pit.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos5420-peach-pit.dts +5 -0
@@ -248,4 +248,9 @@ ddc = <&i2c_2>; status = "okay"; }; + + fimd at 14400000 { + status = "okay"; + samsung,invert-vclk; + }; };
Signature · 1 line
1.7.9.5
PATCH 5/5 ARM: dts: enable dp-controller for exynos5420 based peach-pit board
In reply to Rahul SharmaFrom: Rahul Sharma <[email protected]>
Enable dp-controller for peach-pit board.
--- arch/arm/boot/dts/exynos5420-peach-pit.dts | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)
arch/arm/boot/dts/exynos5420-peach-pit.dts +34 -0
@@ -61,6 +61,13 @@ samsung,pin-pud = <1>; samsung,pin-drv = <0>; }; + + dp_hpd: dp_hpd { + samsung,pins = "gpx2-6"; + samsung,pin-function = <0>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; }; pinctrl at 14010000 {
@@ -249,6 +256,33 @@ status = "okay"; }; + dp-controller at 145B0000 { + status = "okay"; + 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 = <0x06>; + samsung,lane-count = <2>; + samsung,hpd-gpio = <&gpx2 6 0>; + display-timings { + native-mode = <&timing1>; + timing1: timing at 1 { + clock-frequency = <70589280>; + hactive = <1366>; + vactive = <768>; + hfront-porch = <40>; + hback-porch = <40>; + hsync-len = <32>; + vback-porch = <10>; + vfront-porch = <12>; + vsync-len = <6>; + }; + }; + }; + fimd at 14400000 { status = "okay"; samsung,invert-vclk;
Signature · 1 line
1.7.9.5
PATCH 5/5 ARM: dts: enable dp-controller for exynos5420 based peach-pit board
Hi Kukjin,
I have same update for this patch. The new DT property is Acked at
http://oascentral.opensubscriber.com/message/dri-devel at lists.freedesktop.org/17150750.html
Please consider it for merge.
Regards,
Rahul Sharma.
Quoted 64 lines · Rahul Sharma
From: Rahul Sharma <[email protected]>
Enable dp-controller for peach-pit board.
Signed-off-by Rahul Sharma <[email protected]>--- arch/arm/boot/dts/exynos5420-peach-pit.dts | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)arch/arm/boot/dts/exynos5420-peach-pit.dts +34
-1@@ -61,6 +61,13 @@ samsung,pin-pud = <1>; samsung,pin-drv = <0>; }; + + dp_hpd: dp_hpd { + samsung,pins = "gpx2-6"; + samsung,pin-function = <0>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; }; pinctrl at 14010000 {@@ -249,6 +256,33 @@ status = "okay"; }; + dp-controller at 145B0000 { + status = "okay"; + 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 = <0x06>; + samsung,lane-count = <2>; + samsung,hpd-gpio = <&gpx2 6 0>; + display-timings { + native-mode = <&timing1>; + timing1: timing at 1 { + clock-frequency = <70589280>; + hactive = <1366>; + vactive = <768>; + hfront-porch = <40>; + hback-porch = <40>; + hsync-len = <32>; + vback-porch = <10>; + vfront-porch = <12>; + vsync-len = <6>; + }; + }; + }; + fimd at 14400000 { status = "okay"; samsung,invert-vclk; --1.7.9.5
cover ARM: dts: enable display for peach-pit and snow boards
In reply to Rahul SharmaHi,
Tested this whole series on peach-pit board.
Quoted 33 lines · Rahul Sharma
From: Rahul Sharma <[email protected]>
Add nodes for fimd and dp controller for exynos5250 based snow and exynos5420 based peach-pit board.
This series is based on Kukjin Kims, for-next branch.
It is dependent on
1) Andrew Bresticker's patch for hpd gpio addition, avilable at
http://www.spinics.net/lists/linux-samsung-soc/msg28827.html
2) Arun's patch for adding peach-pit board dts file at
http://www.mail-archive.com/linux-samsung-soc at vger.kernel.org/msg28846.html.Rahul Sharma (5):
ARM: dts: move dp hpd line to the board file for exynos5420
ARM: dts: enable fimd for exynos5250 based snow board
ARM: dts: enable dp-controller for exynos5250 based snow board
ARM: dts: enable fimd for exynos5420 based peach-pit board
ARM: dts: enable dp-controller for exynos5420 based peach-pit boardarch/arm/boot/dts/exynos5250-snow.dts | 32 +++++++++++++++++++++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 39 ++++++++++++++++++++++++++++ arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 7 ----- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 +++++ 4 files changed, 78 insertions(+), 7 deletions(-)--
1.7.9.5--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
cover ARM: dts: enable display for peach-pit and snow boards
In reply to Rahul SharmaQuoted 6 lines · Rahul Sharma
From: Rahul Sharma <[email protected]>
Add nodes for fimd and dp controller for exynos5250 based snow and exynos5420 based peach-pit board.
Quoted 7 lines
This series is based on Kukjin Kims, for-next branch.
It is dependent on
1) Andrew Bresticker's patch for hpd gpio addition, avilable at
http://www.spinics.net/lists/linux-samsung-soc/msg28827.html
2) Arun's patch for adding peach-pit board dts file at
http://www.mail-archive.com/linux-samsung-soc at vger.kernel.org/msg28846.html.
One more thing. These patches were based against the following patches.
3) Rahul Sharma's patch for hdmi support for exynos5 based dt files. ([PATCH 0/7] ARM: dts: enable hdmi for exynos5 based peach and snow boards)
http://www.spinics.net/lists/linux-samsung-soc/msg29011.html
Please check the dependency.
Anyone does not want to waste the time, due to patch breakage.
Best regards,
Jingoo Han
Quoted 16 lines
Rahul Sharma (5):
ARM: dts: move dp hpd line to the board file for exynos5420
ARM: dts: enable fimd for exynos5250 based snow board
ARM: dts: enable dp-controller for exynos5250 based snow board
ARM: dts: enable fimd for exynos5420 based peach-pit board
ARM: dts: enable dp-controller for exynos5420 based peach-pit boardarch/arm/boot/dts/exynos5250-snow.dts | 32 +++++++++++++++++++++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 39 ++++++++++++++++++++++++++++ arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 7 ----- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 +++++ 4 files changed, 78 insertions(+), 7 deletions(-)--
1.7.9.5