Merge tag 'tags/bcm2835-defconfig-next-2018-11-27' into defconfig/next
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / display / msm / gpu.txt
1 Qualcomm adreno/snapdragon GPU
2
3 Required properties:
4 - compatible: "qcom,adreno-XYZ.W", "qcom,adreno" or
5               "amd,imageon-XYZ.W", "amd,imageon"
6     for example: "qcom,adreno-306.0", "qcom,adreno"
7   Note that you need to list the less specific "qcom,adreno" (since this
8   is what the device is matched on), in addition to the more specific
9   with the chip-id.
10   If "amd,imageon" is used, there should be no top level msm device.
11 - reg: Physical base address and length of the controller's registers.
12 - interrupts: The interrupt signal from the gpu.
13 - clocks: device clocks
14   See ../clocks/clock-bindings.txt for details.
15 - clock-names: the following clocks are required:
16   * "core"
17   * "iface"
18   * "mem_iface"
19
20 Example:
21
22 / {
23         ...
24
25         gpu: qcom,kgsl-3d0@4300000 {
26                 compatible = "qcom,adreno-320.2", "qcom,adreno";
27                 reg = <0x04300000 0x20000>;
28                 reg-names = "kgsl_3d0_reg_memory";
29                 interrupts = <GIC_SPI 80 0>;
30                 interrupt-names = "kgsl_3d0_irq";
31                 clock-names =
32                     "core",
33                     "iface",
34                     "mem_iface";
35                 clocks =
36                     <&mmcc GFX3D_CLK>,
37                     <&mmcc GFX3D_AHB_CLK>,
38                     <&mmcc MMSS_IMEM_AHB_CLK>;
39         };
40 };