devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd.
@ 2014-12-18 15:43 Philipp Zabel
  2014-12-18 15:43 ` [PATCH 2/2] drm/panel: simple: Add AVIC TM070DDH03 panel support Philipp Zabel
       [not found] ` <1418917423-26583-1-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Philipp Zabel @ 2014-12-18 15:43 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Mark Rutland, devicetree, Pawel Moll, Ian Campbell, dri-devel,
	Rob Herring, kernel

Shanghai AVIC Optoelectronics Co., Ltd. is a subsidiary of Tianma
Microelectronics Co., Ltd. and designs and manufactures TFT LCDs.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 78efebb..2ce15a4 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -23,6 +23,7 @@ armadeus	ARMadeus Systems SARL
 atmel	Atmel Corporation
 auo	AU Optronics Corporation
 avago	Avago Technologies
+avic	Shanghai AVIC Optoelectronics Co., Ltd.
 bosch	Bosch Sensortec GmbH
 brcm	Broadcom Corporation
 buffalo	Buffalo, Inc.
-- 
2.1.3

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [PATCH 2/2] drm/panel: simple: Add AVIC TM070DDH03 panel support
  2014-12-18 15:43 [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd Philipp Zabel
@ 2014-12-18 15:43 ` Philipp Zabel
       [not found] ` <1418917423-26583-1-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Philipp Zabel @ 2014-12-18 15:43 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Mark Rutland, devicetree, Pawel Moll, Ian Campbell, dri-devel,
	Rob Herring, kernel

The Shanghai AVIC Optoelectronics TM070DDH03 is a 7" 1024x600 TFT LCD
panel connecting to a 24-bit RGB LVDS interface.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 .../devicetree/bindings/panel/avic,tm070ddh03.txt  |  7 +++++
 drivers/gpu/drm/panel/panel-simple.c               | 31 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/panel/avic,tm070ddh03.txt

diff --git a/Documentation/devicetree/bindings/panel/avic,tm070ddh03.txt b/Documentation/devicetree/bindings/panel/avic,tm070ddh03.txt
new file mode 100644
index 0000000..b6f2f3e
--- /dev/null
+++ b/Documentation/devicetree/bindings/panel/avic,tm070ddh03.txt
@@ -0,0 +1,7 @@
+Shanghai AVIC Optoelectronics 7" 1024x600 color TFT-LCD panel
+
+Required properties:
+- compatible: should be "avic,tm070ddh03"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index c4b6167..7883799 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -443,6 +443,34 @@ static const struct panel_desc auo_b133htn01 = {
 	},
 };
 
+static const struct drm_display_mode avic_tm070ddh03_mode = {
+	.clock = 51200,
+	.hdisplay = 1024,
+	.hsync_start = 1024 + 160,
+	.hsync_end = 1024 + 160 + 4,
+	.htotal = 1024 + 160 + 4 + 156,
+	.vdisplay = 600,
+	.vsync_start = 600 + 17,
+	.vsync_end = 600 + 17 + 1,
+	.vtotal = 600 + 17 + 1 + 17,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc avic_tm070ddh03 = {
+	.modes = &avic_tm070ddh03_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 154,
+		.height = 90,
+	},
+	.delay = {
+		.prepare = 20,
+		.enable = 200,
+		.disable = 200,
+	},
+};
+
 static const struct drm_display_mode chunghwa_claa101wa01a_mode = {
 	.clock = 72070,
 	.hdisplay = 1366,
@@ -739,6 +767,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "auo,b133xtn01",
 		.data = &auo_b133xtn01,
 	}, {
+		.compatible = "avic,tm070ddh03",
+		.data = &avic_tm070ddh03,
+	}, {
 		.compatible = "chunghwa,claa101wa01a",
 		.data = &chunghwa_claa101wa01a
 	}, {
-- 
2.1.3

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd.
       [not found] ` <1418917423-26583-1-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2015-01-16 11:14   ` Thierry Reding
  2015-01-16 13:51   ` Rob Herring
  2015-01-19 13:42   ` Thierry Reding
  2 siblings, 0 replies; 5+ messages in thread
From: Thierry Reding @ 2015-01-16 11:14 UTC (permalink / raw)
  To: Philipp Zabel, Rob Herring
  Cc: Pawel Moll, Mark Rutland, Ian Campbell,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	devicetree-u79uwXL29TY76Z2rM5mHXA, kernel-bIcnvbaLZ9MEGnE8C9+IrQ

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

On Thu, Dec 18, 2014 at 04:43:42PM +0100, Philipp Zabel wrote:
> Shanghai AVIC Optoelectronics Co., Ltd. is a subsidiary of Tianma
> Microelectronics Co., Ltd. and designs and manufactures TFT LCDs.
> 
> Signed-off-by: Philipp Zabel <p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)

