Skip to content

Commit 505af91

Browse files
Sugar Zhangmmind
authored andcommitted
arm64: dts: rockchip: Add 'arm,pl330-periph-burst' for dmac
This patch Add the quirk to specify to use burst transfer for better compatible and higher performance. Signed-off-by: Sugar Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent e7e46a1 commit 505af91

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

arch/arm64/boot/dts/rockchip/px30.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@
714714
reg = <0x0 0xff240000 0x0 0x4000>;
715715
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
716716
<GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
717+
arm,pl330-periph-burst;
717718
clocks = <&cru ACLK_DMAC>;
718719
clock-names = "apb_pclk";
719720
#dma-cells = <1>;

arch/arm64/boot/dts/rockchip/rk3308.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@
524524
reg = <0x0 0xff2c0000 0x0 0x4000>;
525525
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
526526
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
527+
arm,pl330-periph-burst;
527528
clocks = <&cru ACLK_DMAC0>;
528529
clock-names = "apb_pclk";
529530
#dma-cells = <1>;
@@ -534,6 +535,7 @@
534535
reg = <0x0 0xff2d0000 0x0 0x4000>;
535536
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
536537
<GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
538+
arm,pl330-periph-burst;
537539
clocks = <&cru ACLK_DMAC1>;
538540
clock-names = "apb_pclk";
539541
#dma-cells = <1>;

arch/arm64/boot/dts/rockchip/rk3328.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
reg = <0x0 0xff1f0000 0x0 0x4000>;
154154
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
155155
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
156+
arm,pl330-periph-burst;
156157
clocks = <&cru ACLK_DMAC>;
157158
clock-names = "apb_pclk";
158159
#dma-cells = <1>;

arch/arm64/boot/dts/rockchip/rk3368.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
<GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
150150
#dma-cells = <1>;
151151
arm,pl330-broken-no-flushp;
152+
arm,pl330-periph-burst;
152153
clocks = <&cru ACLK_DMAC_PERI>;
153154
clock-names = "apb_pclk";
154155
};
@@ -160,6 +161,7 @@
160161
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
161162
#dma-cells = <1>;
162163
arm,pl330-broken-no-flushp;
164+
arm,pl330-periph-burst;
163165
clocks = <&cru ACLK_DMAC_BUS>;
164166
clock-names = "apb_pclk";
165167
};

arch/arm64/boot/dts/rockchip/rk3399.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@
209209
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH 0>,
210210
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH 0>;
211211
#dma-cells = <1>;
212+
arm,pl330-periph-burst;
212213
clocks = <&cru ACLK_DMAC0_PERILP>;
213214
clock-names = "apb_pclk";
214215
};
@@ -219,6 +220,7 @@
219220
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH 0>,
220221
<GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH 0>;
221222
#dma-cells = <1>;
223+
arm,pl330-periph-burst;
222224
clocks = <&cru ACLK_DMAC1_PERILP>;
223225
clock-names = "apb_pclk";
224226
};

0 commit comments

Comments
 (0)