1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/teg 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-dc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: NVIDIA Tegra Display Controller 7 title: NVIDIA Tegra Display Controller 8 8 9 maintainers: 9 maintainers: 10 - Thierry Reding <thierry.reding@gmail.com> 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 12 13 properties: 13 properties: 14 $nodename: 14 $nodename: 15 pattern: "^dc@[0-9a-f]+$" 15 pattern: "^dc@[0-9a-f]+$" 16 16 17 compatible: 17 compatible: 18 oneOf: 18 oneOf: 19 - enum: 19 - enum: 20 - nvidia,tegra20-dc 20 - nvidia,tegra20-dc 21 - nvidia,tegra30-dc 21 - nvidia,tegra30-dc 22 - nvidia,tegra114-dc 22 - nvidia,tegra114-dc 23 - nvidia,tegra124-dc 23 - nvidia,tegra124-dc 24 - nvidia,tegra210-dc 24 - nvidia,tegra210-dc 25 25 26 - items: 26 - items: 27 - const: nvidia,tegra124-dc 27 - const: nvidia,tegra124-dc 28 - const: nvidia,tegra132-dc 28 - const: nvidia,tegra132-dc 29 29 30 reg: 30 reg: 31 maxItems: 1 31 maxItems: 1 32 32 33 interrupts: 33 interrupts: 34 maxItems: 1 34 maxItems: 1 35 35 36 clocks: 36 clocks: 37 minItems: 1 37 minItems: 1 38 items: 38 items: 39 - description: display controller pixel 39 - description: display controller pixel clock 40 - description: parent clock # optional 40 - description: parent clock # optional 41 41 42 clock-names: 42 clock-names: 43 minItems: 1 43 minItems: 1 44 items: 44 items: 45 - const: dc 45 - const: dc 46 - const: parent # optional 46 - const: parent # optional 47 47 48 resets: 48 resets: 49 items: 49 items: 50 - description: module reset 50 - description: module reset 51 51 52 reset-names: 52 reset-names: 53 items: 53 items: 54 - const: dc 54 - const: dc 55 55 56 interconnect-names: true 56 interconnect-names: true 57 interconnects: true 57 interconnects: true 58 58 59 iommus: 59 iommus: 60 maxItems: 1 60 maxItems: 1 61 61 62 operating-points-v2: true 62 operating-points-v2: true 63 63 64 power-domains: 64 power-domains: 65 items: 65 items: 66 - description: phandle to the core power 66 - description: phandle to the core power domain 67 67 68 memory-region: true 68 memory-region: true 69 69 70 nvidia,head: 70 nvidia,head: 71 $ref: /schemas/types.yaml#/definitions/uin 71 $ref: /schemas/types.yaml#/definitions/uint32 72 description: The number of the display con 72 description: The number of the display controller head. This is used to setup the various 73 types of output to receive video data fr 73 types of output to receive video data from the given head. 74 74 75 nvidia,outputs: 75 nvidia,outputs: 76 $ref: /schemas/types.yaml#/definitions/pha 76 $ref: /schemas/types.yaml#/definitions/phandle-array 77 description: A list of phandles of outputs 77 description: A list of phandles of outputs that this display controller can drive. 78 78 79 rgb: 79 rgb: 80 type: object 80 type: object 81 81 82 allOf: 82 allOf: 83 - if: 83 - if: 84 properties: 84 properties: 85 compatible: 85 compatible: 86 contains: 86 contains: 87 enum: 87 enum: 88 - nvidia,tegra20-dc 88 - nvidia,tegra20-dc 89 - nvidia,tegra30-dc 89 - nvidia,tegra30-dc 90 - nvidia,tegra114-dc 90 - nvidia,tegra114-dc 91 then: 91 then: 92 properties: 92 properties: 93 interconnects: 93 interconnects: 94 items: 94 items: 95 - description: window A memory cli 95 - description: window A memory client 96 - description: window B memory cli 96 - description: window B memory client 97 - description: window B memory cli 97 - description: window B memory client (vertical filter) 98 - description: window C memory cli 98 - description: window C memory client 99 - description: cursor memory clien 99 - description: cursor memory client 100 100 101 interconnect-names: 101 interconnect-names: 102 items: 102 items: 103 - const: wina 103 - const: wina 104 - const: winb 104 - const: winb 105 - const: winb-vfilter 105 - const: winb-vfilter 106 - const: winc 106 - const: winc 107 - const: cursor 107 - const: cursor 108 108 109 rgb: 109 rgb: 110 description: Each display controller 110 description: Each display controller node has a child node, named "rgb", that represents 111 the RGB output associated with the 111 the RGB output associated with the controller. 112 type: object 112 type: object 113 properties: 113 properties: 114 nvidia,ddc-i2c-bus: 114 nvidia,ddc-i2c-bus: 115 $ref: /schemas/types.yaml#/defin 115 $ref: /schemas/types.yaml#/definitions/phandle 116 description: phandle of an I2C c 116 description: phandle of an I2C controller used for DDC EDID probing 117 117 118 nvidia,hpd-gpio: 118 nvidia,hpd-gpio: 119 description: specifies a GPIO us 119 description: specifies a GPIO used for hotplug detection 120 maxItems: 1 120 maxItems: 1 121 121 122 nvidia,edid: 122 nvidia,edid: 123 $ref: /schemas/types.yaml#/defin 123 $ref: /schemas/types.yaml#/definitions/uint8-array 124 description: supplies a binary E 124 description: supplies a binary EDID blob 125 125 126 nvidia,panel: 126 nvidia,panel: 127 $ref: /schemas/types.yaml#/defin 127 $ref: /schemas/types.yaml#/definitions/phandle 128 description: phandle of a displa 128 description: phandle of a display panel 129 129 130 - if: 130 - if: 131 properties: 131 properties: 132 compatible: 132 compatible: 133 contains: 133 contains: 134 enum: 134 enum: 135 - nvidia,tegra124-dc 135 - nvidia,tegra124-dc 136 then: 136 then: 137 properties: 137 properties: 138 interconnects: 138 interconnects: 139 minItems: 4 139 minItems: 4 140 items: 140 items: 141 - description: window A memory cli 141 - description: window A memory client 142 - description: window B memory cli 142 - description: window B memory client 143 - description: window C memory cli 143 - description: window C memory client 144 - description: cursor memory clien 144 - description: cursor memory client 145 - description: window D memory cli 145 - description: window D memory client 146 - description: window T memory cli 146 - description: window T memory client 147 147 148 interconnect-names: 148 interconnect-names: 149 minItems: 4 149 minItems: 4 150 items: 150 items: 151 - const: wina 151 - const: wina 152 - const: winb 152 - const: winb 153 - const: winc 153 - const: winc 154 - const: cursor 154 - const: cursor 155 - const: wind 155 - const: wind 156 - const: wint 156 - const: wint 157 157 158 additionalProperties: false 158 additionalProperties: false 159 159 160 required: 160 required: 161 - compatible 161 - compatible 162 - reg 162 - reg 163 - interrupts 163 - interrupts 164 - clocks 164 - clocks 165 - clock-names 165 - clock-names 166 - resets 166 - resets 167 - reset-names 167 - reset-names 168 168 169 examples: 169 examples: 170 - | 170 - | 171 #include <dt-bindings/clock/tegra20-car.h> 171 #include <dt-bindings/clock/tegra20-car.h> 172 #include <dt-bindings/interrupt-controller 172 #include <dt-bindings/interrupt-controller/arm-gic.h> 173 173 174 dc@54200000 { 174 dc@54200000 { 175 compatible = "nvidia,tegra20-dc"; 175 compatible = "nvidia,tegra20-dc"; 176 reg = <0x54200000 0x00040000>; 176 reg = <0x54200000 0x00040000>; 177 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVE 177 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 178 clocks = <&tegra_car TEGRA20_CLK_DISP1 178 clocks = <&tegra_car TEGRA20_CLK_DISP1>; 179 clock-names = "dc"; 179 clock-names = "dc"; 180 resets = <&tegra_car 27>; 180 resets = <&tegra_car 27>; 181 reset-names = "dc"; 181 reset-names = "dc"; 182 }; 182 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.