Imagination Technologies PowerVR and IMG Rogue GPUs
Schema identifier ($id): "http://devicetree.org/schemas/gpu/img,powervr-rogue.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Binns <frank.binns@imgtec.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r8a7796-gpu","renesas,r8a77961-gpu"Item 2
Exact value (
const):"img,img-gx6250"Item 3
Exact value (
const):"img,img-rogue"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r8a77965-gpu","renesas,r8a779a0-gpu"Item 2
Exact value (
const):"img,img-ge7800"Item 3
Exact value (
const):"img,img-rogue"
Rule 3
Array item rules (
items)Item 1
Item 2
Exact value (
const):"img,img-axe-1-16m"Item 3
Exact value (
const):"img,img-axe"Item 4
Exact value (
const):"img,img-rogue"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"img,img-bxm-4-64"Item 3
Exact value (
const):"img,img-rogue"
Rule 5
Array item rules (
items)Item 1
Item 2
Exact value (
const):"img,img-bxs-4-64"Item 3
Exact value (
const):"img,img-rogue"
Rule 6
Array item rules (
items)Item 1
Item 2
Exact value (
const):"img,img-axe"Deprecated (
deprecated):true
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"mem"
Item 3
Exact value (
const):"sys"
Minimum number of items (minItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domain-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"a"
Item 2
Exact value (
const):"b"
Minimum number of items (minItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"ti,am62-gpu","ti,am62p-gpu","ti,j721s2-gpu"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"img,img-ge7800","img,img-gx6250","thead,th1520-gpu"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"img,img-axe-1-16m"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— required hereMaximum number of items (
maxItems):1
power-domain-names— required hereMaximum number of items (
maxItems):1Required in this object (
required):"power-domains","power-domain-names"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"img,img-bxs-4-64","img,img-ge7800","img,img-gx6250"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— required hereMinimum number of items (
minItems):2
power-domain-names— required hereMinimum number of items (
minItems):2Required in this object (
required):"power-domains","power-domain-names"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"thead,th1520-gpu"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— required hereArray item rules (
items)Item 1
The single, unified power domain for the GPU on the TH1520 SoC, integrating all internal IP power domains.
power-domain-names— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/ti,sci_pm_domain.h>
gpu@fd00000 {
compatible = "ti,am62-gpu", "img,img-axe-1-16m", "img,img-axe",
"img,img-rogue";
reg = <0x0fd00000 0x20000>;
clocks = <&k3_clks 187 0>;
clock-names = "core";
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>;
power-domain-names = "a";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2023 Imagination Technologies Ltd.
Line 32: This deprecated element must be kept around to allow old kernels to
Line 33: work with newer dts.
Line 48: This legacy combination of compatible strings was introduced early on
Line 49: before the more specific GPU identifiers were used.