Commit 13cdd12a authored by Dario Binacchi's avatar Dario Binacchi Committed by Neil Armstrong
parent c42a37a2
...@@ -3281,6 +3281,32 @@ static const struct panel_desc qishenglong_gopher2b_lcd = { ...@@ -3281,6 +3281,32 @@ static const struct panel_desc qishenglong_gopher2b_lcd = {
.connector_type = DRM_MODE_CONNECTOR_DPI, .connector_type = DRM_MODE_CONNECTOR_DPI,
}; };
static const struct display_timing rocktech_rk043fn48h_timing = {
.pixelclock = { 6000000, 9000000, 12000000 },
.hactive = { 480, 480, 480 },
.hback_porch = { 8, 43, 43 },
.hfront_porch = { 2, 8, 8 },
.hsync_len = { 1, 1, 1 },
.vactive = { 272, 272, 272 },
.vback_porch = { 2, 12, 12 },
.vfront_porch = { 1, 4, 4 },
.vsync_len = { 1, 10, 10 },
.flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW |
DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE,
};
static const struct panel_desc rocktech_rk043fn48h = {
.timings = &rocktech_rk043fn48h_timing,
.num_timings = 1,
.bpc = 8,
.size = {
.width = 95,
.height = 54,
},
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
.connector_type = DRM_MODE_CONNECTOR_DPI,
};
static const struct display_timing rocktech_rk070er9427_timing = { static const struct display_timing rocktech_rk070er9427_timing = {
.pixelclock = { 26400000, 33300000, 46800000 }, .pixelclock = { 26400000, 33300000, 46800000 },
.hactive = { 800, 800, 800 }, .hactive = { 800, 800, 800 },
...@@ -4320,6 +4346,9 @@ static const struct of_device_id platform_of_match[] = { ...@@ -4320,6 +4346,9 @@ static const struct of_device_id platform_of_match[] = {
}, { }, {
.compatible = "qishenglong,gopher2b-lcd", .compatible = "qishenglong,gopher2b-lcd",
.data = &qishenglong_gopher2b_lcd, .data = &qishenglong_gopher2b_lcd,
}, {
.compatible = "rocktech,rk043fn48h",
.data = &rocktech_rk043fn48h,
}, { }, {
.compatible = "rocktech,rk070er9427", .compatible = "rocktech,rk070er9427",
.data = &rocktech_rk070er9427, .data = &rocktech_rk070er9427,
......
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