linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel
@ 2016-05-23 12:54 Yakir Yang
  2016-05-23 12:55 ` [PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding Yakir Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Yakir Yang @ 2016-05-23 12:54 UTC (permalink / raw)
  To: David Airlie, Thierry Reding, Rob Herring, Pawel Moll,
	Mark Rutland, Kumar Gala, Ian Campbell
  Cc: dri-devel, devicetree, linux-kernel, Yakir Yang

The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel
connected using eDP interfaces.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 3a7bdf1..41020e1 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1040,6 +1040,28 @@ static const struct panel_desc lg_lp120up1 = {
 	},
 };
 
+static const struct drm_display_mode lg_lp097qx1_spa1_mode = {
+	.clock = 205210,
+	.hdisplay = 2048,
+	.hsync_start = 2048 + 150,
+	.hsync_end = 2048 + 150 + 5,
+	.htotal = 2048 + 150 + 5 + 5,
+	.vdisplay = 1536,
+	.vsync_start = 1536 + 3,
+	.vsync_end = 1536 + 3 + 1,
+	.vtotal = 1536 + 3 + 1 + 9,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc lg_lp097qx1_spa1 = {
+	.modes = &lg_lp097qx1_spa1_mode,
+	.num_modes = 1,
+	.size = {
+		.width = 2048,
+		.height = 1536,
+	},
+};
+
 static const struct drm_display_mode lg_lp129qe_mode = {
 	.clock = 285250,
 	.hdisplay = 2560,
@@ -1460,6 +1482,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "lg,lp120up1",
 		.data = &lg_lp120up1,
 	}, {
+		.compatible = "lg,lp097qx1-spa1",
+		.data = &lg_lp097qx1_spa1,
+	}, {
 		.compatible = "lg,lp129qe",
 		.data = &lg_lp129qe,
 	}, {
-- 
1.9.1

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

* [PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding
  2016-05-23 12:54 [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang
@ 2016-05-23 12:55 ` Yakir Yang
  2016-05-23 21:34   ` Rob Herring
  2016-05-23 12:55 ` [PATCH 3/4] drm/panel: simple: Add support for Samsung LSN122DL01-C01 2560x1600 panel Yakir Yang
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Yakir Yang @ 2016-05-23 12:55 UTC (permalink / raw)
  To: David Airlie, Thierry Reding, Rob Herring, Pawel Moll,
	Mark Rutland, Kumar Gala, Ian Campbell
  Cc: dri-devel, devicetree, linux-kernel, Yakir Yang

The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel
connected using eDP interfaces.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
---
 .../devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt         | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt

diff --git a/Documentation/devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt b/Documentation/devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt
new file mode 100644
index 0000000..4214151
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt
@@ -0,0 +1,7 @@
+LG 9.7" (2048x1536 pixels) TFT LCD panel
+
+Required properties:
+- compatible: should be "lg,lp097qx1-spa1"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
-- 
1.9.1

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

