1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/display/samsung/samsung,exynos7-decon.yaml# 5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7c9ccf3a3SEmmanuel Vadottitle: Samsung Exynos7 SoC Display and Enhancement Controller (DECON) 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Inki Dae <inki.dae@samsung.com> 11c9ccf3a3SEmmanuel Vadot - Seung-Woo Kim <sw0312.kim@samsung.com> 12c9ccf3a3SEmmanuel Vadot - Kyungmin Park <kyungmin.park@samsung.com> 13c9ccf3a3SEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 14c9ccf3a3SEmmanuel Vadot 15c9ccf3a3SEmmanuel Vadotdescription: | 16c9ccf3a3SEmmanuel Vadot DECON (Display and Enhancement Controller) is the Display Controller for the 17c9ccf3a3SEmmanuel Vadot Exynos7 series of SoCs which transfers the image data from a video memory 18c9ccf3a3SEmmanuel Vadot buffer to an external LCD interface. 19c9ccf3a3SEmmanuel Vadot 20c9ccf3a3SEmmanuel Vadotproperties: 21c9ccf3a3SEmmanuel Vadot compatible: 22c9ccf3a3SEmmanuel Vadot const: samsung,exynos7-decon 23c9ccf3a3SEmmanuel Vadot 24c9ccf3a3SEmmanuel Vadot clocks: 25c9ccf3a3SEmmanuel Vadot maxItems: 4 26c9ccf3a3SEmmanuel Vadot 27c9ccf3a3SEmmanuel Vadot clock-names: 28c9ccf3a3SEmmanuel Vadot items: 29c9ccf3a3SEmmanuel Vadot - const: pclk_decon0 30c9ccf3a3SEmmanuel Vadot - const: aclk_decon0 31c9ccf3a3SEmmanuel Vadot - const: decon0_eclk 32c9ccf3a3SEmmanuel Vadot - const: decon0_vclk 33c9ccf3a3SEmmanuel Vadot 34c9ccf3a3SEmmanuel Vadot display-timings: 35c9ccf3a3SEmmanuel Vadot $ref: ../panel/display-timings.yaml# 36c9ccf3a3SEmmanuel Vadot 37c9ccf3a3SEmmanuel Vadot i80-if-timings: 38c9ccf3a3SEmmanuel Vadot type: object 39*7ef62cebSEmmanuel Vadot additionalProperties: false 40c9ccf3a3SEmmanuel Vadot description: timing configuration for lcd i80 interface support 41c9ccf3a3SEmmanuel Vadot properties: 42c9ccf3a3SEmmanuel Vadot cs-setup: 43c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 44c9ccf3a3SEmmanuel Vadot description: 45c9ccf3a3SEmmanuel Vadot Clock cycles for the active period of address signal is enabled until 46c9ccf3a3SEmmanuel Vadot chip select is enabled. 47c9ccf3a3SEmmanuel Vadot default: 0 48c9ccf3a3SEmmanuel Vadot 49c9ccf3a3SEmmanuel Vadot wr-active: 50c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 51c9ccf3a3SEmmanuel Vadot description: 52c9ccf3a3SEmmanuel Vadot Clock cycles for the active period of CS is enabled. 53c9ccf3a3SEmmanuel Vadot default: 1 54c9ccf3a3SEmmanuel Vadot 55c9ccf3a3SEmmanuel Vadot wr-hold: 56c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 57c9ccf3a3SEmmanuel Vadot description: 58c9ccf3a3SEmmanuel Vadot Clock cycles for the active period of CS is disabled until write 59c9ccf3a3SEmmanuel Vadot signal is disabled. 60c9ccf3a3SEmmanuel Vadot default: 0 61c9ccf3a3SEmmanuel Vadot 62c9ccf3a3SEmmanuel Vadot wr-setup: 63c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 64c9ccf3a3SEmmanuel Vadot description: 65c9ccf3a3SEmmanuel Vadot Clock cycles for the active period of CS signal is enabled until 66c9ccf3a3SEmmanuel Vadot write signal is enabled. 67c9ccf3a3SEmmanuel Vadot default: 0 68c9ccf3a3SEmmanuel Vadot 69c9ccf3a3SEmmanuel Vadot interrupts: 70c9ccf3a3SEmmanuel Vadot items: 71c9ccf3a3SEmmanuel Vadot - description: FIFO level 72c9ccf3a3SEmmanuel Vadot - description: VSYNC 73c9ccf3a3SEmmanuel Vadot - description: LCD system 74c9ccf3a3SEmmanuel Vadot 75c9ccf3a3SEmmanuel Vadot interrupt-names: 76c9ccf3a3SEmmanuel Vadot items: 77c9ccf3a3SEmmanuel Vadot - const: fifo 78c9ccf3a3SEmmanuel Vadot - const: vsync 79c9ccf3a3SEmmanuel Vadot - const: lcd_sys 80c9ccf3a3SEmmanuel Vadot 81c9ccf3a3SEmmanuel Vadot power-domains: 82c9ccf3a3SEmmanuel Vadot maxItems: 1 83c9ccf3a3SEmmanuel Vadot 84c9ccf3a3SEmmanuel Vadot reg: 85c9ccf3a3SEmmanuel Vadot maxItems: 1 86c9ccf3a3SEmmanuel Vadot 87c9ccf3a3SEmmanuel Vadotrequired: 88c9ccf3a3SEmmanuel Vadot - compatible 89c9ccf3a3SEmmanuel Vadot - clocks 90c9ccf3a3SEmmanuel Vadot - clock-names 91c9ccf3a3SEmmanuel Vadot - interrupts 92c9ccf3a3SEmmanuel Vadot - interrupt-names 93c9ccf3a3SEmmanuel Vadot - reg 94c9ccf3a3SEmmanuel Vadot 95c9ccf3a3SEmmanuel VadotadditionalProperties: false 96c9ccf3a3SEmmanuel Vadot 97c9ccf3a3SEmmanuel Vadotexamples: 98c9ccf3a3SEmmanuel Vadot - | 99c9ccf3a3SEmmanuel Vadot #include <dt-bindings/clock/exynos7-clk.h> 100c9ccf3a3SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 101c9ccf3a3SEmmanuel Vadot 102c9ccf3a3SEmmanuel Vadot display-controller@13930000 { 103c9ccf3a3SEmmanuel Vadot compatible = "samsung,exynos7-decon"; 104c9ccf3a3SEmmanuel Vadot reg = <0x13930000 0x1000>; 105c9ccf3a3SEmmanuel Vadot interrupt-names = "fifo", "vsync", "lcd_sys"; 106c9ccf3a3SEmmanuel Vadot interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 107c9ccf3a3SEmmanuel Vadot <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 108c9ccf3a3SEmmanuel Vadot <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; 109c9ccf3a3SEmmanuel Vadot clocks = <&clock_disp 100>, /* PCLK_DECON_INT */ 110c9ccf3a3SEmmanuel Vadot <&clock_disp 101>, /* ACLK_DECON_INT */ 111c9ccf3a3SEmmanuel Vadot <&clock_disp 102>, /* SCLK_DECON_INT_ECLK */ 112c9ccf3a3SEmmanuel Vadot <&clock_disp 103>; /* SCLK_DECON_INT_EXTCLKPLL */ 113c9ccf3a3SEmmanuel Vadot clock-names = "pclk_decon0", 114c9ccf3a3SEmmanuel Vadot "aclk_decon0", 115c9ccf3a3SEmmanuel Vadot "decon0_eclk", 116c9ccf3a3SEmmanuel Vadot "decon0_vclk"; 117c9ccf3a3SEmmanuel Vadot pinctrl-0 = <&lcd_clk &pwm1_out>; 118c9ccf3a3SEmmanuel Vadot pinctrl-names = "default"; 119c9ccf3a3SEmmanuel Vadot }; 120