From patchwork Fri Jan 22 11:06:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8089021 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4D621BEEE5 for ; Fri, 22 Jan 2016 11:08:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 00254203F7 for ; Fri, 22 Jan 2016 11:08:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0EC822039E for ; Fri, 22 Jan 2016 11:08:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aMZa4-0001fw-KQ; Fri, 22 Jan 2016 11:08:40 +0000 Received: from mail-pf0-f193.google.com ([209.85.192.193]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aMZZk-0001OO-6L; Fri, 22 Jan 2016 11:08:23 +0000 Received: by mail-pf0-f193.google.com with SMTP id 65so3169209pfd.1; Fri, 22 Jan 2016 03:08:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=as0Rdk5XzCIuaQdW0RJFsDhhpfK+WLXrp2s9JmnjWKY=; b=MnAILjjdSkBwruMqHXpK7cX7XFu8lVdqBYiUxztUKDGWr6yQ2NhX3+m5XWaq7eHE3N 5JGkSOLIITUIgdAxeGP9OsxewD2rFzMEfglOA9IDdYGwLMYNmYYYDw6cri1CV9q36M6b KPMsOshKeFSoOGJQ7wCcoeYHCs08ngdSiS7xK92gNa0393dvFrspbLj/kzASrQav703j O2q0Zok1i2tcnT1yIqwCOHFftYBd6yRVbSW3lAgYBEjHdhl0snzvTQuD5Ni0KCxc+Xrm +EukrttJ4+4FQei5RpjiLHkFop4WGx5LhJ9MiRC0xNx4NLOFqgfpwyKYL9SBxl7M3lnh 1Ymw== X-Gm-Message-State: AG10YOSLghulIAN3kRB2crhSTMyA6FpyJzdxsjJb0or18OkL/eUymnXigenaqqNPkku8VQ== X-Received: by 10.98.68.73 with SMTP id r70mr3523047pfa.12.1453460884186; Fri, 22 Jan 2016 03:08:04 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id v2sm8931895pfi.93.2016.01.22.03.07.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Jan 2016 03:08:03 -0800 (PST) From: Caesar Wang To: Heiko Stuebner , Vinod Koul Subject: [PATCH v7 5/9] ARM: dts: Add arm, pl330-broken-no-flushp quirk for rk3xxx platform Date: Fri, 22 Jan 2016 19:06:48 +0800 Message-Id: <1453460812-8498-6-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1453460812-8498-1-git-send-email-wxt@rock-chips.com> References: <1453460812-8498-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160122_030820_451469_90CFDC84 X-CRM114-Status: GOOD ( 10.10 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , shawn.lin@rock-chips.com, dianders@chromium.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Kumar Gala , Olof Johansson , Sonny Rao , linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Shawn Lin Pl330 integrated in rk3xxx platform doesn't support DMAFLUSHP function. So we add arm,pl330-broken-no-flushp quirk for it. Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Doug Anderson cc: Olof Johansson Signed-off-by: Caesar Wang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: - rename broken-no-flushp to "arm,pl330-broken-no-flushp" suggested by Krzysztof. arch/arm/boot/dts/rk3xxx.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi index 99eeea7..0012049 100644 --- a/arch/arm/boot/dts/rk3xxx.dtsi +++ b/arch/arm/boot/dts/rk3xxx.dtsi @@ -80,6 +80,7 @@ #dma-cells = <1>; clocks = <&cru ACLK_DMA1>; clock-names = "apb_pclk"; + arm,pl330-broken-no-flushp; }; dmac1_ns: dma-controller@2001c000 { @@ -90,6 +91,7 @@ #dma-cells = <1>; clocks = <&cru ACLK_DMA1>; clock-names = "apb_pclk"; + arm,pl330-broken-no-flushp; status = "disabled"; }; @@ -101,6 +103,7 @@ #dma-cells = <1>; clocks = <&cru ACLK_DMA2>; clock-names = "apb_pclk"; + arm,pl330-broken-no-flushp; }; };