Hi Rob,

Will you Ack this so I can take it through the drm/panel tree, or would
you rather pick it up yourself?

Thierry

> 
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 78efebb..2ce15a4 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -23,6 +23,7 @@ armadeus	ARMadeus Systems SARL
>  atmel	Atmel Corporation
>  auo	AU Optronics Corporation
>  avago	Avago Technologies
> +avic	Shanghai AVIC Optoelectronics Co., Ltd.
>  bosch	Bosch Sensortec GmbH
>  brcm	Broadcom Corporation
>  buffalo	Buffalo, Inc.
> -- 
> 2.1.3
> 

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd.
       [not found] ` <1418917423-26583-1-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  2015-01-16 11:14   ` [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd Thierry Reding
@ 2015-01-16 13:51   ` Rob Herring
  2015-01-19 13:42   ` Thierry Reding
  2 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2015-01-16 13:51 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Thierry Reding, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org

On Thu, Dec 18, 2014 at 9:43 AM, Philipp Zabel <p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> wrote:
> Shanghai AVIC Optoelectronics Co., Ltd. is a subsidiary of Tianma
> Microelectronics Co., Ltd. and designs and manufactures TFT LCDs.
>
> Signed-off-by: Philipp Zabel <p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 78efebb..2ce15a4 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -23,6 +23,7 @@ armadeus      ARMadeus Systems SARL
>  atmel  Atmel Corporation
>  auo    AU Optronics Corporation
>  avago  Avago Technologies
> +avic   Shanghai AVIC Optoelectronics Co., Ltd.
>  bosch  Bosch Sensortec GmbH
>  brcm   Broadcom Corporation
>  buffalo        Buffalo, Inc.
> --
> 2.1.3
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd.
       [not found] ` <1418917423-26583-1-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  2015-01-16 11:14   ` [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd Thierry Reding
  2015-01-16 13:51   ` Rob Herring
@ 2015-01-19 13:42   ` Thierry Reding
  2 siblings, 0 replies; 5+ messages in thread
From: Thierry Reding @ 2015-01-19 13:42 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	devicetree-u79uwXL29TY76Z2rM5mHXA, kernel-bIcnvbaLZ9MEGnE8C9+IrQ

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

On Thu, Dec 18, 2014 at 04:43:42PM +0100, Philipp Zabel wrote:
> Shanghai AVIC Optoelectronics Co., Ltd. is a subsidiary of Tianma
> Microelectronics Co., Ltd. and designs and manufactures TFT LCDs.
> 
> Signed-off-by: Philipp Zabel <p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)

Series applied, thanks.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2015-01-19 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-18 15:43 [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd Philipp Zabel
2014-12-18 15:43 ` [PATCH 2/2] drm/panel: simple: Add AVIC TM070DDH03 panel support Philipp Zabel
     [not found] ` <1418917423-26583-1-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-01-16 11:14   ` [PATCH 1/2] of: Add vendor prefix for Shanghai AVIC Optoelectronics Co., Ltd Thierry Reding
2015-01-16 13:51   ` Rob Herring
2015-01-19 13:42   ` Thierry Reding

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