From patchwork Wed Oct 10 09:00:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 10634231 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 166EF17E1 for ; Wed, 10 Oct 2018 09:03:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B197292AD for ; Wed, 10 Oct 2018 09:03:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C90D293AE; Wed, 10 Oct 2018 09:03:51 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable 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 22710292AD for ; Wed, 10 Oct 2018 09:03:50 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=xwaZu7h45ezWGU0EEjFPR9KO6DegQLqP99c5RLPbs08=; b=AczGd+jMhB1Gvm r/fhFeeFFGt1CqIAnd43daLpF+XKXsTkj+fo9p+vw+cZ6QvkqV/LpX2OD1wGkAzhEbf2DUPbkgC2j QmqOHGCT70Q8sRYYV5LApayk6VGbdJHPGR2tChUwlNJAcjtelmfrUVJjClhIQfY6VcpUVrESsTvju dGrjShSFvfsgd8GC+nMdd8PC17bPPCQuW6xi4CTRz1Dk/vOguYxjR9fjMiDDH3qybmGxpd+fK5NDi EdPvjLkKHIgTgGzs2XjbHtIT8QWM5gUccz6W5M+8on4Sem89y7x1Vm2utz3L6IjXnOQeR5uT5Fa0B 2ayfp75MKXiTOXbsvQmA==; 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 1gAAP2-0005vq-Dq; Wed, 10 Oct 2018 09:03:36 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAANR-00053v-BE; Wed, 10 Oct 2018 09:02:02 +0000 Received: by mail-lj1-x243.google.com with SMTP id p89-v6so4177657ljb.3; Wed, 10 Oct 2018 02:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J2OCDbqMb6nYqZMgYt5ZgfyBJjth2xz5R26iqEUWcAQ=; b=hAbxJ1ufKoTUfC9+bybFXqMl6xW9gPx+FObVDUNTyVkBcCW9ztLNHOjb5WAK1mDd8l zm3E4wnDrAjX8ToF6eRABtTHdUWplLFNXscwkbjfH4QH/GizXljSYTlfMwMtdhluEyyJ FOsChJObB6cZu8imfx9BkC4NZ/SSJpAJAGtabZqlEI9TxiMdf8LHGzvBt4kMO89tdHL7 NkWfhJFpfbamQxjph9JI3J5hbtFclGIUKdppPhsnIs0WL+jF/7GT+h8sp8is0fXnYOtX OL3Z+gQiWYFbmLxmVuLuUJEG4yL2CPX8KGmk5vPEkozPLz7sU7LmYvlzfTI35VfO4lhO OiMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=J2OCDbqMb6nYqZMgYt5ZgfyBJjth2xz5R26iqEUWcAQ=; b=kSiFfcOFQ1LRCyXzr9CW9fJMDO59uFyg8TMcEJUhvOrXKYuD45gZbMVJ8PxWgrQ+MQ tH8reMdEPgucQ8BrWeRZ6gHWuBRGik9aWdwtbIxcr8lfCOQxM8CUNsQXUQbGe4lXwUlr ElUiTA1Q3H1nQYNEoAEc9Iuz+WGuB9IHBpSgZYDGjWtZ50IrSeOTjZPfs0IagBXIuy5B qcSOW/21E95pffF6zDX5s48TjTl7dZKdPcDTlMSOOSXNwnJE3iAQRRDuV0RMA90GPdrs GvmnW2IgqBFTcmFt60VJjbrzthBEgkKDZGHgUVHwIZSpFeiZpYDDTYRD8VOWQOfVBIUB hQ8w== X-Gm-Message-State: ABuFfoinNL8okbItPsYMHxrDpEIWPHl2jl0Pf8AifuVIdJm6kvqjd1z3 DSPBlo5Fm/ch7oEW7KC3UDuv2WwNfs0= X-Google-Smtp-Source: ACcGV63uwLPLZdfv3hnbQRd0TrjuL4yIGVC5cnIviIAM0Gehi8XYdbWm1+MDo/RYkKayofZmOx7GbA== X-Received: by 2002:a2e:6e08:: with SMTP id j8-v6mr16663276ljc.61.1539162110537; Wed, 10 Oct 2018 02:01:50 -0700 (PDT) Received: from localhost.localdomain ([5.57.50.195]) by smtp.gmail.com with ESMTPSA id q2-v6sm2150078lfc.67.2018.10.10.02.01.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Oct 2018 02:01:49 -0700 (PDT) From: Emil Renner Berthing To: linux-rockchip@lists.infradead.org Subject: [PATCH 3/7] arm64: dts: rockchip: add rk3399 SPI DMAs Date: Wed, 10 Oct 2018 11:00:34 +0200 Message-Id: <20181010090038.20834-4-kernel@esmil.dk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181010090038.20834-1-kernel@esmil.dk> References: <20181010090038.20834-1-kernel@esmil.dk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181010_020157_459990_2F7352F5 X-CRM114-Status: GOOD ( 15.30 ) 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 , devicetree@vger.kernel.org, Randy Li , Emil Renner Berthing , Brian Norris , Douglas Anderson , Rob Herring , linux-kernel@vger.kernel.org, Chris Zhong , Nickey Yang , Mark Brown , Klaus Goger , Enric Balletbo i Serra , linux-spi@vger.kernel.org, Shunqian Zheng , linux-arm-kernel@lists.infradead.org, Heiko Stuebner 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 Add spi dma channels as specified by the rk3399 TRM. Signed-off-by: Emil Renner Berthing --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index c88e603396f6..c11b5ae6f1ad 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -653,6 +653,8 @@ clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>; clock-names = "spiclk", "apb_pclk"; interrupts = ; + dmas = <&dmac_peri 10>, <&dmac_peri 11>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>; #address-cells = <1>; @@ -666,6 +668,8 @@ clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>; clock-names = "spiclk", "apb_pclk"; interrupts = ; + dmas = <&dmac_peri 12>, <&dmac_peri 13>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>; #address-cells = <1>; @@ -679,6 +683,8 @@ clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>; clock-names = "spiclk", "apb_pclk"; interrupts = ; + dmas = <&dmac_peri 14>, <&dmac_peri 15>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>; #address-cells = <1>; @@ -692,6 +698,8 @@ clocks = <&cru SCLK_SPI4>, <&cru PCLK_SPI4>; clock-names = "spiclk", "apb_pclk"; interrupts = ; + dmas = <&dmac_peri 18>, <&dmac_peri 19>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&spi4_clk &spi4_tx &spi4_rx &spi4_cs0>; #address-cells = <1>; @@ -705,6 +713,8 @@ clocks = <&cru SCLK_SPI5>, <&cru PCLK_SPI5>; clock-names = "spiclk", "apb_pclk"; interrupts = ; + dmas = <&dmac_bus 8>, <&dmac_bus 9>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&spi5_clk &spi5_tx &spi5_rx &spi5_cs0>; power-domains = <&power RK3399_PD_SDIOAUDIO>;