Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538327 > unrolled thread

[RESEND PATCH 1/2] dt-bindings: display: Add BOE nv101wxmn51 panel binding

Started byCaesar Wang <wxt@rock-chips.com>
First post2016-12-08 07:10 +0100
Last post2016-12-08 07:10 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [RESEND PATCH 1/2] dt-bindings: display: Add BOE nv101wxmn51 panel binding Caesar Wang <wxt@rock-chips.com> - 2016-12-08 07:10 +0100
    [RESEND PATCH 2/2] drm/panel: simple: Add support BOE nv101wxmn51 Caesar Wang <wxt@rock-chips.com> - 2016-12-08 07:10 +0100

#1538327 — [RESEND PATCH 1/2] dt-bindings: display: Add BOE nv101wxmn51 panel binding

FromCaesar Wang <wxt@rock-chips.com>
Date2016-12-08 07:10 +0100
Subject[RESEND PATCH 1/2] dt-bindings: display: Add BOE nv101wxmn51 panel binding
Message-ID<sM041-2pi-3@gated-at.bofh.it>
The BOE 10.1" NV101WXMN51 panel is an WXGA TFT LCD panel.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
---

 .../devicetree/bindings/display/panel/boe,nv101wxmn51.txt          | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/boe,nv101wxmn51.txt

diff --git a/Documentation/devicetree/bindings/display/panel/boe,nv101wxmn51.txt b/Documentation/devicetree/bindings/display/panel/boe,nv101wxmn51.txt
new file mode 100644
index 0000000..b258d6a
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/boe,nv101wxmn51.txt
@@ -0,0 +1,7 @@
+BOE OPTOELECTRONICS TECHNOLOGY 10.1" WXGA TFT LCD panel
+
+Required properties:
+- compatible: should be "boe,nv101wxmn51"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
-- 
2.7.4

[toc] | [next] | [standalone]


#1538329 — [RESEND PATCH 2/2] drm/panel: simple: Add support BOE nv101wxmn51

FromCaesar Wang <wxt@rock-chips.com>
Date2016-12-08 07:10 +0100
Subject[RESEND PATCH 2/2] drm/panel: simple: Add support BOE nv101wxmn51
Message-ID<sM041-2pi-9@gated-at.bofh.it>
In reply to#1538327
10.1WXGA is a color active matrix TFT LCD module using amorphous silicon
TFT's as an active switching devices. It can be supported by the
simple-panel driver.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
---

 drivers/gpu/drm/panel/panel-simple.c | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 06aaf79..c9135dc 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -668,6 +668,34 @@ static const struct panel_desc avic_tm070ddh03 = {
 	},
 };
 
+static const struct drm_display_mode boe_nv101wxmn51_mode = {
+	.clock = 71900,
+	.hdisplay = 1280,
+	.hsync_start = 1280 + 48,
+	.hsync_end = 1280 + 48 + 32,
+	.htotal = 1280 + 48 + 32 + 80,
+	.vdisplay = 800,
+	.vsync_start = 800 + 3,
+	.vsync_end = 800 + 3 + 20,
+	.vtotal = 800 + 3 + 20 + 9,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc boe_nv101wxmn51 = {
+	.modes = &boe_nv101wxmn51_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 217,
+		.height = 136,
+	},
+	.delay = {
+		.prepare = 210,
+		.enable = 50,
+		.unprepare = 160,
+	},
+};
+
 static const struct drm_display_mode chunghwa_claa070wp03xg_mode = {
 	.clock = 66770,
 	.hdisplay = 800,
@@ -1748,6 +1776,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "avic,tm070ddh03",
 		.data = &avic_tm070ddh03,
 	}, {
+		.compatible = "boe,nv101wxmn51",
+		.data = &boe_nv101wxmn51,
+	}, {
 		.compatible = "chunghwa,claa070wp03xg",
 		.data = &chunghwa_claa070wp03xg,
 	}, {
-- 
2.7.4

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web