mxsfb.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. * Freescale MXS LCD Interface (LCDIF)
  2. New bindings:
  3. =============
  4. Required properties:
  5. - compatible: Should be "fsl,imx23-lcdif" for i.MX23.
  6. Should be "fsl,imx28-lcdif" for i.MX28.
  7. Should be "fsl,imx6sx-lcdif" for i.MX6SX.
  8. - reg: Address and length of the register set for LCDIF
  9. - interrupts: Should contain LCDIF interrupt
  10. - clocks: A list of phandle + clock-specifier pairs, one for each
  11. entry in 'clock-names'.
  12. - clock-names: A list of clock names. For MXSFB it should contain:
  13. - "pix" for the LCDIF block clock
  14. - (MX6SX-only) "axi", "disp_axi" for the bus interface clock
  15. Required sub-nodes:
  16. - port: The connection to an encoder chip.
  17. Example:
  18. lcdif1: display-controller@2220000 {
  19. compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
  20. reg = <0x02220000 0x4000>;
  21. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  22. clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
  23. <&clks IMX6SX_CLK_LCDIF_APB>,
  24. <&clks IMX6SX_CLK_DISPLAY_AXI>;
  25. clock-names = "pix", "axi", "disp_axi";
  26. port {
  27. parallel_out: endpoint {
  28. remote-endpoint = <&panel_in_parallel>;
  29. };
  30. };
  31. };
  32. Deprecated bindings:
  33. ====================
  34. Required properties:
  35. - compatible: Should be "fsl,imx23-lcdif" for i.MX23.
  36. Should be "fsl,imx28-lcdif" for i.MX28.
  37. - reg: Address and length of the register set for LCDIF
  38. - interrupts: Should contain LCDIF interrupts
  39. - display: phandle to display node (see below for details)
  40. * display node
  41. Required properties:
  42. - bits-per-pixel: <16> for RGB565, <32> for RGB888/666.
  43. - bus-width: number of data lines. Could be <8>, <16>, <18> or <24>.
  44. Required sub-node:
  45. - display-timings: Refer to binding doc display-timing.txt for details.
  46. Examples:
  47. lcdif@80030000 {
  48. compatible = "fsl,imx28-lcdif";
  49. reg = <0x80030000 2000>;
  50. interrupts = <38 86>;
  51. display: display {
  52. bits-per-pixel = <32>;
  53. bus-width = <24>;
  54. display-timings {
  55. native-mode = <&timing0>;
  56. timing0: timing0 {
  57. clock-frequency = <33500000>;
  58. hactive = <800>;
  59. vactive = <480>;
  60. hfront-porch = <164>;
  61. hback-porch = <89>;
  62. hsync-len = <10>;
  63. vback-porch = <23>;
  64. vfront-porch = <10>;
  65. vsync-len = <10>;
  66. hsync-active = <0>;
  67. vsync-active = <0>;
  68. de-active = <1>;
  69. pixelclk-active = <0>;
  70. };
  71. };
  72. };
  73. };