atmel,lcdc.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Atmel LCDC Framebuffer
  2. -----------------------------------------------------
  3. Required properties:
  4. - compatible :
  5. "atmel,at91sam9261-lcdc" ,
  6. "atmel,at91sam9263-lcdc" ,
  7. "atmel,at91sam9g10-lcdc" ,
  8. "atmel,at91sam9g45-lcdc" ,
  9. "atmel,at91sam9g45es-lcdc" ,
  10. "atmel,at91sam9rl-lcdc" ,
  11. "atmel,at32ap-lcdc"
  12. - reg : Should contain 1 register ranges(address and length)
  13. - interrupts : framebuffer controller interrupt
  14. - display: a phandle pointing to the display node
  15. Required nodes:
  16. - display: a display node is required to initialize the lcd panel
  17. This should be in the board dts.
  18. - default-mode: a videomode within the display with timing parameters
  19. as specified below.
  20. Optional properties:
  21. - lcd-supply: Regulator for LCD supply voltage.
  22. Example:
  23. fb0: fb@0x00500000 {
  24. compatible = "atmel,at91sam9g45-lcdc";
  25. reg = <0x00500000 0x1000>;
  26. interrupts = <23 3 0>;
  27. pinctrl-names = "default";
  28. pinctrl-0 = <&pinctrl_fb>;
  29. display = <&display0>;
  30. status = "okay";
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. };
  34. Atmel LCDC Display
  35. -----------------------------------------------------
  36. Required properties (as per of_videomode_helper):
  37. - atmel,dmacon: dma controller configuration
  38. - atmel,lcdcon2: lcd controller configuration
  39. - atmel,guard-time: lcd guard time (Delay in frame periods)
  40. - bits-per-pixel: lcd panel bit-depth.
  41. Optional properties (as per of_videomode_helper):
  42. - atmel,lcdcon-backlight: enable backlight
  43. - atmel,lcdcon-backlight-inverted: invert backlight PWM polarity
  44. - atmel,lcd-wiring-mode: lcd wiring mode "RGB" or "BRG"
  45. - atmel,power-control-gpio: gpio to power on or off the LCD (as many as needed)
  46. Example:
  47. display0: display {
  48. bits-per-pixel = <32>;
  49. atmel,lcdcon-backlight;
  50. atmel,dmacon = <0x1>;
  51. atmel,lcdcon2 = <0x80008002>;
  52. atmel,guard-time = <9>;
  53. atmel,lcd-wiring-mode = <1>;
  54. display-timings {
  55. native-mode = <&timing0>;
  56. timing0: timing0 {
  57. clock-frequency = <9000000>;
  58. hactive = <480>;
  59. vactive = <272>;
  60. hback-porch = <1>;
  61. hfront-porch = <1>;
  62. vback-porch = <40>;
  63. vfront-porch = <1>;
  64. hsync-len = <45>;
  65. vsync-len = <1>;
  66. };
  67. };
  68. };