From patchwork Thu Jun 6 15:48:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2681721 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 8F54CDF23A for ; Thu, 6 Jun 2013 15:48:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752848Ab3FFPsb (ORCPT ); Thu, 6 Jun 2013 11:48:31 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:61326 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752840Ab3FFPsa (ORCPT ); Thu, 6 Jun 2013 11:48:30 -0400 Received: from axis700.grange (dslb-088-077-167-013.pools.arcor-ip.net [88.77.167.13]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MWfMN-1Us5Cc2df1-00XKQA; Thu, 06 Jun 2013 17:48:25 +0200 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id DA31040BC3; Thu, 6 Jun 2013 17:48:24 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1UkcQK-0006BX-PI; Thu, 06 Jun 2013 17:48:24 +0200 From: Guennadi Liakhovetski To: linux-sh@vger.kernel.org Cc: Magnus Damm , Simon Horman , Guennadi Liakhovetski Subject: [PATCH v2 6/6] ARM: shmobile: armadillo800eva-reference: add DMA support for MMCIF and SDHI Date: Thu, 6 Jun 2013 17:48:24 +0200 Message-Id: <1370533704-23734-7-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1370533704-23734-1-git-send-email-g.liakhovetski@gmx.de> References: <1370533704-23734-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:JFC9q1UONNDBevwN2VDIby7t1uStiUOUnTV3i59cTU5 c6CQ368FA8r8hIZRb02y6BYgFKKGhkcJmmIPOfzx6s9F6sJnY+ 9KoFHL98QcZfb8cyRko9bciYQK2ndiTR+lsFlvGUHm9HWiBOHy biOFtZX58/q9/K0UyXLjFruBijFQEbbhflXm3+YFqrjJRMBcyW kPd/x247T07FYmcY2RE6Q44AXlmOgONllvZN9lIqA/lRJhkpZM YYYez5kR/uq7OQMXzjG17YEoVfd4N/e4b/Q+aqTy7BVOMkWYwS 8LjFaZih0Qq31vFX443i2pdVpZiq5uWDQSVcwx4Aw8q2eeBTQI IQBKxfsG3ZbMIKP/jz7p0eSTH3WjmRUjcTqQwmJQuh6+qrPx27 fas+oL55WtvDg== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Add DMA bindings to SDHI and MMCIF DT nodes on armadillo800eva-reference. Since SDHI and MMCIF devices can use any of the 3 DMAC instances on r8a7740, we point to the DMA multiplexer node instead of a specific DMAC DT node. Signed-off-by: Guennadi Liakhovetski --- .../boot/dts/r8a7740-armadillo800eva-reference.dts | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts index 3752637..1983d49 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts @@ -47,6 +47,9 @@ vmmc-supply = <®_3p3v>; bus-width = <8>; non-removable; + dmas = <&dmac 0xd1 + &dmac 0xd2>; + dma-names = "tx", "rx"; status = "okay"; }; @@ -54,11 +57,17 @@ vmmc-supply = <®_3p3v>; bus-width = <4>; broken-cd; + dmas = <&dmac 0xc1 + &dmac 0xc2>; + dma-names = "tx", "rx"; status = "okay"; }; &sdhi1 { vmmc-supply = <®_3p3v>; bus-width = <4>; + dmas = <&dmac 0xc9 + &dmac 0xca>; + dma-names = "tx", "rx"; status = "okay"; };