brintos

brintos / linux-shallow public Read only

0
0
Text · 2.6 KiB · 193afee Raw
121 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/display/allwinner,sun9i-a80-deu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A80 Detail Enhancement Unit8 9maintainers:10  - Chen-Yu Tsai <wens@csie.org>11  - Maxime Ripard <mripard@kernel.org>12 13description: |14  The DEU (Detail Enhancement Unit), found in the Allwinner A80 SoC,15  can sharpen the display content in both luma and chroma channels.16 17properties:18  compatible:19    const: allwinner,sun9i-a80-deu20 21  reg:22    maxItems: 123 24  interrupts:25    maxItems: 126 27  clocks:28    items:29      - description: The DEU interface clock30      - description: The DEU module clock31      - description: The DEU DRAM clock32 33  clock-names:34    items:35      - const: ahb36      - const: mod37      - const: ram38 39  resets:40    maxItems: 141 42  ports:43    $ref: /schemas/graph.yaml#/properties/ports44 45    properties:46      port@0:47        $ref: /schemas/graph.yaml#/properties/port48        description: |49          Input endpoints of the controller.50 51      port@1:52        $ref: /schemas/graph.yaml#/properties/port53        description: |54          Output endpoints of the controller.55 56    required:57      - port@058      - port@159 60required:61  - compatible62  - reg63  - interrupts64  - clocks65  - clock-names66  - resets67  - ports68 69additionalProperties: false70 71examples:72  - |73    #include <dt-bindings/interrupt-controller/arm-gic.h>74 75    #include <dt-bindings/clock/sun9i-a80-de.h>76    #include <dt-bindings/reset/sun9i-a80-de.h>77 78    deu0: deu@3300000 {79        compatible = "allwinner,sun9i-a80-deu";80        reg = <0x03300000 0x40000>;81        interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;82        clocks = <&de_clocks CLK_BUS_DEU0>,83                 <&de_clocks CLK_IEP_DEU0>,84                 <&de_clocks CLK_DRAM_DEU0>;85        clock-names = "ahb",86                      "mod",87                      "ram";88        resets = <&de_clocks RST_DEU0>;89 90        ports {91            #address-cells = <1>;92            #size-cells = <0>;93 94            deu0_in: port@0 {95                reg = <0>;96 97                deu0_in_fe0: endpoint {98                    remote-endpoint = <&fe0_out_deu0>;99                };100            };101 102            deu0_out: port@1 {103                #address-cells = <1>;104                #size-cells = <0>;105                reg = <1>;106 107                deu0_out_be0: endpoint@0 {108                    reg = <0>;109                    remote-endpoint = <&be0_in_deu0>;110                };111 112                deu0_out_be1: endpoint@1 {113                    reg = <1>;114                    remote-endpoint = <&be1_in_deu0>;115                };116            };117        };118    };119 120...121