panel.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Device-Tree bindings for tilcdc DRM generic panel output driver
  2. Required properties:
  3. - compatible: value should be "ti,tilcdc,panel".
  4. - panel-info: configuration info to configure LCDC correctly for the panel
  5. - ac-bias: AC Bias Pin Frequency
  6. - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt
  7. - dma-burst-sz: DMA burst size
  8. - bpp: Bits per pixel
  9. - fdd: FIFO DMA Request Delay
  10. - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling
  11. - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore
  12. - raster-order: Raster Data Order Select: 1=Most-to-least 0=Least-to-most
  13. - fifo-th: DMA FIFO threshold
  14. - display-timings: typical videomode of lcd panel. Multiple video modes
  15. can be listed if the panel supports multiple timings, but the 'native-mode'
  16. should be the preferred/default resolution. Refer to
  17. Documentation/devicetree/bindings/video/display-timing.txt for display
  18. timing binding details.
  19. Optional properties:
  20. - backlight: phandle of the backlight device attached to the panel
  21. - enable-gpios: GPIO pin to enable or disable the panel
  22. Recommended properties:
  23. - pinctrl-names, pinctrl-0: the pincontrol settings to configure
  24. muxing properly for pins that connect to TFP410 device
  25. Example:
  26. /* Settings for CDTech_S035Q01 / LCD3 cape: */
  27. lcd3 {
  28. compatible = "ti,tilcdc,panel";
  29. pinctrl-names = "default";
  30. pinctrl-0 = <&bone_lcd3_cape_lcd_pins>;
  31. backlight = <&backlight>;
  32. enable-gpios = <&gpio3 19 0>;
  33. panel-info {
  34. ac-bias = <255>;
  35. ac-bias-intrpt = <0>;
  36. dma-burst-sz = <16>;
  37. bpp = <16>;
  38. fdd = <0x80>;
  39. sync-edge = <0>;
  40. sync-ctrl = <1>;
  41. raster-order = <0>;
  42. fifo-th = <0>;
  43. };
  44. display-timings {
  45. native-mode = <&timing0>;
  46. timing0: 320x240 {
  47. hactive = <320>;
  48. vactive = <240>;
  49. hback-porch = <21>;
  50. hfront-porch = <58>;
  51. hsync-len = <47>;
  52. vback-porch = <11>;
  53. vfront-porch = <23>;
  54. vsync-len = <2>;
  55. clock-frequency = <8000000>;
  56. hsync-active = <0>;
  57. vsync-active = <0>;
  58. };
  59. };
  60. };