From patchwork Sun May 3 18:15:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 6321701 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8031D9F1C2 for ; Sun, 3 May 2015 18:18:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A1ED720392 for ; Sun, 3 May 2015 18:18:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9E7E52037C for ; Sun, 3 May 2015 18:18:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YoyQd-0000HM-8p; Sun, 03 May 2015 18:15:47 +0000 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YoyQa-0000FE-Q4 for linux-arm-kernel@lists.infradead.org; Sun, 03 May 2015 18:15:45 +0000 Received: by lbbqq2 with SMTP id qq2so92059397lbb.3 for ; Sun, 03 May 2015 11:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6nUzVobGzAeUN6tvEN3x8w1Awyj7X31uz84wko4NHrA=; b=JSx9k7M2inKU9qz9ZiU7fxivF7oUX5oievgDY5FzNfLQfRnFrpRDFkZspeKOrtw0J5 xhfApYnNXXObC5JqyyprYDXDWlgHLfecBGAOTNdJLFC8CjhSmJExTkpq5ssg2dg7JXGg HTt9lLbLiGc+4w37hcp2ftgcRrekQvQoGZUd6jufVXlM8sQqWvFIMfGOeFpsh/1PhR/+ EBUIG/1Q3dVAaHqMV3YgMMjCBzeFYPK00ErdCyz88xQuYKGOwHBWSmifEYU0YoLUpAFv 6ArYn2bxz0XyOI78nylzu9jHh3KDhrKoK1RHGjYmGBZRIwPFImdXQu+8YAExT/FYbkAd NquA== X-Received: by 10.152.87.204 with SMTP id ba12mr16865170lab.35.1430676921018; Sun, 03 May 2015 11:15:21 -0700 (PDT) Received: from anarsoul-thinkpad.localdomain ([212.98.188.148]) by mx.google.com with ESMTPSA id c5sm2836659lac.15.2015.05.03.11.15.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 May 2015 11:15:20 -0700 (PDT) From: Vasily Khoruzhick To: Kukjin Kim , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/3] ARM: s3c24xx: Add DMA resources for SDI and I2S Date: Sun, 3 May 2015 21:15:09 +0300 Message-Id: <1430676910-30657-2-git-send-email-anarsoul@gmail.com> X-Mailer: git-send-email 2.3.7 In-Reply-To: <1430676910-30657-1-git-send-email-anarsoul@gmail.com> References: <1430676910-30657-1-git-send-email-anarsoul@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150503_111545_120718_ECB87218 X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Vasily Khoruzhick X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_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 Signed-off-by: Vasily Khoruzhick Acked-by: Krzysztof Kozlowski --- arch/arm/plat-samsung/devs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 83c7d15..62edcab 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -564,6 +564,8 @@ void __init s3c_i2c7_set_platdata(struct s3c2410_platform_i2c *pd) #ifdef CONFIG_PLAT_S3C24XX static struct resource s3c_iis_resource[] = { [0] = DEFINE_RES_MEM(S3C24XX_PA_IIS, S3C24XX_SZ_IIS), + [1] = DEFINE_RES_DMA(DMACH_I2S_OUT), + [2] = DEFINE_RES_DMA(DMACH_I2S_IN), }; struct platform_device s3c_device_iis = { @@ -863,6 +865,7 @@ struct platform_device s3c_device_rtc = { static struct resource s3c_sdi_resource[] = { [0] = DEFINE_RES_MEM(S3C24XX_PA_SDI, S3C24XX_SZ_SDI), [1] = DEFINE_RES_IRQ(IRQ_SDI), + [2] = DEFINE_RES_DMA(DMACH_SDI), }; struct platform_device s3c_device_sdi = {