Merge remote-tracking branches 'asoc/topic/mtk', 'asoc/topic/nau8540', 'asoc/topic...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / display / etnaviv / etnaviv-drm.txt
1 Etnaviv DRM master device
2 =========================
3
4 The Etnaviv DRM master device is a virtual device needed to list all
5 Vivante GPU cores that comprise the GPU subsystem.
6
7 Required properties:
8 - compatible: Should be one of
9     "fsl,imx-gpu-subsystem"
10     "marvell,dove-gpu-subsystem"
11 - cores: Should contain a list of phandles pointing to Vivante GPU devices
12
13 example:
14
15 gpu-subsystem {
16         compatible = "fsl,imx-gpu-subsystem";
17         cores = <&gpu_2d>, <&gpu_3d>;
18 };
19
20
21 Vivante GPU core devices
22 ========================
23
24 Required properties:
25 - compatible: Should be "vivante,gc"
26   A more specific compatible is not needed, as the cores contain chip
27   identification registers at fixed locations, which provide all the
28   necessary information to the driver.
29 - reg: should be register base and length as documented in the
30   datasheet
31 - interrupts: Should contain the cores interrupt line
32 - clocks: should contain one clock for entry in clock-names
33   see Documentation/devicetree/bindings/clock/clock-bindings.txt
34 - clock-names:
35    - "bus":    AXI/register clock
36    - "core":   GPU core clock
37    - "shader": Shader clock (only required if GPU has feature PIPE_3D)
38
39 Optional properties:
40 - power-domains: a power domain consumer specifier according to
41   Documentation/devicetree/bindings/power/power_domain.txt
42
43 example:
44
45 gpu_3d: gpu@130000 {
46         compatible = "vivante,gc";
47         reg = <0x00130000 0x4000>;
48         interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
49         clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>,
50                  <&clks IMX6QDL_CLK_GPU3D_CORE>,
51                  <&clks IMX6QDL_CLK_GPU3D_SHADER>;
52         clock-names = "bus", "core", "shader";
53         power-domains = <&gpc 1>;
54 };