linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix
@ 2018-06-25 12:41 Michal Vokáč
  2018-06-25 12:41 ` [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18 Michal Vokáč
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Michal Vokáč @ 2018-06-25 12:41 UTC (permalink / raw)
  To: robh+dt, thierry.reding
  Cc: mark.rutland, airlied, dri-devel, devicetree, linux-kernel,
	Michal Vokáč

DataImage is a Taiwan-based manufacturer of LCD panels.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
 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 7cad066..500d5dc 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -85,6 +85,7 @@ cubietech	Cubietech, Ltd.
 cypress	Cypress Semiconductor Corporation
 cznic	CZ.NIC, z.s.p.o.
 dallas	Maxim Integrated Products (formerly Dallas Semiconductor)
+dataimage	DataImage, Inc.
 davicom	DAVICOM Semiconductor, Inc.
 delta	Delta Electronics, Inc.
 denx	Denx Software Engineering
-- 
2.1.4


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

* [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18
  2018-06-25 12:41 [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix Michal Vokáč
@ 2018-06-25 12:41 ` Michal Vokáč
  2018-07-03 21:03   ` Rob Herring
  2018-07-10 10:40   ` Thierry Reding
  2018-07-03 21:02 ` [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix Rob Herring
  2018-07-10 10:40 ` Thierry Reding
  2 siblings, 2 replies; 6+ messages in thread
From: Michal Vokáč @ 2018-06-25 12:41 UTC (permalink / raw)
  To: robh+dt, thierry.reding
  Cc: mark.rutland, airlied, dri-devel, devicetree, linux-kernel,
	Michal Vokáč

This adds support for the DataImage SCF0700C48GGU18 7.0" WVGA (800x480)
TFT LCD panel. The panel has 24-bit parallel interface and can be
supported by the simple panel driver.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
 .../display/panel/dataimage,scf0700c48ggu18.txt    |  8 ++++++
 drivers/gpu/drm/panel/panel-simple.c               | 29 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/dataimage,scf0700c48ggu18.txt

diff --git a/Documentation/devicetree/bindings/display/panel/dataimage,scf0700c48ggu18.txt b/Documentation/devicetree/bindings/display/panel/dataimage,scf0700c48ggu18.txt
new file mode 100644
index 0000000..897085e
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/dataimage,scf0700c48ggu18.txt
@@ -0,0 +1,8 @@
+DataImage, Inc. 7" WVGA (800x480) TFT LCD panel with 24-bit parallel interface.
+
+Required properties:
+- compatible: should be "dataimage,scf0700c48ggu18"
+- power-supply: as specified in the base binding
+
+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 cbf1ab4..796b091 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -857,6 +857,32 @@ static const struct panel_desc chunghwa_claa101wb01 = {
 	},
 };
 
