Commit e6c2f066 authored by Maxime Ripard's avatar Maxime Ripard Committed by Thierry Reding

drm/panel: simple: Add Netron DY E231732

The E231732 is a 7" panel with a resolution of 1024x600.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
[treding@nvidia.com: add missing device tree binding]
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 505c9d41
Netron-DY E231732 7.0" WSVGA TFT LCD panel
Required properties:
- compatible: should be "netron-dy,e231732"
This binding is compatible with the simple-panel binding, which is specified
in simple-panel.txt in this directory.
...@@ -1319,6 +1319,29 @@ static const struct panel_desc nec_nl4827hc19_05b = { ...@@ -1319,6 +1319,29 @@ static const struct panel_desc nec_nl4827hc19_05b = {
.bus_flags = DRM_BUS_FLAG_PIXDATA_POSEDGE, .bus_flags = DRM_BUS_FLAG_PIXDATA_POSEDGE,
}; };
static const struct drm_display_mode netron_dy_e231732_mode = {
.clock = 66000,
.hdisplay = 1024,
.hsync_start = 1024 + 160,
.hsync_end = 1024 + 160 + 70,
.htotal = 1024 + 160 + 70 + 90,
.vdisplay = 600,
.vsync_start = 600 + 127,
.vsync_end = 600 + 127 + 20,
.vtotal = 600 + 127 + 20 + 3,
.vrefresh = 60,
};
static const struct panel_desc netron_dy_e231732 = {
.modes = &netron_dy_e231732_mode,
.num_modes = 1,
.size = {
.width = 154,
.height = 87,
},
.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
};
static const struct drm_display_mode nvd_9128_mode = { static const struct drm_display_mode nvd_9128_mode = {
.clock = 29500, .clock = 29500,
.hdisplay = 800, .hdisplay = 800,
...@@ -1894,6 +1917,9 @@ static const struct of_device_id platform_of_match[] = { ...@@ -1894,6 +1917,9 @@ static const struct of_device_id platform_of_match[] = {
}, { }, {
.compatible = "nec,nl4827hc19-05b", .compatible = "nec,nl4827hc19-05b",
.data = &nec_nl4827hc19_05b, .data = &nec_nl4827hc19_05b,
}, {
.compatible = "netron-dy,e231732",
.data = &netron_dy_e231732,
}, { }, {
.compatible = "nvd,9128", .compatible = "nvd,9128",
.data = &nvd_9128, .data = &nvd_9128,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment