From patchwork Wed May 19 18:33:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 101007 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4JIY3S4009056 for ; Wed, 19 May 2010 18:34:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753957Ab0ESSdv (ORCPT ); Wed, 19 May 2010 14:33:51 -0400 Received: from mail.gmx.net ([213.165.64.20]:35505 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752044Ab0ESSdu (ORCPT ); Wed, 19 May 2010 14:33:50 -0400 Received: (qmail invoked by alias); 19 May 2010 18:33:43 -0000 Received: from p57BD1EDF.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.30.223] by mail.gmx.net (mp054) with SMTP; 19 May 2010 20:33:43 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1+d72470oudI56XDg78Nh1MHYZltSKZJQUQ0GrqOl QKom0gmLPj0Off Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1OEo5f-0002J6-OQ; Wed, 19 May 2010 20:33:59 +0200 Date: Wed, 19 May 2010 20:33:59 +0200 (CEST) From: Guennadi Liakhovetski To: Ian Molton cc: Andrew Morton , dan.j.williams@intel.com, Paul Mundt , Magnus Damm , sameo@linux.intel.com, "linux-sh@vger.kernel.org" , linux-mmc@vger.kernel.org Subject: [PATCH 2/10 v2] SH: add DMA slaves for two SDHI controllers to sh7722 In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 19 May 2010 18:34:04 +0000 (UTC) diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 5ea2d03..d292170 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c @@ -74,6 +74,16 @@ static const struct sh_dmae_slave_config sh7722_dmae_slaves[] = { .addr = 0xa454c094, .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_32BIT), .mid_rid = 0xb6, + }, { + .slave_id = SHDMA_SLAVE_SDHI0_TX, + .addr = 0x04ce0030, + .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_16BIT), + .mid_rid = 0xc1, + }, { + .slave_id = SHDMA_SLAVE_SDHI0_RX, + .addr = 0x04ce0030, + .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_16BIT), + .mid_rid = 0xc2, }, };