Skip to content

Commit e88b69a

Browse files
authored
Merge pull request #1524 from DigitalDreamtimeLtd/rpi-4.4.y-dma
Pull upstream dma backport into rpi 4.4.y
2 parents ce9347a + f241592 commit e88b69a

File tree

3 files changed

+524
-314
lines changed

3 files changed

+524
-314
lines changed

arch/arm/boot/dts/bcm2708_common.dtsi

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,32 @@
5656
<1 24>,
5757
<1 25>,
5858
<1 26>,
59-
<1 27>;
59+
/* dma channel 11-14 share one irq */
60+
<1 27>,
61+
<1 27>,
62+
<1 27>,
63+
<1 27>,
64+
/* unused shared irq for all channels */
65+
<1 28>;
66+
interrupt-names = "dma0",
67+
"dma1",
68+
"dma2",
69+
"dma3",
70+
"dma4",
71+
"dma5",
72+
"dma6",
73+
"dma7",
74+
"dma8",
75+
"dma9",
76+
"dma10",
77+
"dma11",
78+
"dma12",
79+
"dma13",
80+
"dma14",
81+
"dma-shared-all";
6082

6183
#dma-cells = <1>;
62-
brcm,dma-channel-mask = <0x0f35>;
84+
brcm,dma-channel-mask = <0x7f34>;
6385
};
6486

6587
intc: interrupt-controller@7e00b200 {

arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,13 @@
119119
};
120120
};
121121

122+
fragment@15 {
123+
target-path = "/soc/dma";
124+
__overlay__ {
125+
brcm,dma-channel-mask = <0x7f35>;
126+
};
127+
};
128+
122129
__overrides__ {
123130
cma-256 = <0>,"+0-1-2-3-4";
124131
cma-192 = <0>,"-0+1-2-3-4";

0 commit comments

Comments
 (0)