mxsfb.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. * Freescale MXS LCD Interface (LCDIF)
  2. Required properties:
  3. - compatible: Should be "fsl,<chip>-lcdif". Supported chips include
  4. imx23 and imx28.
  5. - reg: Address and length of the register set for lcdif
  6. - interrupts: Should contain lcdif interrupts
  7. - display : phandle to display node (see below for details)
  8. Optional properties:
  9. - panel-enable-gpios : Should specify the gpio for panel enable
  10. * display node
  11. Required properties:
  12. - bits-per-pixel : <16> for RGB565, <32> for RGB888/666.
  13. - bus-width : number of data lines. Could be <8>, <16>, <18> or <24>.
  14. Required sub-node:
  15. - display-timings : Refer to binding doc display-timing.txt for details.
  16. Examples:
  17. lcdif@80030000 {
  18. compatible = "fsl,imx28-lcdif";
  19. reg = <0x80030000 2000>;
  20. interrupts = <38 86>;
  21. panel-enable-gpios = <&gpio3 30 0>;
  22. display: display {
  23. bits-per-pixel = <32>;
  24. bus-width = <24>;
  25. display-timings {
  26. native-mode = <&timing0>;
  27. timing0: timing0 {
  28. clock-frequency = <33500000>;
  29. hactive = <800>;
  30. vactive = <480>;
  31. hfront-porch = <164>;
  32. hback-porch = <89>;
  33. hsync-len = <10>;
  34. vback-porch = <23>;
  35. vfront-porch = <10>;
  36. vsync-len = <10>;
  37. hsync-active = <0>;
  38. vsync-active = <0>;
  39. de-active = <1>;
  40. pixelclk-active = <0>;
  41. };
  42. };
  43. };
  44. };