+static const struct drm_display_mode dataimage_scf0700c48ggu18_mode = {
+	.clock = 33260,
+	.hdisplay = 800,
+	.hsync_start = 800 + 40,
+	.hsync_end = 800 + 40 + 128,
+	.htotal = 800 + 40 + 128 + 88,
+	.vdisplay = 480,
+	.vsync_start = 480 + 10,
+	.vsync_end = 480 + 10 + 2,
+	.vtotal = 480 + 10 + 2 + 33,
+	.vrefresh = 60,
+	.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
+};
+
+static const struct panel_desc dataimage_scf0700c48ggu18 = {
+	.modes = &dataimage_scf0700c48ggu18_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 152,
+		.height = 91,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_POSEDGE,
+};
+
 static const struct drm_display_mode edt_et057090dhu_mode = {
 	.clock = 25175,
 	.hdisplay = 640,
@@ -2125,6 +2151,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "chunghwa,claa101wb01",
 		.data = &chunghwa_claa101wb01
 	}, {
+		.compatible = "dataimage,scf0700c48ggu18",
+		.data = &dataimage_scf0700c48ggu18,
+	}, {
 		.compatible = "edt,et057090dhu",
 		.data = &edt_et057090dhu,
 	}, {
-- 
2.1.4


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

* Re: [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix
  2018-06-25 12:41 [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix Michal Vokáč
  2018-06-25 12:41 ` [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18 Michal Vokáč
@ 2018-07-03 21:02 ` Rob Herring
  2018-07-10 10:40 ` Thierry Reding
  2 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2018-07-03 21:02 UTC (permalink / raw)
  To: Michal Vokáč
  Cc: thierry.reding, mark.rutland, airlied, dri-devel, devicetree,
	linux-kernel

On Mon, Jun 25, 2018 at 02:41:29PM +0200, Michal Vokáč wrote:
> DataImage is a Taiwan-based manufacturer of LCD panels.
> 
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)

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


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

* Re: [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18
  2018-06-25 12:41 ` [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18 Michal Vokáč
@ 2018-07-03 21:03   ` Rob Herring
  2018-07-10 10:40   ` Thierry Reding
  1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring @ 2018-07-03 21:03 UTC (permalink / raw)
  To: Michal Vokáč
  Cc: thierry.reding, mark.rutland, airlied, dri-devel, devicetree,
	linux-kernel

On Mon, Jun 25, 2018 at 02:41:30PM +0200, Michal Vokáč wrote:
> This adds support for the DataImage SCF0700C48GGU18 7.0" WVGA (800x480)
> TFT LCD panel. The panel has 24-bit parallel interface and can be
> supported by the simple panel driver.
> 
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
> ---
>  .../display/panel/dataimage,scf0700c48ggu18.txt    |  8 ++++++
>  drivers/gpu/drm/panel/panel-simple.c               | 29 ++++++++++++++++++++++
>  2 files changed, 37 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/dataimage,scf0700c48ggu18.txt

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


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

* Re: [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix
  2018-06-25 12:41 [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix Michal Vokáč
  2018-06-25 12:41 ` [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18 Michal Vokáč
  2018-07-03 21:02 ` [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix Rob Herring
@ 2018-07-10 10:40 ` Thierry Reding
  2 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2018-07-10 10:40 UTC (permalink / raw)
  To: Michal Vokáč
  Cc: robh+dt, mark.rutland, airlied, dri-devel, devicetree, linux-kernel

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

On Mon, Jun 25, 2018 at 02:41:29PM +0200, Michal Vokáč wrote:
> DataImage is a Taiwan-based manufacturer of LCD panels.
> 
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18
  2018-06-25 12:41 ` [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18 Michal Vokáč
  2018-07-03 21:03   ` Rob Herring
@ 2018-07-10 10:40   ` Thierry Reding
  1 sibling, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2018-07-10 10:40 UTC (permalink / raw)
  To: Michal Vokáč
  Cc: robh+dt, mark.rutland, airlied, dri-devel, devicetree, linux-kernel

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

On Mon, Jun 25, 2018 at 02:41:30PM +0200, Michal Vokáč wrote:
> This adds support for the DataImage SCF0700C48GGU18 7.0" WVGA (800x480)
> TFT LCD panel. The panel has 24-bit parallel interface and can be
> supported by the simple panel driver.
> 
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
> ---
>  .../display/panel/dataimage,scf0700c48ggu18.txt    |  8 ++++++
>  drivers/gpu/drm/panel/panel-simple.c               | 29 ++++++++++++++++++++++
>  2 files changed, 37 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/dataimage,scf0700c48ggu18.txt

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2018-07-10 10:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-25 12:41 [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix Michal Vokáč
2018-06-25 12:41 ` [PATCH 2/2] drm/panel: simple: Add support for DataImage SCF0700C48GGU18 Michal Vokáč
2018-07-03 21:03   ` Rob Herring
2018-07-10 10:40   ` Thierry Reding
2018-07-03 21:02 ` [PATCH 1/2] dt-bindings: Add DataImage, Inc. vendor prefix Rob Herring
2018-07-10 10:40 ` 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).