From patchwork Mon Jun 29 14:12:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sugar Zhang X-Patchwork-Id: 11631159 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 975F6913 for ; Mon, 29 Jun 2020 15:25:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8DD9020674 for ; Mon, 29 Jun 2020 15:25:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="P/63N/CV"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="V1v/8Y/8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DD9020674 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=rock-chips.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=yE2PB63Qrb5kGZRNWb6CUNOtry5a4S/p7+u6unn+nTI=; b=P/63N/CV+Oe0c+9zulXFzKvSbd Gri43mzzPlWURICYX5s4luEcIUB4UNhNl5h+tQouVlkdDcnWA5EER8zgeDxs7LYdmxY1EpEwPVOoT FP3ZJkcB3sY3Q32EfjGex8ru92hhG6B/0Bw59MxJz1cSZ+zizcBqZ4DQxwfKf17K4FyAT/go/RAe6 qNS2aaNE4PCMxqjI9iJlJDBa6YhF27gAwj73aysfXzIv+Ygr6Q+Y9cPJnKLSL+tIATXtd/+eE7DU9 fJJPgqYL/+n/pUhD6xetlFKas4xUasYC28LfEklP4Kxga+m0J9BidHD7XBfR/R7fKtFgq09JYaNxZ df9S9GxQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpvef-0001WL-Jm; Mon, 29 Jun 2020 15:25:09 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpuWu-0000Fj-4i for linux-rockchip@merlin.infradead.org; Mon, 29 Jun 2020 14:13:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=lA1xMU62pGn9GPJd3cASCo0O8PS7waLy1z7vzn2fmkw=; b=V1v/8Y/84PN2OUGYlLeZcSZP9t WrxsRomC8ocGNsth4YsIkhUStuS3p+vzD3NwQDNUkq/++M+/lJ3HSSOG2Ni3gKNVhylAhyIw+8dpP HWnjoNdbVuz7dWAE7oESFmLwOCHNRN08bQJsaKZMGYBdIifzGsXyWgr3kM1Ol2cbgZFF68YSH/IA3 li0poF89Gpyv8M/zIlmXSuld5JBCdmTFfHl255n4r6cnznkbNjJYGW/1ddoVNy7poJFFQ7B7r0tA1 T+lVEBgt68cYQKjzBUHqphQ8sRmnb1gnvxe5N8zUoLirhMMQ/G7qPc92+dPsnHEFy2lnm9Ve1G/Zq mON4r05A==; Received: from lucky1.263xmail.com ([211.157.147.132]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpuWY-0008Uc-De for linux-rockchip@lists.infradead.org; Mon, 29 Jun 2020 14:13:02 +0000 Received: from localhost (unknown [192.168.167.69]) by lucky1.263xmail.com (Postfix) with ESMTP id D9A7CEC233; Mon, 29 Jun 2020 22:12:21 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-ABS-CHECKED: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P15428T140189216536320S1593439936575247_; Mon, 29 Jun 2020 22:12:21 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <4be73212ecb4d96e33a3644ab16b207c> X-RL-SENDER: sugar.zhang@rock-chips.com X-SENDER: zxg@rock-chips.com X-LOGIN-NAME: sugar.zhang@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 X-System-Flag: 0 From: Sugar Zhang To: heiko@sntech.de, vkoul@kernel.org Subject: [PATCH v3 13/14] arm64: dts: rk3368: Add 'arm, pl330-periph-burst' for dmac Date: Mon, 29 Jun 2020 22:12:14 +0800 Message-Id: <1593439935-68540-4-git-send-email-sugar.zhang@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593439555-68130-1-git-send-email-sugar.zhang@rock-chips.com> References: <1593439555-68130-1-git-send-email-sugar.zhang@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200629_151243_735268_EE0BE2EC X-CRM114-Status: GOOD ( 10.39 ) X-Spam-Score: -0.4 (/) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-0.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [58.22.7.114 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [211.157.147.132 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [211.157.147.132 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sugar Zhang , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org This patch Add the quirk to specify to use burst transfer for better compatible and higher performance. Signed-off-by: Sugar Zhang --- Changes in v3: None Changes in v2: - fix FATAL ERROR: Unable to parse input tree arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index 1ebb0ee..94273bc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -149,6 +149,7 @@ ; #dma-cells = <1>; arm,pl330-broken-no-flushp; + arm,pl330-periph-burst; clocks = <&cru ACLK_DMAC_PERI>; clock-names = "apb_pclk"; }; @@ -160,6 +161,7 @@ ; #dma-cells = <1>; arm,pl330-broken-no-flushp; + arm,pl330-periph-burst; clocks = <&cru ACLK_DMAC_BUS>; clock-names = "apb_pclk"; };