All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3] ARM: dts: Add DT changes for display on peach_pi
@ 2014-08-04  9:47 ` Ajay Kumar
  0 siblings, 0 replies; 6+ messages in thread
From: Ajay Kumar @ 2014-08-04  9:47 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc, devicetree
  Cc: kgene.kim, inki.dae, thierry.reding, seanpaul, ajaynumb, jg1.han,
	joshi, prashanth.g, Ajay Kumar

Add DT nodes for panel-simple "auo,b133htn01" panel.
Add backlight enable pin and backlight power supply for pwm-backlight.
Also, add panel phandle needed by dp to enable display on peach_pi.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
Changes since V1:
Remove "simple-panel" compatible string and use only ""auo,b133htn01".

Changes since V2:
As suggested by Andreas,
Use GPIO_ACTIVE_HIGH for backlight enable-gpios instead of using 0.
Change panel node naming from "panel-simple" to "panel".

 arch/arm/boot/dts/exynos5800-peach-pi.dts |   27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index f3ee48b..f8c2e61 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -28,11 +28,13 @@
 		i2c20 = "/spi@12d40000/cros-ec@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>;
+		enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
+		power-supply = <&tps65090_fet1>;
 		pinctrl-0 = <&pwm0_out>;
 		pinctrl-names = "default";
 	};
@@ -98,6 +100,12 @@
 		regulator-boot-on;
 		regulator-always-on;
 	};
+
+	panel: panel {
+		compatible = "auo,b133htn01";
+		power-supply = <&tps65090_fet6>;
+		backlight = <&backlight>;
+	};
 };
 
 &dp {
@@ -111,22 +119,7 @@
 	samsung,link-rate = <0x0a>;
 	samsung,lane-count = <2>;
 	samsung,hpd-gpio = <&gpx2 6 0>;
-
-	display-timings {
-		native-mode = <&timing1>;
-
-		timing1: timing@1 {
-			clock-frequency = <150660000>;
-			hactive = <1920>;
-			vactive = <1080>;
-			hfront-porch = <60>;
-			hback-porch = <172>;
-			hsync-len = <80>;
-			vback-porch = <25>;
-			vfront-porch = <10>;
-			vsync-len = <10>;
-		};
-	};
+	panel = <&panel>;
 };
 
 &fimd {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH V3] ARM: dts: Add DT changes for display on peach_pi
@ 2014-08-04  9:47 ` Ajay Kumar
  0 siblings, 0 replies; 6+ messages in thread
From: Ajay Kumar @ 2014-08-04  9:47 UTC (permalink / raw)
  To: linux-arm-kernel

Add DT nodes for panel-simple "auo,b133htn01" panel.
Add backlight enable pin and backlight power supply for pwm-backlight.
Also, add panel phandle needed by dp to enable display on peach_pi.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
Changes since V1:
Remove "simple-panel" compatible string and use only ""auo,b133htn01".

Changes since V2:
As suggested by Andreas,
Use GPIO_ACTIVE_HIGH for backlight enable-gpios instead of using 0.
Change panel node naming from "panel-simple" to "panel".

 arch/arm/boot/dts/exynos5800-peach-pi.dts |   27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index f3ee48b..f8c2e61 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -28,11 +28,13 @@
 		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>;
+		enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
+		power-supply = <&tps65090_fet1>;
 		pinctrl-0 = <&pwm0_out>;
 		pinctrl-names = "default";
 	};
@@ -98,6 +100,12 @@
 		regulator-boot-on;
 		regulator-always-on;
 	};
+
+	panel: panel {
+		compatible = "auo,b133htn01";
+		power-supply = <&tps65090_fet6>;
+		backlight = <&backlight>;
+	};
 };
 
 &dp {
@@ -111,22 +119,7 @@
 	samsung,link-rate = <0x0a>;
 	samsung,lane-count = <2>;
 	samsung,hpd-gpio = <&gpx2 6 0>;
-
-	display-timings {
-		native-mode = <&timing1>;
-
-		timing1: timing at 1 {
-			clock-frequency = <150660000>;
-			hactive = <1920>;
-			vactive = <1080>;
-			hfront-porch = <60>;
-			hback-porch = <172>;
-			hsync-len = <80>;
-			vback-porch = <25>;
-			vfront-porch = <10>;
-			vsync-len = <10>;
-		};
-	};
+	panel = <&panel>;
 };
 
 &fimd {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH V3] ARM: dts: Add DT changes for display on peach_pi
  2014-08-04  9:47 ` Ajay Kumar
@ 2014-08-25  6:13   ` Ajay kumar
  -1 siblings, 0 replies; 6+ messages in thread
