fsl,imx-fb.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Freescale imx21 Framebuffer
  2. This framebuffer driver supports devices imx1, imx21, imx25, and imx27.
  3. Required properties:
  4. - compatible : "fsl,<chip>-fb", chip should be imx1 or imx21
  5. - reg : Should contain 1 register ranges(address and length)
  6. - interrupts : One interrupt of the fb dev
  7. Required nodes:
  8. - display: Phandle to a display node as described in
  9. Documentation/devicetree/bindings/video/display-timing.txt
  10. Additional, the display node has to define properties:
  11. - bits-per-pixel: Bits per pixel
  12. - fsl,pcr: LCDC PCR value
  13. Optional properties:
  14. - fsl,dmacr: DMA Control Register value. This is optional. By default, the
  15. register is not modified as recommended by the datasheet.
  16. - fsl,lscr1: LCDC Sharp Configuration Register value.
  17. Example:
  18. imxfb: fb@10021000 {
  19. compatible = "fsl,imx21-fb";
  20. interrupts = <61>;
  21. reg = <0x10021000 0x1000>;
  22. display = <&display0>;
  23. };
  24. ...
  25. display0: display0 {
  26. model = "Primeview-PD050VL1";
  27. native-mode = <&timing_disp0>;
  28. bits-per-pixel = <16>;
  29. fsl,pcr = <0xf0c88080>; /* non-standard but required */
  30. display-timings {
  31. timing_disp0: 640x480 {
  32. hactive = <640>;
  33. vactive = <480>;
  34. hback-porch = <112>;
  35. hfront-porch = <36>;
  36. hsync-len = <32>;
  37. vback-porch = <33>;
  38. vfront-porch = <33>;
  39. vsync-len = <2>;
  40. clock-frequency = <25000000>;
  41. };
  42. };
  43. };