FILE
img,powervr-rogue.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2# Copyright (c) 2023 Imagination Technologies Ltd. 3%YAML 1.2 4--- 5$id: http://devicetree.org/schemas/gpu/img,powervr-rogue.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: Imagination Technologies PowerVR and IMG Rogue GPUs 9 10maintainers: 11 - Frank Binns <frank.binns@imgtec.com> 12 13properties: 14 compatible: 15 oneOf: 16 - items: 17 - enum: 18 - renesas,r8a7796-gpu 19 - renesas,r8a77961-gpu 20 - const: img,img-gx6250 21 - const: img,img-rogue 22 - items: 23 - enum: 24 - renesas,r8a77965-gpu 25 - renesas,r8a779a0-gpu 26 - const: img,img-ge7800 27 - const: img,img-rogue 28 - items: 29 - enum: 30 - ti,am62-gpu 31 - const: img,img-axe-1-16m 32 # This deprecated element must be kept around to allow old kernels to 33 # work with newer dts. 34 - const: img,img-axe 35 - const: img,img-rogue 36 - items: 37 - enum: 38 - thead,th1520-gpu 39 - const: img,img-bxm-4-64 40 - const: img,img-rogue 41 - items: 42 - enum: 43 - ti,j721s2-gpu 44 - const: img,img-bxs-4-64 45 - const: img,img-rogue 46 47 # This legacy combination of compatible strings was introduced early on 48 # before the more specific GPU identifiers were used. 49 - items: 50 - enum: 51 - ti,am62-gpu 52 - const: img,img-axe 53 deprecated: true 54 55 reg: 56 maxItems: 1 57 58 clocks: 59 minItems: 1 60 maxItems: 3 61 62 clock-names: 63 items: 64 - const: core 65 - const: mem 66 - const: sys 67 minItems: 1 68 69 interrupts: 70 maxItems: 1 71 72 power-domains: 73 minItems: 1 74 maxItems: 2 75 76 power-domain-names: 77 items: 78 - const: a 79 - const: b 80 minItems: 1 81 82 dma-coherent: true 83 84 resets: 85 maxItems: 1 86 87required: 88 - compatible 89 - reg 90 - clocks 91 - clock-names 92 - interrupts 93 94additionalProperties: false 95 96allOf: 97 - if: 98 properties: 99 compatible: 100 contains: 101 enum: 102 - ti,am62-gpu 103 - ti,j721s2-gpu 104 then: 105 properties: 106 clocks: 107 maxItems: 1 108 109 - if: 110 properties: 111 compatible: 112 contains: 113 enum: 114 - img,img-ge7800 115 - img,img-gx6250 116 - thead,th1520-gpu 117 then: 118 properties: 119 clocks: 120 minItems: 3 121 clock-names: 122 minItems: 3 123 124 - if: 125 properties: 126 compatible: 127 contains: 128 const: img,img-axe-1-16m 129 then: 130 properties: 131 power-domains: 132 maxItems: 1 133 power-domain-names: 134 maxItems: 1 135 required: 136 - power-domains 137 - power-domain-names 138 139 - if: 140 properties: 141 compatible: 142 contains: 143 enum: 144 - img,img-bxs-4-64 145 - img,img-ge7800 146 - img,img-gx6250 147 then: 148 properties: 149 power-domains: 150 minItems: 2 151 power-domain-names: 152 minItems: 2 153 required: 154 - power-domains 155 - power-domain-names 156 157 - if: 158 properties: 159 compatible: 160 contains: 161 const: thead,th1520-gpu 162 then: 163 properties: 164 power-domains: 165 items: 166 - description: The single, unified power domain for the GPU on the 167 TH1520 SoC, integrating all internal IP power domains. 168 power-domain-names: false 169 required: 170 - power-domains 171 172examples: 173 - | 174 #include <dt-bindings/interrupt-controller/irq.h> 175 #include <dt-bindings/interrupt-controller/arm-gic.h> 176 #include <dt-bindings/soc/ti,sci_pm_domain.h> 177 178 gpu@fd00000 { 179 compatible = "ti,am62-gpu", "img,img-axe-1-16m", "img,img-axe", 180 "img,img-rogue"; 181 reg = <0x0fd00000 0x20000>; 182 clocks = <&k3_clks 187 0>; 183 clock-names = "core"; 184 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 185 power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>; 186 power-domain-names = "a"; 187 };
~/
Read-only file preview.