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: 10709363 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 3281014BD for ; Mon, 3 Dec 2018 11:48:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2273F2B464 for ; Mon, 3 Dec 2018 11:48:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1641A2B46D; Mon, 3 Dec 2018 11:48:27 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B1072B459 for ; Mon, 3 Dec 2018 11:48:26 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D6A4E267ADB; Mon, 3 Dec 2018 12:47:09 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 890B7267A78; Sun, 2 Dec 2018 22:23:41 +0100 (CET) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by alsa0.perex.cz (Postfix) with ESMTP id E5456267A75 for ; Sun, 2 Dec 2018 22:23:39 +0100 (CET) Received: by mail-wr1-f67.google.com with SMTP id p4so10125595wrt.7 for ; Sun, 02 Dec 2018 13:23:39 -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=jvJuqt40LJb0FUki0v4HN7laVsVXEt0u/zsThyCnIU1XeK7fWu+2JRIVuTetd0QnTa ueIzWzp1g+JxS9ymcI9LyancCtFXK1DMqPnlU1Jm6MzR9Iggt+Tzi1eo06weG4a3zevL V61E9FPPCbrk08SxtNHEttA0W16JahFayLnd565UGtFQOIQNLS2g9f5h/cwHzGF5NHJJ OJ4cEvLsCznszHBO3V9TELqvHSvi5Q41g3ilUu3hUdT5ClA26OnBbRhVNiRtE1g5fcz+ G34HV/XzVuJnxdf8mJ8uNrLBfyz8VZES9+ep3xcU2M7ZyR6cEr/g+gmFnJHocyRF3u3c 13RQ== X-Gm-Message-State: AA+aEWYD9Vpa7Wg0UXdgaSHzuHL/ECjZmos9Iv3iWT/t+qNkZyqtD71i 1tfNfXjvsTRmIbfxJ9Mxjoc= 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 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-Mailman-Approved-At: Mon, 03 Dec 2018 12:46:49 +0100 Cc: Mark Rutland , Mesih Kilinc , Mark Brown , Takashi Iwai , Chen-Yu Tsai , Liam Girdwood , Maxime Ripard , Vinod Koul , Rob Herring Subject: [alsa-devel] [RFC PATCH 05/10] ARM: dts: suniv: f1c100s: Add support for DMA X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.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>;