via,vt8500-fb.txt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. VIA VT8500 Framebuffer
  2. -----------------------------------------------------
  3. Required properties:
  4. - compatible : "via,vt8500-fb"
  5. - reg : Should contain 1 register ranges(address and length)
  6. - interrupts : framebuffer controller interrupt
  7. - display: a phandle pointing to the display node
  8. Required nodes:
  9. - display: a display node is required to initialize the lcd panel
  10. This should be in the board dts.
  11. - default-mode: a videomode within the display with timing parameters
  12. as specified below.
  13. Example:
  14. fb@d800e400 {
  15. compatible = "via,vt8500-fb";
  16. reg = <0xd800e400 0x400>;
  17. interrupts = <12>;
  18. display = <&display>;
  19. default-mode = <&mode0>;
  20. };
  21. VIA VT8500 Display
  22. -----------------------------------------------------
  23. Required properties (as per of_videomode_helper):
  24. - hactive, vactive: Display resolution
  25. - hfront-porch, hback-porch, hsync-len: Horizontal Display timing parameters
  26. in pixels
  27. vfront-porch, vback-porch, vsync-len: Vertical display timing parameters in
  28. lines
  29. - clock: displayclock in Hz
  30. - bpp: lcd panel bit-depth.
  31. <16> for RGB565, <32> for RGB888
  32. Optional properties (as per of_videomode_helper):
  33. - width-mm, height-mm: Display dimensions in mm
  34. - hsync-active-high (bool): Hsync pulse is active high
  35. - vsync-active-high (bool): Vsync pulse is active high
  36. - interlaced (bool): This is an interlaced mode
  37. - doublescan (bool): This is a doublescan mode
  38. Example:
  39. display: display@0 {
  40. modes {
  41. mode0: mode@0 {
  42. hactive = <800>;
  43. vactive = <480>;
  44. hback-porch = <88>;
  45. hfront-porch = <40>;
  46. hsync-len = <0>;
  47. vback-porch = <32>;
  48. vfront-porch = <11>;
  49. vsync-len = <1>;
  50. clock = <0>; /* unused but required */
  51. bpp = <16>; /* non-standard but required */
  52. };
  53. };
  54. };