Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Qualcomm adreno/snapdragon GPU
2
3Required properties:
4- compatible: "qcom,adreno-XYZ.W", "qcom,adreno"
5 for example: "qcom,adreno-306.0", "qcom,adreno"
6 Note that you need to list the less specific "qcom,adreno" (since this
7 is what the device is matched on), in addition to the more specific
8 with the chip-id.
9- reg: Physical base address and length of the controller's registers.
10- interrupts: The interrupt signal from the gpu.
11- clocks: device clocks
12 See ../clocks/clock-bindings.txt for details.
13- clock-names: the following clocks are required:
14 * "core"
15 * "iface"
16 * "mem_iface"
17
18Example:
19
20/ {
21 ...
22
23 gpu: qcom,kgsl-3d0@4300000 {
24 compatible = "qcom,adreno-320.2", "qcom,adreno";
25 reg = <0x04300000 0x20000>;
26 reg-names = "kgsl_3d0_reg_memory";
27 interrupts = <GIC_SPI 80 0>;
28 interrupt-names = "kgsl_3d0_irq";
29 clock-names =
30 "core",
31 "iface",
32 "mem_iface";
33 clocks =
34 <&mmcc GFX3D_CLK>,
35 <&mmcc GFX3D_AHB_CLK>,
36 <&mmcc MMSS_IMEM_AHB_CLK>;
37 };
38};