From patchwork Sun Dec 2 21:23:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mesih Kilinc X-Patchwork-Id: 10708365 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D59F71057 for ; Sun, 2 Dec 2018 21:24:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6C4A2A2F7 for ; Sun, 2 Dec 2018 21:24:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAC782A603; Sun, 2 Dec 2018 21:24:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7585A2A2F7 for ; Sun, 2 Dec 2018 21:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hFuBIMejxIfISR/NW4FRPToiNKYkxoaYs9WNwaktc0E=; b=djca53ddUsO+pdZC5C5iOGMopT GfgGFhOMAqaFitFTsJc9UmLKMaoOnVmgw6EYX6HYS4MwG6Ey3x5c0c9h329QljGuFbI4LDPKiRRp7 J25fnXEAlLF2UUpaqi4m6Kxr2AJ9Hc0nwHCZWmTEmm0+8KTYO0ylhIbI1EVjfA796TuJQW6uI6ojC SXjDkcTbfsExeawaFFLOx67NJVj/nxVJgCCCo9jHXA8BEsygfHBERd7/1nQi3bluIFcSdQqw5Zw8T Gz84nHGLq1vwCiBAH6/YloVfrgJELROd39iCEufSg+jAbcf0p2V66htkw3nslODh0UhYrSEfjfueO vsOrpBlw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gTZEQ-00036m-Ro; Sun, 02 Dec 2018 21:24:50 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gTZDS-0001u1-L0 for linux-arm-kernel@lists.infradead.org; Sun, 02 Dec 2018 21:24:01 +0000 Received: by mail-wr1-x442.google.com with SMTP id t27so10142710wra.6 for ; Sun, 02 Dec 2018 13:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PgAUgZMYJZIjzRzJK9ypNa/fl9KY0ic1eUS2w2DfDF0=; b=KsWJOX1kMXTN80csaT5pPTEjQrx3VGGFOkan/bulTcciI/fs5Gd6Bq5+7MQj/EhBzG ZDV/X3f3cbWYzoiJlkztlQRKq0Asn1DSH/gkWPRtM/REYGHD83t5J5dAB2jxKSXf/0m9 8lWqSdRt0o1t/T3LlI9KNbR3ouNNC3ZEtXXAHEA1ufpIZrEPkG+V3Fzq5BylH4EMIXKZ Aug7gujK8oWxHBJXSENhl7yIisztp4XT32LhhBOW7LkpXcjJj+q33NGJCJpPkUHDvjZ2 1pn2GggsZiHum3TZZBMFwSKr7KWd6NM03165FhwUH246TmUcPJX9+XeckNHCU/obweW7 Xxzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PgAUgZMYJZIjzRzJK9ypNa/fl9KY0ic1eUS2w2DfDF0=; b=eXi4rMLeLnbDS5jtB8XC05qp7z6UFLUxR2lqyYZhJ55ModrSpWT6HG4szJMbKUKtTd HO5PJb4JPZf+39Mh/FlRO5mcqmme4iT9+KUB20geQVluWoLR30s1TsfahDPSgHi4iR/B BXH9cB5ECoMPMUFAhHDENB7uFxQl9qy3bBSqhe/Hp1OZmyL0hJjEWTpNnXWEAIedCy5R SMcdo+dSghiGYEwNlJETwmh7RYPQCDB6mqcI6zHyrGlWVk5pja5mpOYI/ReeFH+b5LAR n9MgDK77T8l35jJT9QgaSZUbTzl4OKIRP1ZD++LqQVLLow8kKUQSmkwvdKfGt0HlX0RT ScGA== X-Gm-Message-State: AA+aEWan66C/oQYv3QOAOAPcaiwohwcyqi21zaFO/Enh+HjB0/jo0np9 h+qT+XnHrSIqifsot+vH7LQ= X-Google-Smtp-Source: AFSGD/VGtijuXWwQ+C02/bsi4yr+HAVA7HQj8jMz2mHPV6Dge5x2BZL/rumzO+6MJvMGiSAsX1ag2A== X-Received: by 2002:adf:d4c9:: with SMTP id w9mr11737329wrk.119.1543785819180; Sun, 02 Dec 2018 13:23:39 -0800 (PST) Received: from ThinkPad.home ([185.219.177.152]) by smtp.gmail.com with ESMTPSA id d2sm9551043wrs.97.2018.12.02.13.23.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 02 Dec 2018 13:23:38 -0800 (PST) From: Mesih Kilinc To: dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-sunxi@googlegroups.com Subject: [RFC PATCH 05/10] ARM: dts: suniv: f1c100s: Add support for DMA Date: Mon, 3 Dec 2018 00:23:12 +0300 Message-Id: <7978afbd9bb4a114e84df44c129d86e784659915.1543782328.git.mesihkilinc@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181202_132351_421358_31DC4D56 X-CRM114-Status: GOOD ( 12.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Mesih Kilinc , Mark Brown , Takashi Iwai , Chen-Yu Tsai , Liam Girdwood , Maxime Ripard , Vinod Koul , Rob Herring , Jaroslav Kysela MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner suniv F1C100s now has DMA support. Enable it under device tree. Signed-off-by: Mesih Kilinc --- arch/arm/boot/dts/suniv-f1c100s.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi b/arch/arm/boot/dts/suniv-f1c100s.dtsi index aff5f90..4c96a9e 100644 --- a/arch/arm/boot/dts/suniv-f1c100s.dtsi +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi @@ -6,6 +6,7 @@ #include #include +#include / { #address-cells = <1>; @@ -65,6 +66,16 @@ }; }; + dma: dma-controller@1c02000 { + compatible = "allwinner,suniv-f1c100s-dma"; + reg = <0x01c02000 0x1000>; + interrupts = <18>; + clocks = <&ccu CLK_BUS_DMA>; + resets = <&ccu RST_BUS_DMA>; + #dma-cells = <2>; + }; + + ccu: clock@1c20000 { compatible = "allwinner,suniv-f1c100s-ccu"; reg = <0x01c20000 0x400>;