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: 5649841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2AF449F3A0 for ; Fri, 16 Jan 2015 17:43:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E34C20222 for ; Fri, 16 Jan 2015 17:43:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F4B22021A for ; Fri, 16 Jan 2015 17:43:38 +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 1YCAtl-0002z2-UV; Fri, 16 Jan 2015 17:41:29 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YCAtE-0002O3-Tr for linux-arm-kernel@lists.infradead.org; Fri, 16 Jan 2015 17:40:57 +0000 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-arm-kernel@lists.infradead.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 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150116_094057_165766_97879026 X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 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";