15c45a11bSKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25c45a11bSKrzysztof Kozlowski%YAML 1.2 35c45a11bSKrzysztof Kozlowski--- 45c45a11bSKrzysztof Kozlowski$id: http://devicetree.org/schemas/display/samsung/samsung,exynos7-decon.yaml# 55c45a11bSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 65c45a11bSKrzysztof Kozlowski 75c45a11bSKrzysztof Kozlowskititle: Samsung Exynos7 SoC Display and Enhancement Controller (DECON) 85c45a11bSKrzysztof Kozlowski 95c45a11bSKrzysztof Kozlowskimaintainers: 105c45a11bSKrzysztof Kozlowski - Inki Dae <inki.dae@samsung.com> 115c45a11bSKrzysztof Kozlowski - Seung-Woo Kim <sw0312.kim@samsung.com> 125c45a11bSKrzysztof Kozlowski - Kyungmin Park <kyungmin.park@samsung.com> 138a1e6bb3SKrzysztof Kozlowski - Krzysztof Kozlowski <krzk@kernel.org> 145c45a11bSKrzysztof Kozlowski 155c45a11bSKrzysztof Kozlowskidescription: | 165c45a11bSKrzysztof Kozlowski DECON (Display and Enhancement Controller) is the Display Controller for the 175c45a11bSKrzysztof Kozlowski Exynos7 series of SoCs which transfers the image data from a video memory 185c45a11bSKrzysztof Kozlowski buffer to an external LCD interface. 195c45a11bSKrzysztof Kozlowski 205c45a11bSKrzysztof Kozlowskiproperties: 215c45a11bSKrzysztof Kozlowski compatible: 225c45a11bSKrzysztof Kozlowski const: samsung,exynos7-decon 235c45a11bSKrzysztof Kozlowski 245c45a11bSKrzysztof Kozlowski clocks: 255c45a11bSKrzysztof Kozlowski minItems: 4 265c45a11bSKrzysztof Kozlowski maxItems: 4 275c45a11bSKrzysztof Kozlowski 285c45a11bSKrzysztof Kozlowski clock-names: 295c45a11bSKrzysztof Kozlowski items: 305c45a11bSKrzysztof Kozlowski - const: pclk_decon0 315c45a11bSKrzysztof Kozlowski - const: aclk_decon0 325c45a11bSKrzysztof Kozlowski - const: decon0_eclk 335c45a11bSKrzysztof Kozlowski - const: decon0_vclk 345c45a11bSKrzysztof Kozlowski 355c45a11bSKrzysztof Kozlowski display-timings: 365c45a11bSKrzysztof Kozlowski $ref: ../panel/display-timings.yaml# 375c45a11bSKrzysztof Kozlowski 385c45a11bSKrzysztof Kozlowski i80-if-timings: 395c45a11bSKrzysztof Kozlowski type: object 40*ba007062SRob Herring additionalProperties: false 415c45a11bSKrzysztof Kozlowski description: timing configuration for lcd i80 interface support 425c45a11bSKrzysztof Kozlowski properties: 435c45a11bSKrzysztof Kozlowski cs-setup: 445c45a11bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 455c45a11bSKrzysztof Kozlowski description: 465c45a11bSKrzysztof Kozlowski Clock cycles for the active period of address signal is enabled until 475c45a11bSKrzysztof Kozlowski chip select is enabled. 485c45a11bSKrzysztof Kozlowski default: 0 495c45a11bSKrzysztof Kozlowski 505c45a11bSKrzysztof Kozlowski wr-active: 515c45a11bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 525c45a11bSKrzysztof Kozlowski description: 535c45a11bSKrzysztof Kozlowski Clock cycles for the active period of CS is enabled. 545c45a11bSKrzysztof Kozlowski default: 1 555c45a11bSKrzysztof Kozlowski 565c45a11bSKrzysztof Kozlowski wr-hold: 575c45a11bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 585c45a11bSKrzysztof Kozlowski description: 595c45a11bSKrzysztof Kozlowski Clock cycles for the active period of CS is disabled until write 605c45a11bSKrzysztof Kozlowski signal is disabled. 615c45a11bSKrzysztof Kozlowski default: 0 625c45a11bSKrzysztof Kozlowski 635c45a11bSKrzysztof Kozlowski wr-setup: 645c45a11bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 655c45a11bSKrzysztof Kozlowski description: 665c45a11bSKrzysztof Kozlowski Clock cycles for the active period of CS signal is enabled until 675c45a11bSKrzysztof Kozlowski write signal is enabled. 685c45a11bSKrzysztof Kozlowski default: 0 695c45a11bSKrzysztof Kozlowski 705c45a11bSKrzysztof Kozlowski interrupts: 715c45a11bSKrzysztof Kozlowski items: 725c45a11bSKrzysztof Kozlowski - description: FIFO level 735c45a11bSKrzysztof Kozlowski - description: VSYNC 745c45a11bSKrzysztof Kozlowski - description: LCD system 755c45a11bSKrzysztof Kozlowski 765c45a11bSKrzysztof Kozlowski interrupt-names: 775c45a11bSKrzysztof Kozlowski items: 785c45a11bSKrzysztof Kozlowski - const: fifo 795c45a11bSKrzysztof Kozlowski - const: vsync 805c45a11bSKrzysztof Kozlowski - const: lcd_sys 815c45a11bSKrzysztof Kozlowski 825c45a11bSKrzysztof Kozlowski power-domains: 835c45a11bSKrzysztof Kozlowski maxItems: 1 845c45a11bSKrzysztof Kozlowski 855c45a11bSKrzysztof Kozlowski reg: 865c45a11bSKrzysztof Kozlowski maxItems: 1 875c45a11bSKrzysztof Kozlowski 885c45a11bSKrzysztof Kozlowskirequired: 895c45a11bSKrzysztof Kozlowski - compatible 905c45a11bSKrzysztof Kozlowski - clocks 915c45a11bSKrzysztof Kozlowski - clock-names 925c45a11bSKrzysztof Kozlowski - interrupts 935c45a11bSKrzysztof Kozlowski - interrupt-names 945c45a11bSKrzysztof Kozlowski - reg 955c45a11bSKrzysztof Kozlowski 965c45a11bSKrzysztof KozlowskiadditionalProperties: false 975c45a11bSKrzysztof Kozlowski 985c45a11bSKrzysztof Kozlowskiexamples: 995c45a11bSKrzysztof Kozlowski - | 1005c45a11bSKrzysztof Kozlowski #include <dt-bindings/clock/exynos7-clk.h> 1015c45a11bSKrzysztof Kozlowski #include <dt-bindings/interrupt-controller/arm-gic.h> 1025c45a11bSKrzysztof Kozlowski 1035c45a11bSKrzysztof Kozlowski display-controller@13930000 { 1045c45a11bSKrzysztof Kozlowski compatible = "samsung,exynos7-decon"; 1055c45a11bSKrzysztof Kozlowski reg = <0x13930000 0x1000>; 1065c45a11bSKrzysztof Kozlowski interrupt-names = "fifo", "vsync", "lcd_sys"; 1075c45a11bSKrzysztof Kozlowski interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 1085c45a11bSKrzysztof Kozlowski <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 1095c45a11bSKrzysztof Kozlowski <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; 1105c45a11bSKrzysztof Kozlowski clocks = <&clock_disp 100>, /* PCLK_DECON_INT */ 1115c45a11bSKrzysztof Kozlowski <&clock_disp 101>, /* ACLK_DECON_INT */ 1125c45a11bSKrzysztof Kozlowski <&clock_disp 102>, /* SCLK_DECON_INT_ECLK */ 1135c45a11bSKrzysztof Kozlowski <&clock_disp 103>; /* SCLK_DECON_INT_EXTCLKPLL */ 1145c45a11bSKrzysztof Kozlowski clock-names = "pclk_decon0", 1155c45a11bSKrzysztof Kozlowski "aclk_decon0", 1165c45a11bSKrzysztof Kozlowski "decon0_eclk", 1175c45a11bSKrzysztof Kozlowski "decon0_vclk"; 1185c45a11bSKrzysztof Kozlowski pinctrl-0 = <&lcd_clk &pwm1_out>; 1195c45a11bSKrzysztof Kozlowski pinctrl-names = "default"; 1205c45a11bSKrzysztof Kozlowski }; 121