forked from luck/tmp_suning_uos_patched
drm/panel: simple: Add Netron DY E231732
The E231732 is a 7" panel with a resolution of 1024x600. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> [treding@nvidia.com: add missing device tree binding] Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
505c9d4105
commit
e6c2f066d5
@ -0,0 +1,7 @@
|
||||
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 = {
|
||||
.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 = {
|
||||
.clock = 29500,
|
||||
.hdisplay = 800,
|
||||
@ -1894,6 +1917,9 @@ static const struct of_device_id platform_of_match[] = {
|
||||
}, {
|
||||
.compatible = "nec,nl4827hc19-05b",
|
||||
.data = &nec_nl4827hc19_05b,
|
||||
}, {
|
||||
.compatible = "netron-dy,e231732",
|
||||
.data = &netron_dy_e231732,
|
||||
}, {
|
||||
.compatible = "nvd,9128",
|
||||
.data = &nvd_9128,
|
||||
|
Loading…
Reference in New Issue
Block a user