提交 94bbdd77 编写于 作者: A Alexander Kochetkov 提交者: Heiko Stuebner

ARM: dts: rockchip: setup DMA-channels for mmc0 and emmc for rk3188

This commit enable DMA-based transfers for SD/eMMC card adapters
and reduce number of interrupts produced by SD-card/eMMC-card
adapters.

Sometimes interrupts from SD-card/eMMC-card adapters running in
PIO mode blocks execution of hrtimers and I2S DMA callbacks for
a long periods (100 ms or more).
Signed-off-by: NAlexander Kochetkov <al.kochet@gmail.com>
[moved dma properties to rk3xxx.dtsi and added sdio dma]
Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
上级 2e1aa605
...@@ -223,6 +223,8 @@ ...@@ -223,6 +223,8 @@
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>; clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
clock-names = "biu", "ciu"; clock-names = "biu", "ciu";
dmas = <&dmac2 1>;
dma-names = "rx-tx";
fifo-depth = <256>; fifo-depth = <256>;
resets = <&cru SRST_SDMMC>; resets = <&cru SRST_SDMMC>;
reset-names = "reset"; reset-names = "reset";
...@@ -235,6 +237,8 @@ ...@@ -235,6 +237,8 @@
interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>; clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>;
clock-names = "biu", "ciu"; clock-names = "biu", "ciu";
dmas = <&dmac2 3>;
dma-names = "rx-tx";
fifo-depth = <256>; fifo-depth = <256>;
resets = <&cru SRST_SDIO>; resets = <&cru SRST_SDIO>;
reset-names = "reset"; reset-names = "reset";
...@@ -247,6 +251,8 @@ ...@@ -247,6 +251,8 @@
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>; clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
clock-names = "biu", "ciu"; clock-names = "biu", "ciu";
dmas = <&dmac2 4>;
dma-names = "rx-tx";
fifo-depth = <256>; fifo-depth = <256>;
resets = <&cru SRST_EMMC>; resets = <&cru SRST_EMMC>;
reset-names = "reset"; reset-names = "reset";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册