1*c66ec88fSEmmanuel VadotDevice-Tree bindings for Samsung Exynos SoC display controller (DECON) 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotDECON (Display and Enhancement Controller) is the Display Controller for the 4*c66ec88fSEmmanuel VadotExynos 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 one of: 9*c66ec88fSEmmanuel Vadot "samsung,exynos5433-decon", "samsung,exynos5433-decon-tv"; 10*c66ec88fSEmmanuel Vadot- reg: physical base address and length of the DECON registers set. 11*c66ec88fSEmmanuel Vadot- interrupt-names: should contain the interrupt names depending on mode of work: 12*c66ec88fSEmmanuel Vadot video mode: "vsync", 13*c66ec88fSEmmanuel Vadot command mode: "lcd_sys", 14*c66ec88fSEmmanuel Vadot command mode with software trigger: "lcd_sys", "te". 15*c66ec88fSEmmanuel Vadot- interrupts or interrupts-extended: list of interrupt specifiers corresponding 16*c66ec88fSEmmanuel Vadot to names privided in interrupt-names, as described in 17*c66ec88fSEmmanuel Vadot interrupt-controller/interrupts.txt 18*c66ec88fSEmmanuel Vadot- clocks: must include clock specifiers corresponding to entries in the 19*c66ec88fSEmmanuel Vadot clock-names property. 20*c66ec88fSEmmanuel Vadot- clock-names: list of clock names sorted in the same order as the clocks 21*c66ec88fSEmmanuel Vadot property. Must contain "pclk", "aclk_decon", "aclk_smmu_decon0x", 22*c66ec88fSEmmanuel Vadot "aclk_xiu_decon0x", "pclk_smmu_decon0x", "aclk_smmu_decon1x", 23*c66ec88fSEmmanuel Vadot "aclk_xiu_decon1x", "pclk_smmu_decon1x", clk_decon_vclk", 24*c66ec88fSEmmanuel Vadot "sclk_decon_eclk" 25*c66ec88fSEmmanuel Vadot- ports: contains a port which is connected to mic node. address-cells and 26*c66ec88fSEmmanuel Vadot size-cells must 1 and 0, respectively. 27*c66ec88fSEmmanuel Vadot- port: contains an endpoint node which is connected to the endpoint in the mic 28*c66ec88fSEmmanuel Vadot node. The reg value muset be 0. 29*c66ec88fSEmmanuel Vadot 30*c66ec88fSEmmanuel VadotExample: 31*c66ec88fSEmmanuel VadotSoC specific DT entry: 32*c66ec88fSEmmanuel Vadotdecon: decon@13800000 { 33*c66ec88fSEmmanuel Vadot compatible = "samsung,exynos5433-decon"; 34*c66ec88fSEmmanuel Vadot reg = <0x13800000 0x2104>; 35*c66ec88fSEmmanuel Vadot clocks = <&cmu_disp CLK_ACLK_DECON>, <&cmu_disp CLK_ACLK_SMMU_DECON0X>, 36*c66ec88fSEmmanuel Vadot <&cmu_disp CLK_ACLK_XIU_DECON0X>, 37*c66ec88fSEmmanuel Vadot <&cmu_disp CLK_PCLK_SMMU_DECON0X>, 38*c66ec88fSEmmanuel Vadot <&cmu_disp CLK_ACLK_SMMU_DECON1X>, 39*c66ec88fSEmmanuel Vadot <&cmu_disp CLK_ACLK_XIU_DECON1X>, 40*c66ec88fSEmmanuel Vadot <&cmu_disp CLK_PCLK_SMMU_DECON1X>, 41*c66ec88fSEmmanuel Vadot <&cmu_disp CLK_SCLK_DECON_VCLK>, 42*c66ec88fSEmmanuel Vadot <&cmu_disp CLK_SCLK_DECON_ECLK>; 43*c66ec88fSEmmanuel Vadot clock-names = "aclk_decon", "aclk_smmu_decon0x", "aclk_xiu_decon0x", 44*c66ec88fSEmmanuel Vadot "pclk_smmu_decon0x", "aclk_smmu_decon1x", "aclk_xiu_decon1x", 45*c66ec88fSEmmanuel Vadot "pclk_smmu_decon1x", "sclk_decon_vclk", "sclk_decon_eclk"; 46*c66ec88fSEmmanuel Vadot interrupt-names = "vsync", "lcd_sys"; 47*c66ec88fSEmmanuel Vadot interrupts = <0 202 0>, <0 203 0>; 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadot ports { 50*c66ec88fSEmmanuel Vadot #address-cells = <1>; 51*c66ec88fSEmmanuel Vadot #size-cells = <0>; 52*c66ec88fSEmmanuel Vadot 53*c66ec88fSEmmanuel Vadot port@0 { 54*c66ec88fSEmmanuel Vadot reg = <0>; 55*c66ec88fSEmmanuel Vadot decon_to_mic: endpoint { 56*c66ec88fSEmmanuel Vadot remote-endpoint = <&mic_to_decon>; 57*c66ec88fSEmmanuel Vadot }; 58*c66ec88fSEmmanuel Vadot }; 59*c66ec88fSEmmanuel Vadot }; 60*c66ec88fSEmmanuel Vadot}; 61