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 maxItems: 4 265c45a11bSKrzysztof Kozlowski 275c45a11bSKrzysztof Kozlowski clock-names: 285c45a11bSKrzysztof Kozlowski items: 295c45a11bSKrzysztof Kozlowski - const: pclk_decon0 305c45a11bSKrzysztof Kozlowski - const: aclk_decon0 315c45a11bSKrzysztof Kozlowski - const: decon0_eclk 325c45a11bSKrzysztof Kozlowski - const: decon0_vclk 335c45a11bSKrzysztof Kozlowski 345c45a11bSKrzysztof Kozlowski display-timings: 355c45a11bSKrzysztof Kozlowski $ref: ../panel/display-timings.yaml# 365c45a11bSKrzysztof Kozlowski 375c45a11bSKrzysztof Kozlowski i80-if-timings: 385c45a11bSKrzysztof Kozlowski type: object 39*ba007062SRob Herring additionalProperties: false 405c45a11bSKrzysztof Kozlowski description: timing configuration for lcd i80 interface support 415c45a11bSKrzysztof Kozlowski properties: 425c45a11bSKrzysztof Kozlowski cs-setup: 435c45a11bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 445c45a11bSKrzysztof Kozlowski description: 455c45a11bSKrzysztof Kozlowski Clock cycles for the active period of address signal is enabled until 465c45a11bSKrzysztof Kozlowski chip select is enabled. 475c45a11bSKrzysztof Kozlowski default: 0 485c45a11bSKrzysztof Kozlowski 495c45a11bSKrzysztof Kozlowski wr-active: 505c45a11bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 515c45a11bSKrzysztof Kozlowski description: 525c45a11bSKrzysztof Kozlowski Clock cycles for the active period of CS is enabled. 535c45a11bSKrzysztof Kozlowski default: 1 545c45a11bSKrzysztof Kozlowski 555c45a11bSKrzysztof Kozlowski wr-hold: 565c45a11bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 575c45a11bSKrzysztof Kozlowski description: 585c45a11bSKrzysztof Kozlowski Clock cycles for the active period of CS is disabled until write 595c45a11bSKrzysztof Kozlowski signal is disabled. 605c45a11bSKrzysztof Kozlowski default: 0 615c45a11bSKrzysztof Kozlowski 625c45a11bSKrzysztof Kozlowski wr-setup: 635c45a11bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 645c45a11bSKrzysztof Kozlowski description: 655c45a11bSKrzysztof Kozlowski Clock cycles for the active period of CS signal is enabled until 665c45a11bSKrzysztof Kozlowski write signal is enabled. 675c45a11bSKrzysztof Kozlowski default: 0 685c45a11bSKrzysztof Kozlowski 695c45a11bSKrzysztof Kozlowski interrupts: 705c45a11bSKrzysztof Kozlowski items: 715c45a11bSKrzysztof Kozlowski - description: FIFO level 725c45a11bSKrzysztof Kozlowski - description: VSYNC 735c45a11bSKrzysztof Kozlowski - description: LCD system 745c45a11bSKrzysztof Kozlowski 755c45a11bSKrzysztof Kozlowski interrupt-names: 765c45a11bSKrzysztof Kozlowski items: 775c45a11bSKrzysztof Kozlowski - const: fifo 785c45a11bSKrzysztof Kozlowski - const: vsync 795c45a11bSKrzysztof Kozlowski - const: lcd_sys 805c45a11bSKrzysztof Kozlowski 815c45a11bSKrzysztof Kozlowski power-domains: 825c45a11bSKrzysztof Kozlowski maxItems: 1 835c45a11bSKrzysztof Kozlowski 845c45a11bSKrzysztof Kozlowski reg: 855c45a11bSKrzysztof Kozlowski maxItems: 1 865c45a11bSKrzysztof Kozlowski 875c45a11bSKrzysztof Kozlowskirequired: 885c45a11bSKrzysztof Kozlowski - compatible 895c45a11bSKrzysztof Kozlowski - clocks 905c45a11bSKrzysztof Kozlowski - clock-names 915c45a11bSKrzysztof Kozlowski - interrupts 925c45a11bSKrzysztof Kozlowski - interrupt-names 935c45a11bSKrzysztof Kozlowski - reg 945c45a11bSKrzysztof Kozlowski 955c45a11bSKrzysztof KozlowskiadditionalProperties: false 965c45a11bSKrzysztof Kozlowski 975c45a11bSKrzysztof Kozlowskiexamples: 985c45a11bSKrzysztof Kozlowski - | 995c45a11bSKrzysztof Kozlowski #include <dt-bindings/clock/exynos7-clk.h> 1005c45a11bSKrzysztof Kozlowski #include <dt-bindings/interrupt-controller/arm-gic.h> 1015c45a11bSKrzysztof Kozlowski 1025c45a11bSKrzysztof Kozlowski display-controller@13930000 { 1035c45a11bSKrzysztof Kozlowski compatible = "samsung,exynos7-decon"; 1045c45a11bSKrzysztof Kozlowski reg = <0x13930000 0x1000>; 1055c45a11bSKrzysztof Kozlowski interrupt-names = "fifo", "vsync", "lcd_sys"; 1065c45a11bSKrzysztof Kozlowski interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 1075c45a11bSKrzysztof Kozlowski <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 1085c45a11bSKrzysztof Kozlowski <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; 1095c45a11bSKrzysztof Kozlowski clocks = <&clock_disp 100>, /* PCLK_DECON_INT */ 1105c45a11bSKrzysztof Kozlowski <&clock_disp 101>, /* ACLK_DECON_INT */ 1115c45a11bSKrzysztof Kozlowski <&clock_disp 102>, /* SCLK_DECON_INT_ECLK */ 1125c45a11bSKrzysztof Kozlowski <&clock_disp 103>; /* SCLK_DECON_INT_EXTCLKPLL */ 1135c45a11bSKrzysztof Kozlowski clock-names = "pclk_decon0", 1145c45a11bSKrzysztof Kozlowski "aclk_decon0", 1155c45a11bSKrzysztof Kozlowski "decon0_eclk", 1165c45a11bSKrzysztof Kozlowski "decon0_vclk"; 1175c45a11bSKrzysztof Kozlowski pinctrl-0 = <&lcd_clk &pwm1_out>; 1185c45a11bSKrzysztof Kozlowski pinctrl-names = "default"; 1195c45a11bSKrzysztof Kozlowski }; 120