exynos7-decon.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Device-Tree bindings for Samsung Exynos7 SoC display controller (DECON)
  2. DECON (Display and Enhancement Controller) is the Display Controller for the
  3. Exynos7 series of SoCs which transfers the image data from a video memory
  4. buffer to an external LCD interface.
  5. Required properties:
  6. - compatible: value should be "samsung,exynos7-decon";
  7. - reg: physical base address and length of the DECON registers set.
  8. - interrupt-parent: should be the phandle of the decon controller's
  9. parent interrupt controller.
  10. - interrupts: should contain a list of all DECON IP block interrupts in the
  11. order: FIFO Level, VSYNC, LCD_SYSTEM. The interrupt specifier
  12. format depends on the interrupt controller used.
  13. - interrupt-names: should contain the interrupt names: "fifo", "vsync",
  14. "lcd_sys", in the same order as they were listed in the interrupts
  15. property.
  16. - pinctrl-0: pin control group to be used for this controller.
  17. - pinctrl-names: must contain a "default" entry.
  18. - clocks: must include clock specifiers corresponding to entries in the
  19. clock-names property.
  20. - clock-names: list of clock names sorted in the same order as the clocks
  21. property. Must contain "pclk_decon0", "aclk_decon0",
  22. "decon0_eclk", "decon0_vclk".
  23. - i80-if-timings: timing configuration for lcd i80 interface support.
  24. Optional Properties:
  25. - samsung,power-domain: a phandle to DECON power domain node.
  26. - display-timings: timing settings for DECON, as described in document [1].
  27. Can be used in case timings cannot be provided otherwise
  28. or to override timings provided by the panel.
  29. [1]: Documentation/devicetree/bindings/video/display-timing.txt
  30. Example:
  31. SoC specific DT entry:
  32. decon@13930000 {
  33. compatible = "samsung,exynos7-decon";
  34. interrupt-parent = <&combiner>;
  35. reg = <0x13930000 0x1000>;
  36. interrupt-names = "lcd_sys", "vsync", "fifo";
  37. interrupts = <0 188 0>, <0 189 0>, <0 190 0>;
  38. clocks = <&clock_disp PCLK_DECON_INT>,
  39. <&clock_disp ACLK_DECON_INT>,
  40. <&clock_disp SCLK_DECON_INT_ECLK>,
  41. <&clock_disp SCLK_DECON_INT_EXTCLKPLL>;
  42. clock-names = "pclk_decon0", "aclk_decon0", "decon0_eclk",
  43. "decon0_vclk";
  44. status = "disabled";
  45. };
  46. Board specific DT entry:
  47. decon@13930000 {
  48. pinctrl-0 = <&lcd_clk &pwm1_out>;
  49. pinctrl-names = "default";
  50. status = "okay";
  51. };