From patchwork Tue Mar 21 07:08:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9636101 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8C4716020B for ; Tue, 21 Mar 2017 07:08:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DAA1271CB for ; Tue, 21 Mar 2017 07:08:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7203C27C0B; Tue, 21 Mar 2017 07:08:57 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 11ACD271CB for ; Tue, 21 Mar 2017 07:08:55 +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: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:In-Reply-To: References:List-Owner; bh=0OkbTzi2vA3iWwVRyzY55Ku1heedxcSeKarlyNa+Wg4=; b=noS CYisUF87+gAKlIOy3PoA8Q2LAlX33UABDj4FgQXU89ausZuqtaT2ifoBRjsQBhu2J0Y6ytrjB94Pa vchxGjNTP+mVQC6lksQDwltvrfeg21OsHOUPKcJZqzaNKcRNBDsRpzbJ2zyHwop85AZlA6e9aw6Xa zIWFb7RdDe7dfab1n+Q10H7cXWxW8x3rlQY/6bQOyAF85ctdsbnc5yz3mhg+Xr0YeT6oYHwPuIyRA NvReygv026k9jVVt3XSuP5TnyHBPoP0i08+biZrA1GYlqZuSzycvTQQu/g/HPmVhWpiUugO1JZtFR Iv3ZtaGp5ybjJApCU/abCIoRUsqLCcA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqDuZ-0007KM-IZ; Tue, 21 Mar 2017 07:08:55 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqDuV-0007I1-0r for linux-arm-kernel@lists.infradead.org; Tue, 21 Mar 2017 07:08:52 +0000 Received: by mail-pf0-x232.google.com with SMTP id e129so37620172pfh.0 for ; Tue, 21 Mar 2017 00:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=aLyq3s8zc6/Kr1MS4GZwMoZa5+C5HmdZc4QsF1IER1Y=; b=FW+FvCcZk+qq8KNmRONOhazHjQ7S8w1y25qMKoxMnqv+MLAj/vn6s90t/UkzeEWq97 FYZORUGyYofZDvihJWhbFShFbDUx3UIZ79ClS7iO5mdfQmRJ2q7haG3ntPxg+68ZYozw cPolGf55/dmE4r2pX2vWqb4rKLCZBxEMQ7MV4= 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; bh=aLyq3s8zc6/Kr1MS4GZwMoZa5+C5HmdZc4QsF1IER1Y=; b=TiI9OvPQoUSHJ3VwXmPaPxlh6lmeamrT7I1x3Hm1bhZjuXMQw0Gh1DmtqRPUnf4wBj S2Acg34bNYpADuGcfCxDcFzkWnndu2SHTPPg+OEy0RhBOzdYO73IlprKSegG2WyeIqT2 EONqqX0V7DuMUi5Td/3P0b0EIhVLVYkQdURU4jkwwUILmEDEQMDIPYz2+iY4u6Ue6s2/ hpkp+g4IQQ3cWROuJUgIANf+ekhvELjyt5kEjnrGTPYkH8sxyQoMvdsgMVbEj2Mx3ICu NZ4vsz8EYponYfL0erG06XuEHr2Gqc7Atgm5G90M8XxcIwkOIHH/qETR7T8jkGnDqN11 tOUg== X-Gm-Message-State: AFeK/H0CJlXQ+REhPgkGYp5yzkGGBUhZL+kU9GAawnEUS6lQmx9CNnHWIIsVcV82n5i5yhhD X-Received: by 10.98.217.140 with SMTP id b12mr38195412pfl.136.1490080109219; Tue, 21 Mar 2017 00:08:29 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.162]) by smtp.gmail.com with ESMTPSA id c19sm12172099pfd.85.2017.03.21.00.08.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Mar 2017 00:08:28 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH] arm64: dts: hi6220: enable DMA in spi0 Date: Tue, 21 Mar 2017 15:08:18 +0800 Message-Id: <20170321070818.3247-1-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170321_000851_095793_B6AA8694 X-CRM114-Status: GOOD ( 10.73 ) 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: devicetree@vger.kernel.org, Guodong Xu , Wang Xiaoyin , linux-kernel@vger.kernel.org, Antonio Borneo , Zhong Kaihua , linux-arm-kernel@lists.infradead.org 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 From: Wang Xiaoyin Enable DMA in spi0. Cc: Antonio Borneo Signed-off-by: Zhong Kaihua Signed-off-by: Guodong Xu Signed-off-by: Wang Xiaoyin --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 470461d..e40625f 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -682,7 +682,8 @@ reg = <0x0 0xf7106000 0x0 0x1000>; interrupts = <0 50 4>; bus-id = <0>; - enable-dma = <0>; + dmas = <&dma0 0 &dma0 1>; + dma-names = "rx", "tx"; clocks = <&sys_ctrl HI6220_SPI_CLK>; clock-names = "apb_pclk"; pinctrl-names = "default";