From patchwork Fri Jan 16 17:40:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 5649831 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 1A9A3C058D for ; Fri, 16 Jan 2015 17:40:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3F82A20222 for ; Fri, 16 Jan 2015 17:40:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E70A2021A for ; Fri, 16 Jan 2015 17:40:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754883AbbAPRkf (ORCPT ); Fri, 16 Jan 2015 12:40:35 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:16847 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753328AbbAPRkf (ORCPT ); Fri, 16 Jan 2015 12:40:35 -0500 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NIA00CIC6FLVG50@mailout2.samsung.com> for linux-samsung-soc@vger.kernel.org; Sat, 17 Jan 2015 02:40:33 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-c2-54b94d11d9d0 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B9.4E.09430.11D49B45; Sat, 17 Jan 2015 02:40:33 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NIA00LAN6F8IK60@mmp1.samsung.com>; Sat, 17 Jan 2015 02:40:33 +0900 (KST) From: Sylwester Nawrocki To: kgene@kernel.org Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sylwester Nawrocki Subject: [PATCH] ARM: dts: Fix CLK_MOUT_CAMn parent clocks assignment for Trats2 Date: Fri, 16 Jan 2015 18:40:16 +0100 Message-id: <1421430016-32248-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCJMWRmVeSWpSXmKPExsVy+t9jAV1B350hBh/3mFv0P37NbLHp8TVW ixnn9zFZHH7TzurA4rFpVSebx+Yl9R59W1YxenzeJBfAEsVlk5Kak1mWWqRvl8CV8eRvJ2NB A2fFjE3dLA2MB9m7GDk5JARMJBpbFzBB2GISF+6tZ+ti5OIQEljEKDHl2zoWCKeDSeJw916w KjYBQ4neo32MXYwcHCICIhKzL3CBmMwCVRLNT1RBKoQFAiRmTbjCCGKzCKhKPDj1FKyTV8BN Ys+Fj2wg5RICChJzJtlMYORewMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyPY78+kdzCu arA4xCjAwajEwztjy44QIdbEsuLK3EOMEhzMSiK8tVY7Q4R4UxIrq1KL8uOLSnNSiw8xSnOw KInzKtm3hQgJpCeWpGanphakFsFkmTg4pRoYTaOrFbO2umxdz/85gj1Q7tC/GX9OJB5+3K/S HqOkod69x6bL6In53kCz1EDrX1V+F/59CWm9c1YyNT4rZJGV0O7ZTjNLbup+cFWJmdJq9clX VGnnPgbzr2LltwJfyNwQnb18wrw8X5PPWjxKO9YKMc5sPHKkuni2W6/th61Mb19s8E8KcAtU YinOSDTUYi4qTgQAh66hhvcBAAA= 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, T_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 In order to get exact 24MHz clock frequency value for the camera sensor and avoid rounding errors the parent clock must be CLK_XUSBXTI, not CLK_MOUT_MPLL_USER_T. Currently the sensor's master clock frequency is too high and the sensor doesn't work properly. This fixes commit 0357a4438d531ef3cf529e80ffcd208eb8e35f55 ("ARM: dts: Specify default clocks for Exynos4 camera devices"). Signed-off-by: Sylwester Nawrocki --- arch/arm/boot/dts/exynos4412-trats2.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 29231b4..9ae62c2 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -721,8 +721,8 @@ status = "okay"; assigned-clocks = <&clock CLK_MOUT_CAM0>, <&clock CLK_MOUT_CAM1>; - assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>, - <&clock CLK_MOUT_MPLL_USER_T>; + assigned-clock-parents = <&clock CLK_XUSBXTI>, + <&clock CLK_XUSBXTI>; fimc_0: fimc@11800000 { status = "okay";