From patchwork Mon Jul 15 12:44:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043765 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 25E991510 for ; Mon, 15 Jul 2019 12:45:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12281223C7 for ; Mon, 15 Jul 2019 12:45:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 100D128495; Mon, 15 Jul 2019 12:45:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1E24223C7 for ; Mon, 15 Jul 2019 12:45:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730424AbfGOMpp (ORCPT ); Mon, 15 Jul 2019 08:45:45 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60574 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730410AbfGOMpN (ORCPT ); Mon, 15 Jul 2019 08:45:13 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124511euoutp01c4447e6b0a69190bbfa887eb1688f66f~xlU7gc1lP2021920219euoutp01I for ; Mon, 15 Jul 2019 12:45:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124511euoutp01c4447e6b0a69190bbfa887eb1688f66f~xlU7gc1lP2021920219euoutp01I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194711; bh=JNlU+ZmxnzoctgxAgCVPM/SH+VMb8GGroKMeCa1CTrc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H6Koa0Aqf/0ypQOLwVQpUk7/HEj37HLQfBhno3YAtxXlf9mISJZe7rA/C1/w3iFpd hyyK7vYgLrkJLDaoGyi2+Btl+atFwPEcohzr2Nd0Px5WXcOhK2JGily6Ro/uoahzUm 0T/YggpgvT+RewGOH9H7wyZFz+/YUdURnxSKDVYA= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124510eucas1p2e1c21a165239ac044c2f9d89ed708ddf~xlU6oH_2f2242322423eucas1p2s; Mon, 15 Jul 2019 12:45:10 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 1F.C0.04325.6557C2D5; Mon, 15 Jul 2019 13:45:10 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124509eucas1p1f2e44af951158fbef1a245467956ef93~xlU5uAkea0154701547eucas1p1j; Mon, 15 Jul 2019 12:45:09 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124509eusmtrp1769b02b2087539853d553f6ca8e60e5b~xlU5f0Efw0524305243eusmtrp1E; Mon, 15 Jul 2019 12:45:09 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-15-5d2c75561d7d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id E3.27.04140.5557C2D5; Mon, 15 Jul 2019 13:45:09 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124508eusmtip2cf2dc22aa7f72b1418ad8ca53e849f1f~xlU4t1x3h1173411734eusmtip20; Mon, 15 Jul 2019 12:45:08 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, a.hajda@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, Lukasz Luba Subject: [PATCH v1 43/50] ARM: dts: exynos: add bus_isp in Exynos5422 Date: Mon, 15 Jul 2019 14:44:10 +0200 Message-Id: <20190715124417.4787-44-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190715124417.4787-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSf0yMcRzHfe+558fF2eNCX2lubmyECv3xnd+2Ws8YozazYrlzj6u5u3RP RdFcmX7cImJJ86Om1rnuqjslrljO0QhXIakVlmklTpM/wuKePRf/vT7v9/vzY999KUx2Dw+m kvVprEGv1CqIAPHtx5OeVXvSV+6PGChYgPrqXuDIXlaPozcTwzi67vaVxUOfMeTxNJDoee4Y ifqMIcgx1IOj8aJBHL10XiFQmee+CNncAySqftMlQl1Po1F/jplAp++5SfRwLB9HUz128ZZA xnrNChhv72mScVgKCeZW1UnmwddWEXO20QKY745Fu8j4gA1qVpucwRrCNx0ISBp5NCw6Mig5 Nuj8hhnBRcoEJBSkI6H39ZiYZxltBvD64ygTCPDxBICOAismFN8BtFnN5HTH15ZRv1EDYH7L O/JfS163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SxeQXsJc7MWc0IsUBeYvWGA8wgNidQ/Oe0 C2D1QgJ2EouP/mSawMi3gJFhFaNIamlxbnpusZFecWJucWleul5yfu4mRmDsbDv2c8sOxq53 wYcYBTgYlXh4HVK0Y4VYE8uKK3MPMUpwMCuJ8Np+BQrxpiRWVqUW5ccXleakFh9iNAU6aiKz lGhyPjCu80riDU0NzS0sDc2NzY3NLJTEeTsEDsYICaQnlqRmp6YWpBbB9DFxcEo1MOoFuVcV KPJ/Pve54FrZVv5bvX0Hnlxb8d3q1PQpPduenUuV39+U91Zo+vI/lzoOmz5UjMzpnql2O62m b1L3P/2FVg5rufqaCrfmWOaa3i0q2cflO/1vYspvA2HD5363tCX/b+1Ste1UNu3uUlfRCjDw db7FlxL0IOaVi+vZg4lz17F2+6z+ocRSnJFoqMVcVJwIADf5qXizAgAA X-CMS-MailID: 20190715124509eucas1p1f2e44af951158fbef1a245467956ef93 X-Msg-Generator: CA X-RootMTR: 20190715124509eucas1p1f2e44af951158fbef1a245467956ef93 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124509eucas1p1f2e44af951158fbef1a245467956ef93 References: <20190715124417.4787-1-l.luba@partner.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add bus_isp which changes ACLK400_ISP clock speed according to the bus documentation in the documentation. The bus_isp OPP table has been aligned to the new parent rate. This patch sets the proper parent and picks the init frequency before the devfreq governor starts working. It sets also parent rate (DPLL to 1200MHz). Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 990fe03fce75..852cb3dd495d 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -166,6 +166,18 @@ status = "okay"; }; +&bus_isp { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK400_ISP>, + <&clock CLK_MOUT_SW_ACLK400_ISP>, + <&clock CLK_DOUT_ACLK400_ISP>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>, + <&clock CLK_DOUT_ACLK400_ISP>; + assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>; + status = "okay"; +}; + &cpu0 { cpu-supply = <&buck6_reg>; };