From patchwork Sat Jun 29 22:45:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 2803941 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6C1D79F245 for ; Sat, 29 Jun 2013 22:46:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8431320105 for ; Sat, 29 Jun 2013 22:46:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DD5D020104 for ; Sat, 29 Jun 2013 22:46:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752075Ab3F2WqA (ORCPT ); Sat, 29 Jun 2013 18:46:00 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:49643 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562Ab3F2WqA (ORCPT ); Sat, 29 Jun 2013 18:46:00 -0400 Received: by mail-la0-f53.google.com with SMTP id fs12so3235271lab.40 for ; Sat, 29 Jun 2013 15:45:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id:x-gm-message-state; bh=dZPBIWsc5WPw/nGCoU6UNwnckiPYNeZRMB13ZHuu1XE=; b=C+PNF0uBl5LOrdo7XIqLKwGlYI8bpxVMLzKngAanLVsda00Exwn/DW84LMusc9lIBB Ki5w/Q7NiPLIU9j0/kktjF0p8V1VgaY8c4MRSkzPOKHM86Sp0lO7QdvNWIRw/y96awD7 vR3t1YLXIvienhxQVuBuJg57u9h12NvZJ0pCjUFBX/ti1iqOueIt+G9omR0reZfOCLUU 2x+w+tmoGgVYCRj8rkyo2FBn3ufR4uX3dDZ64EoRa2LAMp0IqQbRv7EwoVIZJi++hWFU VfP1H9pXfW5FhDSUa946/u4SFv0EklHcMvmkc18i8OnCxpZ2U1Fv2Fykp/1wBabzuPu+ Fxxw== X-Received: by 10.112.150.231 with SMTP id ul7mr9098039lbb.92.1372545954479; Sat, 29 Jun 2013 15:45:54 -0700 (PDT) Received: from wasted.dev.rtsoft.ru (ppp91-76-156-90.pppoe.mtu-net.ru. [91.76.156.90]) by mx.google.com with ESMTPSA id x5sm4723450lbx.8.2013.06.29.15.45.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 29 Jun 2013 15:45:53 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au Subject: [PATCH 1/3] ARM: shmobile: use common platform header for HPB-DMAC Date: Sun, 30 Jun 2013 02:45:58 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: linux-sh@vger.kernel.org, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, max.filippov@cogentembedded.com References: <201306300243.57180.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201306300243.57180.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201306300245.58486.sergei.shtylyov@cogentembedded.com> X-Gm-Message-State: ALoCoQk2AOPSs5tZwvebyIUfLEV2AD32DHZUi/8ldXGLwPCOoTMA2WeYDy1U9KkTnh95+vZ8eiOZ Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Max Filippov Use previously empty to declare HPB-DMA slave IDs. Signed-off-by: Max Filippov [Sergei: changed the guard macro name, fixed comment, extended copyright.] Signed-off-by: Sergei Shtylyov --- arch/arm/mach-shmobile/include/mach/dma.h | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/mach-shmobile/include/mach/dma.h =================================================================== --- renesas.orig/arch/arm/mach-shmobile/include/mach/dma.h +++ renesas/arch/arm/mach-shmobile/include/mach/dma.h @@ -1 +1,24 @@ -/* empty */ +/* + * Copyright (C) 2011-2013 Renesas Electronics Corporation + * Copyright (C) 2013 Cogent Embedded, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + */ + +#ifndef __MACH_DMA_H +#define __MACH_DMA_H + +/* HPB-DMA slave IDs */ +enum { + HPBDMA_SLAVE_DUMMY, + HPBDMA_SLAVE_SDHI0_TX, + HPBDMA_SLAVE_SDHI0_RX, + HPBDMA_SLAVE_SSI0_TX_ST, + HPBDMA_SLAVE_SSI0_TX_MN, + HPBDMA_SLAVE_SSI1_RX_ST, + HPBDMA_SLAVE_SSI1_RX_MN, +}; + +#endif /* __MACH_DMA_H */