FILE
allwinner,sun8i-a83t-de2-mixer.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-de2-mixer.yaml
1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/allwinner,sun8i-a83t-de2-mixer.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Allwinner Display Engine 2.0 Mixer 8 9maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 12 13properties: 14 compatible: 15 enum: 16 - allwinner,sun8i-a83t-de2-mixer-0 17 - allwinner,sun8i-a83t-de2-mixer-1 18 - allwinner,sun8i-h3-de2-mixer-0 19 - allwinner,sun8i-r40-de2-mixer-0 20 - allwinner,sun8i-r40-de2-mixer-1 21 - allwinner,sun8i-v3s-de2-mixer 22 - allwinner,sun20i-d1-de2-mixer-0 23 - allwinner,sun20i-d1-de2-mixer-1 24 - allwinner,sun50i-a64-de2-mixer-0 25 - allwinner,sun50i-a64-de2-mixer-1 26 - allwinner,sun50i-h6-de3-mixer-0 27 - allwinner,sun50i-h616-de33-mixer-0 28 29 reg: true 30 31 reg-names: true 32 33 clocks: 34 items: 35 - description: The mixer interface clock 36 - description: The mixer module clock 37 38 clock-names: 39 items: 40 - const: bus 41 - const: mod 42 43 iommus: 44 maxItems: 1 45 46 resets: 47 maxItems: 1 48 49 ports: 50 $ref: /schemas/graph.yaml#/properties/ports 51 52 properties: 53 port@0: 54 $ref: /schemas/graph.yaml#/properties/port 55 description: | 56 Input endpoints of the controller. 57 58 port@1: 59 $ref: /schemas/graph.yaml#/properties/port 60 description: | 61 Output endpoints of the controller. 62 63 required: 64 - port@1 65 66allOf: 67 - if: 68 properties: 69 compatible: 70 contains: 71 enum: 72 - allwinner,sun50i-h616-de33-mixer-0 73 then: 74 properties: 75 reg: 76 description: | 77 Registers for controlling individual layers of the display 78 engine (layers), global control (top), and display blending 79 control (display). Names are from Allwinner BSP kernel. 80 maxItems: 3 81 reg-names: 82 items: 83 - const: layers 84 - const: top 85 - const: display 86 required: 87 - reg-names 88 89 else: 90 properties: 91 reg: 92 maxItems: 1 93 94required: 95 - compatible 96 - reg 97 - clocks 98 - clock-names 99 - resets 100 - ports 101 102additionalProperties: false 103 104examples: 105 - | 106 #include <dt-bindings/clock/sun8i-de2.h> 107 #include <dt-bindings/reset/sun8i-de2.h> 108 109 mixer0: mixer@1100000 { 110 compatible = "allwinner,sun8i-a83t-de2-mixer-0"; 111 reg = <0x01100000 0x100000>; 112 clocks = <&display_clocks CLK_BUS_MIXER0>, 113 <&display_clocks CLK_MIXER0>; 114 clock-names = "bus", 115 "mod"; 116 resets = <&display_clocks RST_MIXER0>; 117 118 ports { 119 #address-cells = <1>; 120 #size-cells = <0>; 121 122 mixer0_out: port@1 { 123 #address-cells = <1>; 124 #size-cells = <0>; 125 reg = <1>; 126 127 mixer0_out_tcon0: endpoint@0 { 128 reg = <0>; 129 remote-endpoint = <&tcon0_in_mixer0>; 130 }; 131 132 mixer0_out_tcon1: endpoint@1 { 133 reg = <1>; 134 remote-endpoint = <&tcon1_in_mixer0>; 135 }; 136 }; 137 }; 138 }; 139 140...
~/
Read-only file preview.