1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-frontend.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Allwinner A10 Display Engine Frontend 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotdescription: | 14c66ec88fSEmmanuel Vadot The display engine frontend does formats conversion, scaling, 15c66ec88fSEmmanuel Vadot deinterlacing and color space conversion. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadotproperties: 18c66ec88fSEmmanuel Vadot compatible: 19c66ec88fSEmmanuel Vadot enum: 20c66ec88fSEmmanuel Vadot - allwinner,sun4i-a10-display-frontend 21c66ec88fSEmmanuel Vadot - allwinner,sun5i-a13-display-frontend 22c66ec88fSEmmanuel Vadot - allwinner,sun6i-a31-display-frontend 23c66ec88fSEmmanuel Vadot - allwinner,sun7i-a20-display-frontend 24c66ec88fSEmmanuel Vadot - allwinner,sun8i-a23-display-frontend 25c66ec88fSEmmanuel Vadot - allwinner,sun8i-a33-display-frontend 26c66ec88fSEmmanuel Vadot - allwinner,sun9i-a80-display-frontend 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot reg: 29c66ec88fSEmmanuel Vadot maxItems: 1 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot interrupts: 32c66ec88fSEmmanuel Vadot maxItems: 1 33c66ec88fSEmmanuel Vadot 34c66ec88fSEmmanuel Vadot clocks: 35c66ec88fSEmmanuel Vadot items: 36c66ec88fSEmmanuel Vadot - description: The frontend interface clock 37c66ec88fSEmmanuel Vadot - description: The frontend module clock 38c66ec88fSEmmanuel Vadot - description: The frontend DRAM clock 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot clock-names: 41c66ec88fSEmmanuel Vadot items: 42c66ec88fSEmmanuel Vadot - const: ahb 43c66ec88fSEmmanuel Vadot - const: mod 44c66ec88fSEmmanuel Vadot - const: ram 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot # FIXME: This should be made required eventually once every SoC will 47c66ec88fSEmmanuel Vadot # have the MBUS declared. 48c66ec88fSEmmanuel Vadot interconnects: 49c66ec88fSEmmanuel Vadot maxItems: 1 50c66ec88fSEmmanuel Vadot 51c66ec88fSEmmanuel Vadot # FIXME: This should be made required eventually once every SoC will 52c66ec88fSEmmanuel Vadot # have the MBUS declared. 53c66ec88fSEmmanuel Vadot interconnect-names: 54c66ec88fSEmmanuel Vadot const: dma-mem 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadot resets: 57c66ec88fSEmmanuel Vadot maxItems: 1 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot ports: 605def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel Vadot properties: 63c66ec88fSEmmanuel Vadot port@0: 645def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 65c66ec88fSEmmanuel Vadot description: | 66c66ec88fSEmmanuel Vadot Input endpoints of the controller. 67c66ec88fSEmmanuel Vadot 68c66ec88fSEmmanuel Vadot port@1: 695def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 70c66ec88fSEmmanuel Vadot description: | 71c66ec88fSEmmanuel Vadot Output endpoints of the controller. 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot required: 74c66ec88fSEmmanuel Vadot - port@1 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadotrequired: 77c66ec88fSEmmanuel Vadot - compatible 78c66ec88fSEmmanuel Vadot - reg 79c66ec88fSEmmanuel Vadot - interrupts 80c66ec88fSEmmanuel Vadot - clocks 81c66ec88fSEmmanuel Vadot - clock-names 82c66ec88fSEmmanuel Vadot - resets 83c66ec88fSEmmanuel Vadot - ports 84c66ec88fSEmmanuel Vadot 85c66ec88fSEmmanuel VadotadditionalProperties: false 86c66ec88fSEmmanuel Vadot 87c66ec88fSEmmanuel Vadotexamples: 88c66ec88fSEmmanuel Vadot - | 89c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/sun4i-a10-ccu.h> 90c66ec88fSEmmanuel Vadot #include <dt-bindings/reset/sun4i-a10-ccu.h> 91c66ec88fSEmmanuel Vadot 92c66ec88fSEmmanuel Vadot fe0: display-frontend@1e00000 { 93c66ec88fSEmmanuel Vadot compatible = "allwinner,sun4i-a10-display-frontend"; 94c66ec88fSEmmanuel Vadot reg = <0x01e00000 0x20000>; 95c66ec88fSEmmanuel Vadot interrupts = <47>; 96c66ec88fSEmmanuel Vadot clocks = <&ccu CLK_AHB_DE_FE0>, <&ccu CLK_DE_FE0>, 97c66ec88fSEmmanuel Vadot <&ccu CLK_DRAM_DE_FE0>; 98c66ec88fSEmmanuel Vadot clock-names = "ahb", "mod", 99c66ec88fSEmmanuel Vadot "ram"; 100c66ec88fSEmmanuel Vadot resets = <&ccu RST_DE_FE0>; 101c66ec88fSEmmanuel Vadot 102c66ec88fSEmmanuel Vadot ports { 103c66ec88fSEmmanuel Vadot #address-cells = <1>; 104c66ec88fSEmmanuel Vadot #size-cells = <0>; 105c66ec88fSEmmanuel Vadot 106c66ec88fSEmmanuel Vadot fe0_out: port@1 { 107c66ec88fSEmmanuel Vadot #address-cells = <1>; 108c66ec88fSEmmanuel Vadot #size-cells = <0>; 109c66ec88fSEmmanuel Vadot reg = <1>; 110c66ec88fSEmmanuel Vadot 111c66ec88fSEmmanuel Vadot fe0_out_be0: endpoint@0 { 112c66ec88fSEmmanuel Vadot reg = <0>; 113c66ec88fSEmmanuel Vadot remote-endpoint = <&be0_in_fe0>; 114c66ec88fSEmmanuel Vadot }; 115c66ec88fSEmmanuel Vadot 116c66ec88fSEmmanuel Vadot fe0_out_be1: endpoint@1 { 117c66ec88fSEmmanuel Vadot reg = <1>; 118c66ec88fSEmmanuel Vadot remote-endpoint = <&be1_in_fe0>; 119c66ec88fSEmmanuel Vadot }; 120c66ec88fSEmmanuel Vadot }; 121c66ec88fSEmmanuel Vadot }; 122c66ec88fSEmmanuel Vadot }; 123c66ec88fSEmmanuel Vadot 124c66ec88fSEmmanuel Vadot 125c66ec88fSEmmanuel Vadot... 126