Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4221808ybi; Mon, 15 Jul 2019 05:48:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxauTWPp1mU2drTIxT457meRKHe6o5/jv1TGZCdmp5CaA4XSq2jrgShJA1IyRfWQA8OHQbJ X-Received: by 2002:a63:460c:: with SMTP id t12mr26627571pga.69.1563194904393; Mon, 15 Jul 2019 05:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563194904; cv=none; d=google.com; s=arc-20160816; b=ITHLRpeB8hzJt9PAgrJy1H2wUdftG+CG+F4HrjUNRwUX4QMknhDA8sXLuFBYoqXMy2 sdfRBtwZgXGw3koV0xT16C9nfDNTK+63gDtaP9rIILhiUrSIkZEpFZSp8w1pzM3683zj C4EaycotVkeYHD0xTK63/x3U+klCGP4q4eRMqfAmoaotdIlMWhQtUX9E95SxCuUf1tdo 5UdpvmEEfzp3NGq8jOWur9XN/evA9xz5uGY10Mf6VTWeUoxzAgfJiLTnORPphcS4Gdx3 yGsWhg/73ZOCbC56JT0YiCEHaf1e5QPVePdtbYpIYv1XdApLVsK2JYX2awUoqcrEN2aI kkDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=JNlU+ZmxnzoctgxAgCVPM/SH+VMb8GGroKMeCa1CTrc=; b=kyNthbA5AYMqze/5Wp4ZJI0Oh4SK3qmAWodyXEsiMPIKLOlcvvHLfgpxWN8uBCqmSK M708+av+Evjyr74S3tEACqasfhPSefJ4kf7TchpFNBDbr/tP0rBZEAs0YA3bBf6X24Fl 7p7IZ6cGG0+uKcc8l/R6AQUqF75S7EgUv68pp/z0WEBfv8rRw3/WJcBOxR1z7jsnBBLc wHZClEHUG6ArtMcseeZrV8LxM+lSm9802vyzAnKU1Wm+QGnHAcJdlCWGnWI0X6NWw1VP kj2htqc6eGUijH4DZ5FZ6uSPlnQC2JnX3Ys4cBjm6RSxIzW6yl2FvnjWi3Vr60b4kazp OJAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=H6Koa0Aq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12si15838772pla.363.2019.07.15.05.48.05; Mon, 15 Jul 2019 05:48:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=H6Koa0Aq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730537AbfGOMpq (ORCPT + 99 others); Mon, 15 Jul 2019 08:45:46 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50030 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730411AbfGOMpN (ORCPT ); Mon, 15 Jul 2019 08:45:13 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124511euoutp02f6c427df68ab3f35ef77eaadec4056b2~xlU7gckNZ0715707157euoutp022 for ; Mon, 15 Jul 2019 12:45:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124511euoutp02f6c427df68ab3f35ef77eaadec4056b2~xlU7gckNZ0715707157euoutp022 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/JfS163Q2QCFEXQYfCOJZVvmEtXAeieVPEZjH4rgq0f7+K8EUhHw495xQTPYnopbCseAzxL 6c3w2ZVaI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ZFecWJucWleul5yfu4mRmDsbDv2c8sOxq53 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 Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190715124509eucas1p1f2e44af951158fbef1a245467956ef93 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124509eucas1p1f2e44af951158fbef1a245467956ef93 References: <20190715124417.4787-1-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; }; -- 2.17.1