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: 6321681 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5FF90BEEE1 for ; Sun, 3 May 2015 18:15:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 991402041B for ; Sun, 3 May 2015 18:15:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C024203C1 for ; Sun, 3 May 2015 18:15:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751324AbbECSPX (ORCPT ); Sun, 3 May 2015 14:15:23 -0400 Received: from mail-lb0-f177.google.com ([209.85.217.177]:35502 "EHLO mail-lb0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751314AbbECSPW (ORCPT ); Sun, 3 May 2015 14:15:22 -0400 Received: by lbbuc2 with SMTP id uc2so92075680lbb.2 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 Cc: Vasily Khoruzhick 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> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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 = {