* [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow
@ 2014-09-01 10:36 Ajay Kumar
2014-09-01 10:36 ` [PATCH V3 2/2] ARM: dts: Add DT changes for display on peach_pit Ajay Kumar
2014-09-13 17:22 ` [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow Kukjin Kim
0 siblings, 2 replies; 4+ messages in thread
From: Ajay Kumar @ 2014-09-01 10:36 UTC (permalink / raw)
To: linux-arm-kernel
Add DT nodes for ptn3460 bridge chip and panel.
Add backlight enable pin and backlight power supply for pwm-backlight.
Also add bridge phandle needed by dp to enable display on snow.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
Changes since V1:
-- Remove "simple-panel" compatible string.
-- Use GPIO_ACTIVE_HIGH instead of 0.
-- Change panel node naming from "panel-simple" to "panel".
Changes since V2:
-- Use proper compatible string: "auo,b116xw03"
arch/arm/boot/dts/exynos5250-snow.dts | 41 ++++++++++++++++++---------------
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index f2b8c41..1ac9709 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -9,6 +9,7 @@
*/
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
#include "exynos5250.dtsi"
#include "exynos5250-cros-common.dtsi"
@@ -181,7 +182,7 @@
dcdc3 {
ti,enable-ext-control;
};
- fet1 {
+ fet1: fet1 {
regulator-name = "vcd_led";
ti,overcurrent-wait = <3>;
};
@@ -204,7 +205,7 @@
regulator-always-on;
ti,overcurrent-wait = <3>;
};
- fet6 {
+ fet6: fet6 {
regulator-name = "lcd_vdd";
ti,overcurrent-wait = <3>;
};
@@ -253,6 +254,15 @@
pinctrl-0 = <&max98095_en>;
pinctrl-names = "default";
};
+
+ ptn3460: lvds-bridge at 20 {
+ compatible = "nxp,ptn3460";
+ reg = <0x20>;
+ powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
+ edid-emulation = <5>;
+ panel = <&panel>;
+ };
};
i2s0: i2s at 03830000 {
@@ -300,11 +310,13 @@
vdd_pll-supply = <&ldo8_reg>;
};
- backlight {
+ backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm 0 1000000 0>;
brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
default-brightness-level = <7>;
+ enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
+ power-supply = <&fet1>;
pinctrl-0 = <&pwm0_out>;
pinctrl-names = "default";
};
@@ -314,6 +326,12 @@
samsung,invert-vclk;
};
+ panel: panel {
+ compatible = "auo,b116xw03";
+ power-supply = <&fet6>;
+ backlight = <&backlight>;
+ };
+
dp-controller at 145B0000 {
status = "okay";
pinctrl-names = "default";
@@ -325,22 +343,7 @@
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>;
- };
- };
+ bridge = <&ptn3460>;
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH V3 2/2] ARM: dts: Add DT changes for display on peach_pit
2014-09-01 10:36 [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow Ajay Kumar
@ 2014-09-01 10:36 ` Ajay Kumar
2014-09-13 17:22 ` [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow Kukjin Kim
1 sibling, 0 replies; 4+ messages in thread
From: Ajay Kumar @ 2014-09-01 10:36 UTC (permalink / raw)
To: linux-arm-kernel
Add DT nodes for ps8622 bridge chip and panel.
Add backlight power supply for pwm-backlight.
Also add bridge phandle needed by dp to enable display on peach_pit.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
Changes since V1:
-- Remove "simple-panel" compatible string.
-- Use GPIO_ACTIVE_HIGH instead of 0.
-- Change panel node naming from "panel-simple" to "panel".
Changes since V2:
-- Use proper compatible string: "auo,b116xw03"
arch/arm/boot/dts/exynos5420-peach-pit.dts | 36 +++++++++++++++-------------
1 file changed, 19 insertions(+), 17 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index 228a6b1..1070a31 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -30,11 +30,12 @@
i2c20 = "/spi at 12d40000/cros-ec at 0/i2c-tunnel";
};
- backlight {
+ backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm 0 1000000 0>;
brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
default-brightness-level = <7>;
+ power-supply = <&tps65090_fet1>;
pinctrl-0 = <&pwm0_out>;
pinctrl-names = "default";
};
@@ -100,6 +101,12 @@
regulator-boot-on;
regulator-always-on;
};
+
+ panel: panel {
+ compatible = "auo,b116xw03";
+ power-supply = <&tps65090_fet6>;
+ backlight = <&backlight>;
+ };
};
&dp {
@@ -113,22 +120,7 @@
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>;
- };
- };
+ bridge = <&ps8625>;
};
&fimd {
@@ -155,6 +147,16 @@
pinctrl-names = "default";
pinctrl-0 = <&max98090_irq>;
};
+
+ ps8625: lvds-bridge at 48 {
+ compatible = "parade,ps8625";
+ reg = <0x48>;
+ sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>;
+ lane-count = <2>;
+ panel = <&panel>;
+ use-external-pwm;
+ };
};
&hsi2c_9 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow
2014-09-01 10:36 [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow Ajay Kumar
2014-09-01 10:36 ` [PATCH V3 2/2] ARM: dts: Add DT changes for display on peach_pit Ajay Kumar
@ 2014-09-13 17:22 ` Kukjin Kim
2014-09-13 18:47 ` Ajay kumar
1 sibling, 1 reply; 4+ messages in thread
From: Kukjin Kim @ 2014-09-13 17:22 UTC (permalink / raw)
To: linux-arm-kernel
On 09/01/14 19:36, Ajay Kumar wrote:
> Add DT nodes for ptn3460 bridge chip and panel.
> Add backlight enable pin and backlight power supply for pwm-backlight.
> Also add bridge phandle needed by dp to enable display on snow.
>
> Signed-off-by: Ajay Kumar<ajaykumar.rs@samsung.com>
> ---
> Changes since V1:
> -- Remove "simple-panel" compatible string.
> -- Use GPIO_ACTIVE_HIGH instead of 0.
> -- Change panel node naming from "panel-simple" to "panel".
>
> Changes since V2:
> -- Use proper compatible string: "auo,b116xw03"
>
> arch/arm/boot/dts/exynos5250-snow.dts | 41 ++++++++++++++++++---------------
> 1 file changed, 22 insertions(+), 19 deletions(-)
>
Applied this and 2nd one.
BTW, I resolved conflict when I applied. Please check my tree and then
if any problems, please let me know.
Thanks,
Kukjin
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow
2014-09-13 17:22 ` [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow Kukjin Kim
@ 2014-09-13 18:47 ` Ajay kumar
0 siblings, 0 replies; 4+ messages in thread
From: Ajay kumar @ 2014-09-13 18:47 UTC (permalink / raw)
To: linux-arm-kernel
Hi Kukjin,
On Sat, Sep 13, 2014 at 10:52 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> On 09/01/14 19:36, Ajay Kumar wrote:
>>
>> Add DT nodes for ptn3460 bridge chip and panel.
>> Add backlight enable pin and backlight power supply for pwm-backlight.
>> Also add bridge phandle needed by dp to enable display on snow.
>>
>> Signed-off-by: Ajay Kumar<ajaykumar.rs@samsung.com>
>> ---
>> Changes since V1:
>> -- Remove "simple-panel" compatible string.
>> -- Use GPIO_ACTIVE_HIGH instead of 0.
>> -- Change panel node naming from "panel-simple" to "panel".
>>
>> Changes since V2:
>> -- Use proper compatible string: "auo,b116xw03"
>>
>> arch/arm/boot/dts/exynos5250-snow.dts | 41
>> ++++++++++++++++++---------------
>> 1 file changed, 22 insertions(+), 19 deletions(-)
>>
> Applied this and 2nd one.
>
> BTW, I resolved conflict when I applied. Please check my tree and then if
> any problems, please let me know.
This patchset has dependency on driver patches.
But, no harm merging it since DT bindings are almost agreed.
The below patch should be merged ASAP. Because, driver changes are already in
for this patch:
https://www.mail-archive.com/linux-samsung-soc at vger.kernel.org/msg35182.html
Ajay
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-09-13 18:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-01 10:36 [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow Ajay Kumar
2014-09-01 10:36 ` [PATCH V3 2/2] ARM: dts: Add DT changes for display on peach_pit Ajay Kumar
2014-09-13 17:22 ` [PATCH V3 1/2] ARM: dts: Add DT changes for display on snow Kukjin Kim
2014-09-13 18:47 ` Ajay kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).