From patchwork Wed Sep 23 07:41:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonyoung Shim X-Patchwork-Id: 7248081 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 11F5EBEEC1 for ; Wed, 23 Sep 2015 07:42:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 70DBC207CD for ; Wed, 23 Sep 2015 07:42:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 99E72208EA for ; Wed, 23 Sep 2015 07:41:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752165AbbIWHl6 (ORCPT ); Wed, 23 Sep 2015 03:41:58 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:45895 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751921AbbIWHl5 (ORCPT ); Wed, 23 Sep 2015 03:41:57 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NV401BB1DDVFGB0@mailout3.samsung.com>; Wed, 23 Sep 2015 16:41:55 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.115]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 56.16.05274.2C752065; Wed, 23 Sep 2015 16:41:55 +0900 (KST) X-AuditID: cbfee68d-f79ae6d00000149a-4a-560257c24c50 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 34.6C.23663.2C752065; Wed, 23 Sep 2015 16:41:54 +0900 (KST) Received: from localhost.localdomain ([10.252.81.123]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NV4007Z7DDU3851@mmp1.samsung.com>; Wed, 23 Sep 2015 16:41:54 +0900 (KST) From: Joonyoung Shim To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, stable@vger.kernel.org, k.kozlowski@samsung.com, kgene@kernel.org, m.szyprowski@samsung.com, javier@osg.samsung.com, jy0922.shim@samsung.com Subject: [PATCH v2] ARM: dts: exynos5420: fix wrong clock binding for sysmmu_fimd1_1 Date: Wed, 23 Sep 2015 16:41:55 +0900 Message-id: <1442994115-20167-1-git-send-email-jy0922.shim@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsWyRsSkWPdwOFOYwZPNTBbzj5xjtXjzdg2T xYt7F1ksXr8wtOh//JrZYtPja6wWM87vY7JYe+Quu8WCjY8YHTg9Nq3qZPPYvKTeY0v/XXaP vi2rGD0+b5ILYI3isklJzcksSy3St0vgytg04T5bwUfOiglLv7M0MC7k6GLk5JAQMJHY92Ea E4QtJnHh3nq2LkYuDiGBFYwSazbdZuli5AArOv0lF6RGSGApo8SM69UQ9g9GiXWPAkBsNgE9 iTvbjoPNERFQlfjctoAdZA6zwDVGicU3W1lBEsICYRITVy4Am8kCVLR7jjNImFfAXeL/gtXs EDfISZw8NpkVpFdCoJ9dYtKpJ2wgCRYBAYlvkw9B3SMrsekAM0S9pMTBFTdYJjAKLmBkWMUo mlqQXFCclF5kqFecmFtcmpeul5yfu4kRGMKn/z3r3cF4+4D1IUYBDkYlHt4HXxjDhFgTy4or cw8xmgJtmMgsJZqcD4yUvJJ4Q2MzIwtTE1NjI3NLMyVxXkWpn8FCAumJJanZqakFqUXxRaU5 qcWHGJk4OKUaGBN5jXjPty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: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 The sysmmu_fimd1_1 should bind the clock CLK_SMMU_FIMD1M1, not the clock CLK_SMMU_FIMD1M0. CLK_SMMU_FIMD1M0 is a clock for the sysmmu_fimd1_0. This wrong clock binding causes the problem that is blocked in iommu_map function when IOMMU is enabled and exynos-drm driver tries to allocate buffer via DMA mapping API on Odroid-XU3 board. Fixes: b70045167815 ("ARM: dts: add sysmmu nodes for exynos5420") Signed-off-by: Joonyoung Shim Cc: # v4.2 Reviewed-by: Javier Martinez Canillas Acked-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski --- Changes for v2: - Update the commit message - Add Fixes: and Reviewed-by: tags arch/arm/boot/dts/exynos5420.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index df9aee9..1b3d6c7 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1117,7 +1117,7 @@ interrupt-parent = <&combiner>; interrupts = <3 0>; clock-names = "sysmmu", "master"; - clocks = <&clock CLK_SMMU_FIMD1M0>, <&clock CLK_FIMD1>; + clocks = <&clock CLK_SMMU_FIMD1M1>, <&clock CLK_FIMD1>; power-domains = <&disp_pd>; #iommu-cells = <0>; };