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