From: Ajay kumar @ 2014-08-25  6:13 UTC (permalink / raw)
  To: Kukjin Kim, Andreas Färber
  Cc: linux-arm-kernel, linux-samsung-soc, devicetree, Kukjin Kim,
	InKi Dae, Thierry Reding, Sean Paul, Jingoo Han, sunil joshi,
	Prashanth G, Ajay Kumar

On Mon, Aug 4, 2014 at 3:17 PM, Ajay Kumar <ajaykumar.rs@samsung.com> wrote:
> Add DT nodes for panel-simple "auo,b133htn01" panel.
> Add backlight enable pin and backlight power supply for pwm-backlight.
> Also, add panel phandle needed by dp to enable display on peach_pi.
>
> Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
> ---
> Changes since V1:
> Remove "simple-panel" compatible string and use only ""auo,b133htn01".
>
> Changes since V2:
> As suggested by Andreas,
> Use GPIO_ACTIVE_HIGH for backlight enable-gpios instead of using 0.
> Change panel node naming from "panel-simple" to "panel".
>
>  arch/arm/boot/dts/exynos5800-peach-pi.dts |   27 ++++++++++-----------------
>  1 file changed, 10 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> index f3ee48b..f8c2e61 100644
> --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
> +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> @@ -28,11 +28,13 @@
>                 i2c20 = "/spi@12d40000/cros-ec@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>;
> +               enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
> +               power-supply = <&tps65090_fet1>;
>                 pinctrl-0 = <&pwm0_out>;
>                 pinctrl-names = "default";
>         };
> @@ -98,6 +100,12 @@
>                 regulator-boot-on;
>                 regulator-always-on;
>         };
> +
> +       panel: panel {
> +               compatible = "auo,b133htn01";
> +               power-supply = <&tps65090_fet6>;
> +               backlight = <&backlight>;
> +       };
>  };
>
>  &dp {
> @@ -111,22 +119,7 @@
>         samsung,link-rate = <0x0a>;
>         samsung,lane-count = <2>;
>         samsung,hpd-gpio = <&gpx2 6 0>;
> -
> -       display-timings {
> -               native-mode = <&timing1>;
> -
> -               timing1: timing@1 {
> -                       clock-frequency = <150660000>;
> -                       hactive = <1920>;
> -                       vactive = <1080>;
> -                       hfront-porch = <60>;
> -                       hback-porch = <172>;
> -                       hsync-len = <80>;
> -                       vback-porch = <25>;
> -                       vfront-porch = <10>;
> -                       vsync-len = <10>;
> -               };
> -       };
> +       panel = <&panel>;
>  };
>
>  &fimd {
> --
> 1.7.9.5
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH V3] ARM: dts: Add DT changes for display on peach_pi
@ 2014-08-25  6:13   ` Ajay kumar
  0 siblings, 0 replies; 6+ messages in thread
From: Ajay kumar @ 2014-08-25  6:13 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Aug 4, 2014 at 3:17 PM, Ajay Kumar <ajaykumar.rs@samsung.com> wrote:
> Add DT nodes for panel-simple "auo,b133htn01" panel.
> Add backlight enable pin and backlight power supply for pwm-backlight.
> Also, add panel phandle needed by dp to enable display on peach_pi.
>
> Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
> ---
> Changes since V1:
> Remove "simple-panel" compatible string and use only ""auo,b133htn01".
>
> Changes since V2:
> As suggested by Andreas,
> Use GPIO_ACTIVE_HIGH for backlight enable-gpios instead of using 0.
> Change panel node naming from "panel-simple" to "panel".
>
>  arch/arm/boot/dts/exynos5800-peach-pi.dts |   27 ++++++++++-----------------
>  1 file changed, 10 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> index f3ee48b..f8c2e61 100644
> --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
> +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> @@ -28,11 +28,13 @@
>                 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>;
> +               enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
> +               power-supply = <&tps65090_fet1>;
>                 pinctrl-0 = <&pwm0_out>;
>                 pinctrl-names = "default";
>         };
> @@ -98,6 +100,12 @@
>                 regulator-boot-on;
>                 regulator-always-on;
>         };
> +
> +       panel: panel {
> +               compatible = "auo,b133htn01";
> +               power-supply = <&tps65090_fet6>;
> +               backlight = <&backlight>;
> +       };
>  };
>
>  &dp {
> @@ -111,22 +119,7 @@
>         samsung,link-rate = <0x0a>;
>         samsung,lane-count = <2>;
>         samsung,hpd-gpio = <&gpx2 6 0>;
> -
> -       display-timings {
> -               native-mode = <&timing1>;
> -
> -               timing1: timing at 1 {
> -                       clock-frequency = <150660000>;
> -                       hactive = <1920>;
> -                       vactive = <1080>;
> -                       hfront-porch = <60>;
> -                       hback-porch = <172>;
> -                       hsync-len = <80>;
> -                       vback-porch = <25>;
> -                       vfront-porch = <10>;
> -                       vsync-len = <10>;
> -               };
> -       };
> +       panel = <&panel>;
>  };
>
>  &fimd {
> --
> 1.7.9.5
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH V3] ARM: dts: Add DT changes for display on peach_pi
  2014-08-25  6:13   ` Ajay kumar