* [PATCH 3/4] drm/panel: simple: Add support for Samsung LSN122DL01-C01 2560x1600 panel
  2016-05-23 12:54 [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang
  2016-05-23 12:55 ` [PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding Yakir Yang
@ 2016-05-23 12:55 ` Yakir Yang
  2016-05-23 12:55 ` [PATCH 4/4] dt-bindings: add Samsung LSN122DL01-C01 panel binding Yakir Yang
  2016-06-03  8:24 ` [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang
  3 siblings, 0 replies; 9+ messages in thread
From: Yakir Yang @ 2016-05-23 12:55 UTC (permalink / raw)
  To: David Airlie, Thierry Reding, Rob Herring, Pawel Moll,
	Mark Rutland, Kumar Gala, Ian Campbell
  Cc: dri-devel, devicetree, linux-kernel, Yakir Yang

The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD panel
connected using eDP interfaces.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 41020e1..067a5c4 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1246,6 +1246,28 @@ static const struct panel_desc qd43003c0_40 = {
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
 };
 
+static const struct drm_display_mode samsung_lsn122dl01_c01_mode = {
+	.clock = 271560,
+	.hdisplay = 2560,
+	.hsync_start = 2560 + 48,
+	.hsync_end = 2560 + 48 + 32,
+	.htotal = 2560 + 48 + 32 + 80,
+	.vdisplay = 1600,
+	.vsync_start = 1600 + 2,
+	.vsync_end = 1600 + 2 + 5,
+	.vtotal = 1600 + 2 + 5 + 57,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc samsung_lsn122dl01_c01 = {
+	.modes = &samsung_lsn122dl01_c01_mode,
+	.num_modes = 1,
+	.size = {
+		.width = 2560,
+		.height = 1600,
+	},
+};
+
 static const struct drm_display_mode samsung_ltn101nt05_mode = {
 	.clock = 54030,
 	.hdisplay = 1024,
@@ -1506,6 +1528,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "qiaodian,qd43003c0-40",
 		.data = &qd43003c0_40,
 	}, {
+		.compatible = "samsung,lsn122dl01-c01",
+		.data = &samsung_lsn122dl01_c01,
+	}, {
 		.compatible = "samsung,ltn101nt05",
 		.data = &samsung_ltn101nt05,
 	}, {
-- 
1.9.1

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

* [PATCH 4/4] dt-bindings: add Samsung LSN122DL01-C01 panel binding
  2016-05-23 12:54 [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang
  2016-05-23 12:55 ` [PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding Yakir Yang
  2016-05-23 12:55 ` [PATCH 3/4] drm/panel: simple: Add support for Samsung LSN122DL01-C01 2560x1600 panel Yakir Yang
@ 2016-05-23 12:55 ` Yakir Yang
  2016-05-23 21:35   ` Rob Herring
  2016-06-03  8:24 ` [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang
  3 siblings, 1 reply; 9+ messages in thread
From: Yakir Yang @ 2016-05-23 12:55 UTC (permalink / raw)
  To: David Airlie, Thierry Reding, Rob Herring, Pawel Moll,
	Mark Rutland, Kumar Gala, Ian Campbell
  Cc: dri-devel, devicetree, linux-kernel, Yakir Yang

The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD
panel connected using eDP interfaces.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
---
 .../devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt   | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt

diff --git a/Documentation/devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt b/Documentation/devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt
new file mode 100644
index 0000000..dba298b
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt
@@ -0,0 +1,7 @@
+Samsung 12.2" (2560x1600 pixels) TFT LCD panel
+
+Required properties:
+- compatible: should be "samsung,lsn122dl01-c01"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
-- 
1.9.1

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

* Re: [PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding
  2016-05-23 12:55 ` [PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding Yakir Yang
@ 2016-05-23 21:34   ` Rob Herring
  2016-06-03  8:22     ` Yakir Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Rob Herring @ 2016-05-23 21:34 UTC (permalink / raw)
  To: Yakir Yang
  Cc: David Airlie, Thierry Reding, Pawel Moll, Mark Rutland,
	Kumar Gala, Ian Campbell, dri-devel, devicetree, linux-kernel

On Mon, May 23, 2016 at 08:55:15PM +0800, Yakir Yang wrote:
> The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel
> connected using eDP interfaces.
> 
> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
> ---
>  .../devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt         | 7 +++++++
>  1 file changed, 7 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt

Typo in the subject, otherwise:

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 4/4] dt-bindings: add Samsung LSN122DL01-C01 panel binding
  2016-05-23 12:55 ` [PATCH 4/4] dt-bindings: add Samsung LSN122DL01-C01 panel binding Yakir Yang
@ 2016-05-23 21:35   ` Rob Herring
  2016-06-03  8:22     ` Yakir Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Rob Herring @ 2016-05-23 21:35 UTC (permalink / raw)
  To: Yakir Yang
  Cc: David Airlie, Thierry Reding, Pawel Moll, Mark Rutland,
	Kumar Gala, Ian Campbell, dri-devel, devicetree, linux-kernel

On Mon, May 23, 2016 at 08:55:37PM +0800, Yakir Yang wrote:
> The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD
> panel connected using eDP interfaces.
> 
> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
> ---
>  .../devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt   | 7 +++++++
>  1 file changed, 7 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding
  2016-05-23 21:34   ` Rob Herring
@ 2016-06-03  8:22     ` Yakir Yang
  0 siblings, 0 replies; 9+ messages in thread
From: Yakir Yang @ 2016-06-03  8:22 UTC (permalink / raw)
  To: Rob Herring
  Cc: David Airlie, Thierry Reding, Pawel Moll, Mark Rutland,
	Kumar Gala, Ian Campbell, dri-devel, devicetree, linux-kernel

Hi Rob,

On 05/24/2016 05:34 AM, Rob Herring wrote:
> On Mon, May 23, 2016 at 08:55:15PM +0800, Yakir Yang wrote:
>> The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel
>> connected using eDP interfaces.
>>
>> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
>> ---
>>   .../devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt         | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>   create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt
> Typo in the subject, otherwise:
>
> Acked-by: Rob Herring <robh@kernel.org>

Thanks, would correct it now.

- Yakir
>
>

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

* Re: [PATCH 4/4] dt-bindings: add Samsung LSN122DL01-C01 panel binding
  2016-05-23 21:35   ` Rob Herring
@ 2016-06-03  8:22     ` Yakir Yang
  0 siblings, 0 replies; 9+ messages in thread
From: Yakir Yang @ 2016-06-03  8:22 UTC (permalink / raw)
  To: Rob Herring
  Cc: David Airlie, Thierry Reding, Pawel Moll, Mark Rutland,
	Kumar Gala, Ian Campbell, dri-devel, devicetree, linux-kernel

Hi Rob,

On 05/24/2016 05:35 AM, Rob Herring wrote:
> On Mon, May 23, 2016 at 08:55:37PM +0800, Yakir Yang wrote:
>> The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD
>> panel connected using eDP interfaces.
>>
>> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
>> ---
>>   .../devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt   | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>   create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt
> Acked-by: Rob Herring <robh@kernel.org>
>

Thanks,

- Yakir
>

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

* Re: [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel
  2016-05-23 12:54 [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang
                   ` (2 preceding siblings ...)
  2016-05-23 12:55 ` [PATCH 4/4] dt-bindings: add Samsung LSN122DL01-C01 panel binding Yakir Yang
@ 2016-06-03  8:24 ` Yakir Yang
  3 siblings, 0 replies; 9+ messages in thread
From: Yakir Yang @ 2016-06-03  8:24 UTC (permalink / raw)
  To: Thierry Reding
  Cc: David Airlie, Rob Herring, Pawel Moll, Mark Rutland, Kumar Gala,
	Ian Campbell, dri-devel, devicetree, linux-kernel

Hi Thierry,

Ping... Could you help to review/ack the panel changes :)

BR,
- Yakir

On 05/23/2016 08:54 PM, Yakir Yang wrote:
> The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel
> connected using eDP interfaces.
>
> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
> ---
>   drivers/gpu/drm/panel/panel-simple.c | 25 +++++++++++++++++++++++++
>   1 file changed, 25 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 3a7bdf1..41020e1 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1040,6 +1040,28 @@ static const struct panel_desc lg_lp120up1 = {
>   	},
>   };
>   
> +static const struct drm_display_mode lg_lp097qx1_spa1_mode = {
> +	.clock = 205210,
> +	.hdisplay = 2048,
> +	.hsync_start = 2048 + 150,
> +	.hsync_end = 2048 + 150 + 5,
> +	.htotal = 2048 + 150 + 5 + 5,
> +	.vdisplay = 1536,
> +	.vsync_start = 1536 + 3,
> +	.vsync_end = 1536 + 3 + 1,
> +	.vtotal = 1536 + 3 + 1 + 9,
> +	.vrefresh = 60,
> +};
> +
> +static const struct panel_desc lg_lp097qx1_spa1 = {
> +	.modes = &lg_lp097qx1_spa1_mode,
> +	.num_modes = 1,
> +	.size = {
> +		.width = 2048,
> +		.height = 1536,
> +	},
> +};
> +
>   static const struct drm_display_mode lg_lp129qe_mode = {
>   	.clock = 285250,
>   	.hdisplay = 2560,
> @@ -1460,6 +1482,9 @@ static const struct of_device_id platform_of_match[] = {
>   		.compatible = "lg,lp120up1",
>   		.data = &lg_lp120up1,
>   	}, {
> +		.compatible = "lg,lp097qx1-spa1",
> +		.data = &lg_lp097qx1_spa1,
> +	}, {
>   		.compatible = "lg,lp129qe",
>   		.data = &lg_lp129qe,
>   	}, {

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

end of thread, other threads:[~2016-06-03  8:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 12:54 [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang
2016-05-23 12:55 ` [PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding Yakir Yang
2016-05-23 21:34   ` Rob Herring
2016-06-03  8:22     ` Yakir Yang
2016-05-23 12:55 ` [PATCH 3/4] drm/panel: simple: Add support for Samsung LSN122DL01-C01 2560x1600 panel Yakir Yang
2016-05-23 12:55 ` [PATCH 4/4] dt-bindings: add Samsung LSN122DL01-C01 panel binding Yakir Yang
2016-05-23 21:35   ` Rob Herring
2016-06-03  8:22     ` Yakir Yang
2016-06-03  8:24 ` [PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang

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).