panel.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. Recommended properties:
  20. - pinctrl-names, pinctrl-0: the pincontrol settings to configure
  21. muxing properly for pins that connect to TFP410 device
  22. Example:
  23. /* Settings for CDTech_S035Q01 / LCD3 cape: */
  24. lcd3 {
  25. compatible = "ti,tilcdc,panel";
  26. pinctrl-names = "default";
  27. pinctrl-0 = <&bone_lcd3_cape_lcd_pins>;
  28. panel-info {
  29. ac-bias = <255>;
  30. ac-bias-intrpt = <0>;
  31. dma-burst-sz = <16>;
  32. bpp = <16>;
  33. fdd = <0x80>;
  34. sync-edge = <0>;
  35. sync-ctrl = <1>;
  36. raster-order = <0>;
  37. fifo-th = <0>;
  38. };
  39. display-timings {
  40. native-mode = <&timing0>;
  41. timing0: 320x240 {
  42. hactive = <320>;
  43. vactive = <240>;
  44. hback-porch = <21>;
  45. hfront-porch = <58>;
  46. hsync-len = <47>;
  47. vback-porch = <11>;
  48. vfront-porch = <23>;
  49. vsync-len = <2>;
  50. clock-frequency = <8000000>;
  51. hsync-active = <0>;
  52. vsync-active = <0>;
  53. };
  54. };
  55. };