@ 2014-09-14  0:23     ` Kukjin Kim
  -1 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2014-09-14  0:23 UTC (permalink / raw)
  To: Ajay kumar
  Cc: Andreas Färber, linux-arm-kernel, linux-samsung-soc,
	devicetree, Kukjin Kim, InKi Dae, Thierry Reding, Sean Paul,
	Jingoo Han, sunil joshi, Prashanth G, Ajay Kumar

On 08/25/14 15:13, Ajay kumar wrote:
> On Mon, Aug 4, 2014 at 3:17 PM, Ajay Kumar<ajaykumar.rs@samsung.com>  wrote:
>> Add DT nodes for panel-simple "auo,b133htn01" panel.
>> Add backlight enable pin and backlight power supply for pwm-backlight.
>> Also, add panel phandle needed by dp to enable display on peach_pi.
>>
>> Signed-off-by: Ajay Kumar<ajaykumar.rs@samsung.com>
>> ---
>> Changes since V1:
>> Remove "simple-panel" compatible string and use only ""auo,b133htn01".
>>
>> Changes since V2:
>> As suggested by Andreas,
>> Use GPIO_ACTIVE_HIGH for backlight enable-gpios instead of using 0.
>> Change panel node naming from "panel-simple" to "panel".
>>
>>   arch/arm/boot/dts/exynos5800-peach-pi.dts |   27 ++++++++++-----------------
>>   1 file changed, 10 insertions(+), 17 deletions(-)
>>
Applied, thanks.

- Kukjin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH V3] ARM: dts: Add DT changes for display on peach_pi
@ 2014-09-14  0:23     ` Kukjin Kim
  0 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2014-09-14  0:23 UTC (permalink / raw)
  To: linux-arm-kernel

On 08/25/14 15:13, Ajay kumar wrote:
> On Mon, Aug 4, 2014 at 3:17 PM, Ajay Kumar<ajaykumar.rs@samsung.com>  wrote:
>> Add DT nodes for panel-simple "auo,b133htn01" panel.
>> Add backlight enable pin and backlight power supply for pwm-backlight.
>> Also, add panel phandle needed by dp to enable display on peach_pi.
>>
>> Signed-off-by: Ajay Kumar<ajaykumar.rs@samsung.com>
>> ---
>> Changes since V1:
>> Remove "simple-panel" compatible string and use only ""auo,b133htn01".
>>
>> Changes since V2:
>> As suggested by Andreas,
>> Use GPIO_ACTIVE_HIGH for backlight enable-gpios instead of using 0.
>> Change panel node naming from "panel-simple" to "panel".
>>
>>   arch/arm/boot/dts/exynos5800-peach-pi.dts |   27 ++++++++++-----------------
>>   1 file changed, 10 insertions(+), 17 deletions(-)
>>
Applied, thanks.

- Kukjin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-14  0:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04  9:47 [PATCH V3] ARM: dts: Add DT changes for display on peach_pi Ajay Kumar
2014-08-04  9:47 ` Ajay Kumar
2014-08-25  6:13 ` Ajay kumar
2014-08-25  6:13   ` Ajay kumar
2014-09-14  0:23   ` Kukjin Kim
2014-09-14  0:23     ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.