Skip to contentSkip to conversation

devicetree: Add vendor-prefix for Chefree Technology Corp.

PATCH New Marek Vasut 1 participant 2 messages Dec 13, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 devicetree: Add vendor-prefix for Chefree Technology Corp.

Add vendor prefix for Chefree Technology Corp., http://www.chefree.com/ . The company is a LCD display manufacturer.

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index 3bbe3b87a1ff9..3b1bb03d383c1 100644
@@ -69,6 +69,7 @@ cavium	Cavium, Inc.
 cdns	Cadence Design Systems Inc.
 cdtech	CDTech(H.K.) Electronics Limited
 ceva	Ceva, Inc.
+chefree	Chefree Technology Corp.
 chipidea	Chipidea, Inc
 chipone		ChipOne
 chipspark	ChipSPARK
Signature · 6 lines
2.18.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

PATCH 2/2 drm/panel: simple: add support for Chefree CH101OLHLWH-002

This adds support for the Chefree CH101OLHLWH-002 LVDS 1280x720 LCD panel, which can be supported by the simple panel driver.

Timings are taken from the datasheet version P0.5.

Cc Rob Herring <[email protected]>
Cc Thierry Reding <[email protected]>
---
 drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +32 -0
index 9c69e739a524d..29e6c629864f2 100644
@@ -941,6 +941,35 @@ static const struct panel_desc cdtech_s070wv95_ct16 = {
 	},
 };
 
+static const struct display_timing chefree_ch101olhlwh_002_timing = {
+	.pixelclock = { 68900000, 71100000, 73400000 },
+	.hactive = { 1280, 1280, 1280 },
+	.hfront_porch = { 65, 80, 95 },
+	.hback_porch = { 64, 79, 94 },
+	.hsync_len = { 1, 1, 1 },
+	.vactive = { 800, 800, 800 },
+	.vfront_porch = { 7, 11, 14 },
+	.vback_porch = { 7, 11, 14 },
+	.vsync_len = { 1, 1, 1 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+
+};
+
+static const struct panel_desc chefree_ch101olhlwh_002 = {
+	.timings = &chefree_ch101olhlwh_002_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 217,
+		.height = 135,
+	},
+	.delay = {
+		.enable = 200,
+		.disable = 200,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+};
+
 static const struct drm_display_mode chunghwa_claa070wp03xg_mode = {
 	.clock = 66770,
 	.hdisplay = 800,
@@ -2553,6 +2582,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "cdtech,s070wv95-ct16",
 		.data = &cdtech_s070wv95_ct16,
+	}, {
+		.compatible = "chefree,ch101olhlwh-002",
+		.data = &chefree_ch101olhlwh_002,
 	}, {
 		.compatible = "chunghwa,claa070wp03xg",
 		.data = &chunghwa_claa070wp03xg,
Signature · 6 lines
2.18.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel