Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933087AbdCUPVT (ORCPT ); Tue, 21 Mar 2017 11:21:19 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:36606 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932830AbdCUPVQ (ORCPT ); Tue, 21 Mar 2017 11:21:16 -0400 From: Alexander Kochetkov To: Heiko Stuebner , Rob Herring , Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Alexander Kochetkov Subject: [PATCH] ARM: dts: rockchip: setup DMA-channels for mmc0 and emmc for rk3188 Date: Tue, 21 Mar 2017 18:13:47 +0300 Message-Id: <1490109227-4006-1-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 33 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: Alexander Kochetkov --- arch/arm/boot/dts/rk3188.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 44da3d42..de786f8 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi @@ -638,3 +638,13 @@ &wdt { compatible = "rockchip,rk3188-wdt", "snps,dw-wdt"; }; + +&mmc0 { + dmas = <&dmac2 1>; + dma-names = "rx-tx"; +}; + +&emmc { + dmas = <&dmac2 4>; + dma-names = "rx-tx"; +}; -- 1.7.9.5