Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp681253ybi; Wed, 17 Jul 2019 03:14:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqz17a1CyFg5am0Qx6n9vJxMFI71VCar8ONLfGlRRDarp6zOD3lDEzXO5jVbJQwiojxWdXHU X-Received: by 2002:a17:902:a409:: with SMTP id p9mr42593207plq.218.1563358470246; Wed, 17 Jul 2019 03:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563358470; cv=none; d=google.com; s=arc-20160816; b=zmagfuVZ6eqN1oVE5RROnNngx93JZew36W86qBSGF+s5pszRO01ZuBRVOHfp+HT5hv T+k1FbFbKVoURLO7CsFF3T+VeSN1dJhua1S1DX0IWMRhLp1FJuSrosLlaEY2A4owiDOK ccFzAXnbzivd+a10cGRRttkG8G7tAGoogk/HyqhtziFtn6Koy/FK28jOoR/uzyMJb7IV oyjeZt1FHFPIPl+eH9xu6pBXfCqEoNAgH+4cqL4he/7SAJefqoqoPqrC2dNlSTZn2YjS +PZgiXP7jPgChei+1Dc9TAdTH+CLtiVPpez6Jh31aOkatyRHcMV0c/mHdycUH1B1IZQo 1oyA== 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 :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=msykPZ7nNZ5cKGhvIIQpKdQpce5ccuHAg0jMxr0HQxQ=; b=HNhUusyaezxfj0Nw4V4CjY7xhWmnl3qfMf6lOR7dG3OPU7l8X5zGC5v75wj9HJ2/wN QQaMrkJ/upZYqRRVS4H7tpRTTO4KUD+zMwpN6kp+ubBKD13v71fhrDmp4h7MbS4j/WeP wS2af0BnJerKXyfJOAkfoZagYPDsmTOSJZiST7CnTthDcaJ9riPENPM9Plzy4MUFZJRJ AWthGQ6upPEZhK9Yok2o5LaWCfHQKbxG7zxSsMj+5ZWUqJ3UytIWNZoB53ovCJnmKw2H 9vfmGWagF25XRJHLP2Yr5NmFkK0VuFWGYLfLzjoWyJpKZ4yxQeYJj6iuAqaDmp+mUHyO clSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=rr83TGoG; 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 j5si22419558pgi.181.2019.07.17.03.14.13; Wed, 17 Jul 2019 03:14:30 -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=rr83TGoG; 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 S1726701AbfGQKMN (ORCPT + 99 others); Wed, 17 Jul 2019 06:12:13 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:42350 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725906AbfGQKMN (ORCPT ); Wed, 17 Jul 2019 06:12:13 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190717101211euoutp02d4e0319e7dacf64222a57096177d62cc~yKh6t88M70820208202euoutp02A for ; Wed, 17 Jul 2019 10:12:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190717101211euoutp02d4e0319e7dacf64222a57096177d62cc~yKh6t88M70820208202euoutp02A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563358331; bh=msykPZ7nNZ5cKGhvIIQpKdQpce5ccuHAg0jMxr0HQxQ=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=rr83TGoGUAuGjdlAyBxbxCc0TNqPpPS+qmtlLka8ivDg7ONhvDsE3eqTs9PSctzKV 2osPCKnWLLz5FCtphADZFEDMY9vPpbXlz8fYp9nU0YtzIViDfcn6D7lDBKb2U7onpn wBSKf5q6I14/CficAXHL0GWqOJFp+Pj3j6e000kU= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190717101211eucas1p2286cb55d32f69a6352eac20b051c1ef0~yKh54aJy72581725817eucas1p2d; Wed, 17 Jul 2019 10:12:11 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 5A.F4.04325.A74FE2D5; Wed, 17 Jul 2019 11:12:10 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190717101210eucas1p1eea10b59aecf5aaf5cac3a65d88e58b9~yKh5EVI_s2935029350eucas1p1X; Wed, 17 Jul 2019 10:12:10 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190717101209eusmtrp28b3e78eb7ba6e05908f153055725152c~yKh42FfH71055310553eusmtrp2L; Wed, 17 Jul 2019 10:12:09 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-99-5d2ef47a441f Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 7C.61.04140.974FE2D5; Wed, 17 Jul 2019 11:12:09 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190717101209eusmtip189222d06d22c1d5296d08a5647aeb5e2~yKh4G4tPE0483704837eusmtip1y; Wed, 17 Jul 2019 10:12:09 +0000 (GMT) Subject: Re: [PATCH v1 43/50] ARM: dts: exynos: add bus_isp in Exynos5422 To: Krzysztof Kozlowski Cc: 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, mturquette@baylibre.com, sboyd@kernel.org, =?UTF-8?Q?Bart=c5=82omiej_=c5=bbo=c5=82nierkiewicz?= , kgene@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, Chanwoo Choi , kyungmin.park@samsung.com, Andrzej Hajda , Marek Szyprowski , s.nawrocki@samsung.com, myungjoo.ham@samsung.com From: Lukasz Luba Message-ID: Date: Wed, 17 Jul 2019 12:12:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTYRjG+3YuO1rTz2X5ZmWxiG44u/3x2Y2CivVXhhFZSM08qaS2dtTS blpYNkq7q0OzqKFby1KHpZnUJlqJmqxS1tVmBalYqFlkmqezyP9+z/M9L+/7wMdRSjcTyMUl JvH6RG28ivWmK+t/Ngen9asjFxpNauIqbWZIWd5thrT1f2ZIUd2ozHF3UaSl5Y6cNB3rlpNy 90uGfDv9liHO6gKW5LXUysitujdyYmprlZHWp+vIq4wSlmQ+qJMTR/dJhgy/LKNXKzXWK1ak 6W3PlGvKLadYTcWNo5psmwVp+sqDwtht3iui+fi4FF4fsmqnd6zhZgurK/E9UFXlYtJR03gD 8uIALwWrNU9uQN6cEpcgaM++6hH9CNyP38ok0Yfge+lr9t9Ih93KSg/FCO7X/PKIHgRd5hxG TE3EG+BDn4sS2R/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hVCGLyCrhJdKwzAullEVCVWP7kNNgcUYEIib622WwgNq+AoMTJmU9Y QGxOgUCJc4dbwY5jFjCTmLf5ITOELS5x68l8JghbXmL72znMExiFZiFpn4WkZRaSlllIWhYw sqxiFEktLc5Nzy020itOzC0uzUvXS87P3cQIjPRtx35u2cHY9S74EKMAB6MSD6/HYd1YIdbE suLK3EOMEhzMSiK8tl+1Y4V4UxIrq1KL8uOLSnNSiw8xmgI9N5FZSjQ5H5iE8kriDU0NzS0s Dc2NzY3NLJTEeTsEDsYICaQnlqRmp6YWpBbB9DFxcEo1MK4y6Nn2kZ3JI1Pq+ozsWda3RK8I HTzBcs5Utoxp7soNnC2ti4UF7qytcOp6HOBixFPw+M8nvWfishJmpRcv9C2S1px74f5Cux1B rprHu/4mPjd6atL1wogx8czPIr3Kc3WTnjRuSsiIcv7OaafUorngePvVH93rr36JE+y5HOYv YeS3sv7FASWW4oxEQy3mouJEACuQ5WcKAwAA X-CMS-MailID: 20190717101210eucas1p1eea10b59aecf5aaf5cac3a65d88e58b9 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> <20190715124417.4787-44-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/17/19 12:02 PM, Krzysztof Kozlowski wrote: > On Mon, 15 Jul 2019 at 14:45, Lukasz Luba wrote: >> >> 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. > > Title and msg needs fixing. > > Please squash it with patch 18. You are right, it needs to be squashed. As I mentioned earlier Barek suggested offline to make 'atomic modifications' of OPPs and PLL/clocks rates for all affected children in the clock tree. Regards, Lukasz > > Best regards, > Krzysztof > >> 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 >> > >