Vivante GPU

Schema identifier ($id): "http://devicetree.org/schemas/gpu/vivante,gc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Vivante GPU core devices

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "vivante,gc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#cooling-cells — not listed as required here #

Exact value (const): 2

assigned-clock-parents — not listed as required here #

true — No constraints added by this property rule.

assigned-clock-rates — not listed as required here #

true — No constraints added by this property rule.

assigned-clocks — not listed as required here #

true — No constraints added by this property rule.

clocks — required here #

Array item rules (items) #

Item 1

AXI/master interface clock

Item 2

GPU core clock

Item 3

Shader clock (only required if GPU has feature PIPE_3D)

Item 4

AHB/slave interface clock (only required if GPU can gate slave interface independently)

Minimum number of items (minItems): 1

clock-names — required here #

Array item rules (items) #

Allowed values (enum): "bus", "core", "shader", "reg"

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

resets — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
gpu@130000 {
  compatible = "vivante,gc";
  reg = <0x00130000 0x4000>;
  interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>,
           <&clks IMX6QDL_CLK_GPU3D_CORE>,
           <&clks IMX6QDL_CLK_GPU3D_SHADER>;
  clock-names = "bus", "core", "shader";
  power-domains = <&gpc 1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page