Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x:480,y:272,depth:18,pclk_khz:9000,le:10,ri:5,up:3,lo:8,hs:30,vs:5,sync:3,vmode:0
- static const struct drm_display_mode olimex_lcd_olinuxino_43ts_mode = {
- .clock = 9000, // pclk_khz
- .hdisplay = 480, // x
- .hsync_start = 480 + 5, // x + ri
- .hsync_end = 480 + 5 + 30, // x + ri + hs
- .htotal = 480 + 5 + 30 + 10, // x + ri + hs + le
- .vdisplay = 272, // y
- .vsync_start = 272 + 8, // y + lo
- .vsync_end = 272 + 8 + 5, // y + lo + vs
- .vtotal = 272 + 8 + 5 + 3, // y + lo + vs + up
- .vrefresh = 60, // always 60 Hz?
- };
- static const struct panel_desc olimex_lcd_olinuxino_43ts = {
- .modes = &olimex_lcd_olinuxino_43ts_mode,
- .num_modes = 1,
- .size = {
- .width = 105, // Display width: 105 mm
- .height = 67, // Display height: 67 mm
- },
- .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
- };
- // entry in static const struct of_device_id platform_of_match[]
- }, {
- .compatible = "olimex,lcd-olinuxino-43-ts",
- .data = &olimex_lcd_olinuxino_43ts,
- }, {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement