Advertisement
Guest User

Untitled

a guest
Sep 11th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. 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
  2.  
  3. static const struct drm_display_mode olimex_lcd_olinuxino_43ts_mode = {
  4. .clock = 9000, // pclk_khz
  5. .hdisplay = 480, // x
  6. .hsync_start = 480 + 5, // x + ri
  7. .hsync_end = 480 + 5 + 30, // x + ri + hs
  8. .htotal = 480 + 5 + 30 + 10, // x + ri + hs + le
  9. .vdisplay = 272, // y
  10. .vsync_start = 272 + 8, // y + lo
  11. .vsync_end = 272 + 8 + 5, // y + lo + vs
  12. .vtotal = 272 + 8 + 5 + 3, // y + lo + vs + up
  13. .vrefresh = 60, // always 60 Hz?
  14. };
  15.  
  16. static const struct panel_desc olimex_lcd_olinuxino_43ts = {
  17. .modes = &olimex_lcd_olinuxino_43ts_mode,
  18. .num_modes = 1,
  19. .size = {
  20. .width = 105, // Display width: 105 mm
  21. .height = 67, // Display height: 67 mm
  22. },
  23. .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
  24. };
  25.  
  26. // entry in static const struct of_device_id platform_of_match[]
  27. }, {
  28. .compatible = "olimex,lcd-olinuxino-43-ts",
  29. .data = &olimex_lcd_olinuxino_43ts,
  30. }, {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement