From patchwork Mon Jul 15 12:43:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043929 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 2FB7E13B1 for ; Mon, 15 Jul 2019 12:48:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2108226D05 for ; Mon, 15 Jul 2019 12:48:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F0F6284BD; Mon, 15 Jul 2019 12:48:41 +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 B851526D05 for ; Mon, 15 Jul 2019 12:48:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730286AbfGOMsk (ORCPT ); Mon, 15 Jul 2019 08:48:40 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49554 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730068AbfGOMoh (ORCPT ); Mon, 15 Jul 2019 08:44:37 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124436euoutp02e15ddbca82477d4c18f4108921d0f9f4~xlUaYGmAo0599205992euoutp02L for ; Mon, 15 Jul 2019 12:44:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124436euoutp02e15ddbca82477d4c18f4108921d0f9f4~xlUaYGmAo0599205992euoutp02L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194676; bh=YkxyQcPd7jAqlU+w/9184ePjjwebQte/K3v31Q58EAw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nDdNPZRXjz7fIp56nsIgc0gwsne0Hsvemfa0NSxek2AYJ4+r/BemQiwt7HblqB3VC KUJjBkVkiEA/cmJxNn0uRHOXUES4cVQvpQ+A//rEtPW5hrdCHfzzrMuzHttYZ/sd+a vOqMlTHpx94fgzAWybVOfcC3IFvy+hiwjJ/A5Xww= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124435eucas1p1d4e613edd6c7e288e8ad0137b7e07ea5~xlUZme7SU0147201472eucas1p1y; Mon, 15 Jul 2019 12:44:35 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 95.A0.04325.2357C2D5; Mon, 15 Jul 2019 13:44:35 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124434eucas1p273e2efaad8bc3904c6f76cc1671aeb6c~xlUY5NUb80800208002eucas1p2P; Mon, 15 Jul 2019 12:44:34 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124434eusmtrp18f3e71b8cbe4efad9eda6f5fad5aa9f3~xlUYrJsed0462004620eusmtrp1n; Mon, 15 Jul 2019 12:44:34 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-a5-5d2c7532909b Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 4D.30.04146.2357C2D5; Mon, 15 Jul 2019 13:44:34 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124433eusmtip231659ca0cbb0d01f23d43e343d67655e~xlUX6kOz71101111011eusmtip2F; Mon, 15 Jul 2019 12:44:33 +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 01/50] clk: samsung: add new IDs for Exynos5420 clocks Date: Mon, 15 Jul 2019 14:43:28 +0200 Message-Id: <20190715124417.4787-2-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: H4sIAAAAAAAAA0WSfyzUYRzHPfe97w/m6uk0nhDrWq3ICaVnq8SqddXWWv+0aaaT705x6L6I ajlFxYhUokXkGrsoJDu/86POSn5kcUllu7a2/Ap3NZspX1/Vf+/P+/P6vD+fPXsYQmognZnT 0XGsJloZJaPsxHWv5nq8/OK3hGwt2IyHn/SQuDr/KYmHLN9I/KBzscw2jxG4t7eKxm8vj9N4 WOuKa8yDJJ7O/EzigYb7FM7vbRHhys5PNH401C/C/a/3448p5RROa+6kccf4NRIvDFaLAx0U FUUVQDFlSqMVNfp0SvFMl6xom2wSKW7U6oFitsbtKB1styucjTqdwGq8A07aRRQaG+nYLysT p5730lrQLMkAtgyC21DHgI7IAHaMFJYDNPLwNykUFoBy8lMAT0nhLEANJTEZgFmayHm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JW6caQWbwytgJ3F49zuo+fISqzccYAaxOQXsJX5O uwC1y05i8dGfTBMY+RYwMqxiFEktLc5Nzy021CtOzC0uzUvXS87P3cQIjJttx35u3sF4aWPw IUYBDkYlHl6HFO1YIdbEsuLK3EOMEhzMSiK8tl+BQrwpiZVVqUX58UWlOanFhxhNgY6ayCwl mpwPjOm8knhDU0NzC0tDc2NzYzMLJXHeDoGDMUIC6YklqdmpqQWpRTB9TBycUg2MRWd6Sqdc mHnmf+ZSnrnKm05yVfGk2TEmTJfo5/57c70Xi/vcukrX6e3fJzH4GTjJiYXMSjr4VETVP+h/ xLc7K5Z96N92aXGq0jnznE2azK+zdjlzpu7lWnbTwn1+8OQGaZlE/9+njweIv/dy2Fm7c/dr Drf6yy6/V9TaLPlV95U/R6Z9404lJZbijERDLeai4kQA1OpPBLECAAA= X-CMS-MailID: 20190715124434eucas1p273e2efaad8bc3904c6f76cc1671aeb6c X-Msg-Generator: CA X-RootMTR: 20190715124434eucas1p273e2efaad8bc3904c6f76cc1671aeb6c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124434eucas1p273e2efaad8bc3904c6f76cc1671aeb6c 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 There is a need of new IDs which will be used for modeling proper hierarchy in the Exynos54xx SoCs. Previous implementation rely on bootloader settings, which are not configuring properly some clocks. These IDs provide interface to set proper parents. Signed-off-by: Lukasz Luba --- include/dt-bindings/clock/exynos5420.h | 27 +++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/exynos5420.h b/include/dt-bindings/clock/exynos5420.h index 02d5ac469a3d..c37a28eeaf7e 100644 --- a/include/dt-bindings/clock/exynos5420.h +++ b/include/dt-bindings/clock/exynos5420.h @@ -230,6 +230,30 @@ #define CLK_MOUT_USER_MAU_EPLL 659 #define CLK_MOUT_SCLK_SPLL 660 #define CLK_MOUT_MX_MSPLL_CCORE_PHY 661 +#define CLK_MOUT_ACLK400_WCORE 662 +#define CLK_MOUT_SCLK_DPLL 663 +#define CLK_MOUT_ACLK100_NOC 664 +#define CLK_MOUT_ACLK200_FSYS2 665 +#define CLK_MOUT_PCLK200_FSYS 666 +#define CLK_MOUT_ACLK200_FSYS 667 +#define CLK_MOUT_ACLK400_ISP 668 +#define CLK_MOUT_ACLK400_MSCL 669 +#define CLK_MOUT_SCLK_MPLL 700 +#define CLK_MOUT_ACLK266 701 +#define CLK_MOUT_UART0 702 +#define CLK_MOUT_UART1 703 +#define CLK_MOUT_UART2 704 +#define CLK_MOUT_UART3 705 +#define CLK_MOUT_SCLK_CPLL 706 +#define CLK_MOUT_PWM 707 +#define CLK_MOUT_ACLK266_G2D 708 +#define CLK_MOUT_SW_ACLK400_WCORE 709 +#define CLK_MOUT_SW_ACLK400_MSCL 710 +#define CLK_MOUT_SW_ACLK400_ISP 711 +#define CLK_MOUT_SW_ACLK266_ISP 712 +#define CLK_MOUT_USER_ACLK266_ISP 713 +#define CLK_MOUT_ACLK266_ISP 714 +#define CLK_MOUT_MMC0 715 /* divider clocks */ #define CLK_DOUT_PIXEL 768 @@ -264,8 +288,9 @@ #define CLK_FF_DOUT_SPLL2 797 #define CLK_DOUT_PCLK_DREX0 798 #define CLK_DOUT_PCLK_DREX1 799 +#define CLK_DOUT_ACLK266_ISP 800 /* must be greater than maximal clock id */ -#define CLK_NR_CLKS 800 +#define CLK_NR_CLKS 801 #endif /* _DT_BINDINGS_CLOCK_EXYNOS_5420_H */ From patchwork Mon Jul 15 12:43:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043933 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 85B7F13A4 for ; Mon, 15 Jul 2019 12:48:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7615D284AF for ; Mon, 15 Jul 2019 12:48:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A3D828498; Mon, 15 Jul 2019 12:48: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 DDAD1284A3 for ; Mon, 15 Jul 2019 12:48:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730310AbfGOMsq (ORCPT ); Mon, 15 Jul 2019 08:48:46 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49562 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730089AbfGOMoh (ORCPT ); Mon, 15 Jul 2019 08:44:37 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124436euoutp02ee84adccc6e6b828f2d9ca0f4f3e2ed9~xlUavUnAo0599405994euoutp02I for ; Mon, 15 Jul 2019 12:44:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124436euoutp02ee84adccc6e6b828f2d9ca0f4f3e2ed9~xlUavUnAo0599405994euoutp02I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194676; bh=Dn0La38UTdK81pTnhGUZ+0DwTUWdoEvIQxo8Zq3bKas=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aSb+iDkRPMoPilXy7uM1eqaxNxiRy8J16AtWa7bcjM/Aahze4AaPYs3prTVH5Qsjx yzjLniQ3crV+mHs5uAnUqfqN/jcNaGeBUkGZj5s1rWU5r3GoJrizuCeA45JO6guz2P rXdFAAqBRcrKjbx0NVmC2EQgaghL0mRLdBrsO290= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124435eucas1p10f881c6b41b8d7553717ae9608c69417~xlUaLmS1F3092130921eucas1p1Q; Mon, 15 Jul 2019 12:44:35 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 92.D1.04377.3357C2D5; Mon, 15 Jul 2019 13:44:35 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124435eucas1p2099cd7670a3d85d9b11eb0ff86041a2a~xlUZdaFD72439124391eucas1p2D; Mon, 15 Jul 2019 12:44:35 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124435eusmtrp1788a565568aaffdca930972e5b89f8cb~xlUZcJcXF0421504215eusmtrp1g; Mon, 15 Jul 2019 12:44:35 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-ca-5d2c7533df41 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id C3.F6.04140.3357C2D5; Mon, 15 Jul 2019 13:44:35 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124434eusmtip2d1ff7cf9bd1e65e58bf6a6cb37d55f08~xlUYqJlzb0518605186eusmtip2d; Mon, 15 Jul 2019 12:44:34 +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 02/50] clk: samsung: add IDs for Exynos5420 NoC clocks Date: Mon, 15 Jul 2019 14:43:29 +0200 Message-Id: <20190715124417.4787-3-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: H4sIAAAAAAAAA0WSe0hTYRjG+3Z2ds6syWlGvZRYDELN0m7EB5VdKJiEUVBIF6uZJ7V0rh21 rNBZrfKWYlFas7ziUNO1RNSmlZlSms4u80YpWlTqsnD+YRdt86z67/c+7/u8z8vHRxNSE7mQ jlDGsGqlIlImchFWN0+2r1gTuzx45VutJ+6taCfx/exKEnfZPpH4bpO9zBgaIXBHh4HCL8+P UrhX446NQxYSf097T+LXdToRzu5oEOB7Te8oXNzVKcCdL7bjviS9CGvrmyj8dPQyiacs94Wb 3eTld8qRfKxbS8mNpcki+YOiRPmTryaB/GpVKZKPGz12UftdNoSykRFxrNrP/4hLeOfvONVn 5nTfN61Qg2pdU5CYBmYtWHtGhA6WMnoEFa/9UpCLnW0IsnNMFF+MI+jP1hN/HVmFxQTfKEGQ MfFG8M/SWGgkUxBNixhfqCk96TDMY4oQNE2GOGYIpkcApg+1pKPhxgRAVUPdDAuZpfA888tM goTxB11/M+LTFkOZ4fGMLmY2weQNs8ixCJh2Ciw6i/OkbfCosoXk2Q2GW6oont2h9VqakGcO NOn5zqXnYCgj1zmzHp62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FpTmpxYcYTYGOmsgsJZqc D4zpvJJ4Q1NDcwtLQ3Njc2MzCyVx3g6BgzFCAumJJanZqakFqUUwfUwcnFINjCEJ2RPUWWSc MqdICd0KfC2y/JFEbuX9kt88pnxzO/uaBDcci1Hbd/ZKpk+LZrmE4IxjzZxRMg8s3mWvYjss 0t4q1Lg9ganj2N5XM7zOHvk6rUdiPkPZi6VfDh5mlrcXqg/Y5XYvLdPNTPpMUKx53bIz/On6 0y8yf3/xUeLf2d27d09hVT67WImlOCPRUIu5qDgRANF3CuKxAgAA X-CMS-MailID: 20190715124435eucas1p2099cd7670a3d85d9b11eb0ff86041a2a X-Msg-Generator: CA X-RootMTR: 20190715124435eucas1p2099cd7670a3d85d9b11eb0ff86041a2a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124435eucas1p2099cd7670a3d85d9b11eb0ff86041a2a 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 The patch adds NoC WCORE clock IDs needed used for changing parent of the main NoC clock from the DT device. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 16ad498e3f3f..d353870e7fda 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -463,7 +463,8 @@ static const struct samsung_fixed_factor_clock static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { MUX(0, "mout_aclk400_isp", mout_group3_5800_p, SRC_TOP0, 0, 3), MUX(0, "mout_aclk400_mscl", mout_group3_5800_p, SRC_TOP0, 4, 3), - MUX(0, "mout_aclk400_wcore", mout_group2_5800_p, SRC_TOP0, 16, 3), + MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group2_5800_p, + SRC_TOP0, 16, 3), MUX(0, "mout_aclk100_noc", mout_group1_5800_p, SRC_TOP0, 20, 2), MUX(0, "mout_aclk333_432_gscl", mout_group6_5800_p, SRC_TOP1, 0, 2), @@ -548,7 +549,8 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { MUX(0, "mout_aclk400_isp", mout_group1_p, SRC_TOP0, 0, 2), MUX(0, "mout_aclk400_mscl", mout_group1_p, SRC_TOP0, 4, 2), - MUX(0, "mout_aclk400_wcore", mout_group1_p, SRC_TOP0, 16, 2), + MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group1_p, + SRC_TOP0, 16, 2), MUX(0, "mout_aclk100_noc", mout_group1_p, SRC_TOP0, 20, 2), MUX(0, "mout_aclk333_432_gscl", mout_group4_p, SRC_TOP1, 0, 2), @@ -674,8 +676,8 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { SRC_TOP10, 8, 1), MUX(0, "mout_sw_aclk200_fsys2", mout_sw_aclk200_fsys2_p, SRC_TOP10, 12, 1), - MUX(0, "mout_sw_aclk400_wcore", mout_sw_aclk400_wcore_p, - SRC_TOP10, 16, 1), + MUX(CLK_MOUT_SW_ACLK400_WCORE, "mout_sw_aclk400_wcore", + mout_sw_aclk400_wcore_p, SRC_TOP10, 16, 1), MUX(0, "mout_sw_aclk100_noc", mout_sw_aclk100_noc_p, SRC_TOP10, 20, 1), MUX(0, "mout_sw_pclk200_fsys", mout_sw_pclk200_fsys_p, From patchwork Mon Jul 15 12:43:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043711 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 60C071395 for ; Mon, 15 Jul 2019 12:44:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51D9E26D08 for ; Mon, 15 Jul 2019 12:44:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45986283AD; Mon, 15 Jul 2019 12:44:41 +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=ham 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 DB0931FEBD for ; Mon, 15 Jul 2019 12:44:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730147AbfGOMok (ORCPT ); Mon, 15 Jul 2019 08:44:40 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49576 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730139AbfGOMoj (ORCPT ); Mon, 15 Jul 2019 08:44:39 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124437euoutp022d1658df4bb4d41f98b97fda31c7f5bd~xlUcEmsVH0599205992euoutp02P for ; Mon, 15 Jul 2019 12:44:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124437euoutp022d1658df4bb4d41f98b97fda31c7f5bd~xlUcEmsVH0599205992euoutp02P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194677; bh=hGig9Rzkx3mDs5eAMnepeN87i1SlggiWZ7aSYKVnbqo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WHof3DfayBv2tQYzCKJCz+cXodCMztEj2mo6DQ5hn3MiEFhs4cbDp4kfZ8zgZEGuT d+DG8zg0o4v7T+0Jf3KPc2HfK/xqfwRNc32BVsUaMyyHdYTZJqa9Eklz4UTsWkcZ+O 4DqRE54RUWFeO/qJPx4wLTMJ+OTvESjj/qzzPil8= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124437eucas1p14e9baf4d4e5c391d86e6c6428a07f7ac~xlUbVJyjZ0156501565eucas1p1_; Mon, 15 Jul 2019 12:44:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 40.25.04298.4357C2D5; Mon, 15 Jul 2019 13:44:36 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124436eucas1p28a581bc25f6dae52a5b9b1af26d26368~xlUaexKUl3211032110eucas1p2o; Mon, 15 Jul 2019 12:44:36 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124435eusmtrp16beae56206d9992cd7b65d74a399b565~xlUaQq-170421504215eusmtrp1h; Mon, 15 Jul 2019 12:44:35 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-97-5d2c7534ad2c Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 40.40.04146.3357C2D5; Mon, 15 Jul 2019 13:44:35 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124435eusmtip2caa2e667ade83f596d9b5824a60cdd83~xlUZbUEac1172811728eusmtip2h; Mon, 15 Jul 2019 12:44:35 +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 03/50] clk: samsung: change parent of dout_aclk400_wcore in Exynos5420 Date: Mon, 15 Jul 2019 14:43:30 +0200 Message-Id: <20190715124417.4787-4-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: H4sIAAAAAAAAA+NgFtrNKsWRmVeSWpSXmKPExsWy7djPc7ompTqxBluO6VvcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6MXTumMxVMZK84MMGhgXEyWxcjJ4eE gInE2/3n2UFsIYEVjBKfV9t3MXIB2V8YJfbMv8UI4XxmlJh8djqQwwHWsaXTGyK+nFFi080Z LHAdu15/ZAcpYhPQk9ixqhBkqojAEkaJIz+TQGqYBW4ySex5spMVJCEsEC3x+mUjM4jNIqAq sb71DtgZvAJ2Ev2NJ1ggzpOXWL3hAFgNp4C9xM9pF9hABkkIXGKXmPGumwmiyEVi4uTPjBC2 sMSr41vYIWwZidOTe6AGFUs09C6EqqmReNw/F6rGWuLw8YusIEczC2hKrN+lDxF2lLi6rZMd 4mE+iRtvBUHCzEDmpG3TmSHCvBIdbUIQ1RoSW3ouQB0jJrF8zTSo4R4Sp78cZ4cEzyRG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1OzW1ILUIpo+Jg1OqgXHBxlexKge+ r+Kev/rQ5FLvyxzzFd25+CK3VL50ajW8853XNu7NA8+7+2ezuZevEqnT3jW32POYkqvAhZyU ZQvLqi99aeBx8xPQkp9g73LGbGVexa66GKGzv1l1TigtVv219JG0/tWW+Z0ax87X13CY5W0O 6Zl/du0a3bd6R36s2KAiZrVaokWJpTgj0VCLuag4EQBK+UnCsAIAAA== X-CMS-MailID: 20190715124436eucas1p28a581bc25f6dae52a5b9b1af26d26368 X-Msg-Generator: CA X-RootMTR: 20190715124436eucas1p28a581bc25f6dae52a5b9b1af26d26368 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124436eucas1p28a581bc25f6dae52a5b9b1af26d26368 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 Change parent of dout_aclk400_wcore to mout_aclk400_wcore which reflects topology described in the RM. Signed-off-by: Lukasz Luba Acked-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5420.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index d353870e7fda..361ee53fc9fc 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -577,7 +577,7 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { static const struct samsung_div_clock exynos5420_div_clks[] __initconst = { DIV(CLK_DOUT_ACLK400_WCORE, "dout_aclk400_wcore", - "mout_aclk400_wcore_bpll", DIV_TOP0, 16, 3), + "mout_aclk400_wcore", DIV_TOP0, 16, 3), }; static const struct samsung_gate_clock exynos5420_gate_clks[] __initconst = { From patchwork Mon Jul 15 12:43:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043921 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 3C6FD13A4 for ; Mon, 15 Jul 2019 12:48:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C2952849D for ; Mon, 15 Jul 2019 12:48:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20A0527FAC; Mon, 15 Jul 2019 12:48:35 +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=ham 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 AEC7C2849D for ; Mon, 15 Jul 2019 12:48:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730019AbfGOMse (ORCPT ); Mon, 15 Jul 2019 08:48:34 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49588 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730144AbfGOMoj (ORCPT ); Mon, 15 Jul 2019 08:44:39 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124438euoutp02eafdb26575fa838e076ed5cfc36c4785~xlUc43nBB0599405994euoutp02L for ; Mon, 15 Jul 2019 12:44:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124438euoutp02eafdb26575fa838e076ed5cfc36c4785~xlUc43nBB0599405994euoutp02L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194678; bh=XoFa4dmm8dDeVK12ljWsbis1GfZPOfLYGWx2zF9kYwI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LdTZIvUVNL74ZESo49vC4TL5yo3FqaKH9OOthO7jo2rmIHMjhRJoeptts/fD7lfRw dRNXpNYkPmxbFiF7IFuy+FrUBO32IQZBDW3Qrn0P2W12cDTkMxoBgHFCd5EOgvg3DY hwfWxlPf92y044zEGTDpxGpCIf/Z924JY8JakjW8= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124437eucas1p2747bd7e25bfb480364258190704768f9~xlUcC4CGL2439124391eucas1p2G; Mon, 15 Jul 2019 12:44:37 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 44.D1.04377.5357C2D5; Mon, 15 Jul 2019 13:44:37 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124437eucas1p1827d7b5d7196f060799e5df6c27d29ad~xlUbOkbKw3056930569eucas1p1L; Mon, 15 Jul 2019 12:44:37 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124436eusmtrp132f287fdda1f87a01171592cbe97eb9b~xlUbAcVPJ0462004620eusmtrp1u; Mon, 15 Jul 2019 12:44:36 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-cf-5d2c75359474 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A1.40.04146.4357C2D5; Mon, 15 Jul 2019 13:44:36 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124435eusmtip2929ecdd38a0b73990242b46860f21749~xlUaOaKN01101111011eusmtip2H; Mon, 15 Jul 2019 12:44:35 +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 04/50] clk: samsung: add IDs to manage aclk400_mscl in Exynos5420 Date: Mon, 15 Jul 2019 14:43:31 +0200 Message-Id: <20190715124417.4787-5-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: H4sIAAAAAAAAA0WSeyyVcRjH+73veS/M0esgv2HUWVoXORTbb0vSlu0df6R12boYR95cDzov SmlRKcxtmGRJNsack1uYhIWzQy65LURJsbW5nWP0hzRyvKr/Ps/3+T7P97dnPxqXtBLWdGhk DKeMlEdISWNRo3Zt4KhbrKOfc8/HA2ii6gOBaguqCTS2+oNAxZqtMmtmHkcDAzUU6n+wQKGJ RFtUNzNKoOX0KQKNND8nUcFAG4Zeab5QqGxsCENDPV5oMqmCRMmtGgp1Ljwh0MZorcjTnFW/ UANWN55MsXWVqST7uvQ+277UgrGZ9ZWAXamz86WuGLsHcRGhcZxS5hFgHDKa2YNH63bfzs4b IRNBvzgN0DRkXKH2K5UGjGkJUwFg75AKF4pVAIsKZ3eKFQBrlqqINGC0PTE6oSWFRjmAJdpk 0b+R0r4GzLCXZJxgU+VNw4AFUwqgZi3Q4MGZTxhsmX2zvcmcuQTbH85jBhYxDnAjP4M0sJj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mpesl5+duYgRGzrZjPzfvYLy0MfgQ owAHoxIPr0OKdqwQa2JZcWXuIUYJDmYlEV7br0Ah3pTEyqrUovz4otKc1OJDjKZAR01klhJN zgdGdV5JvKGpobmFpaG5sbmxmYWSOG+HwMEYIYH0xJLU7NTUgtQimD4mDk6pBkbv9LVH92RL XfbY4qMl7Vd2v/j4ZIEvmR7rphxJ9+RIzTG7cKP4Elvd86OLt8zRY2Z0yZq24Jmsw9Qv4R8M 1t0RnhB+RNdT/MEJ/tVb1T5uWGFSckv16LIPz7SfPuOf0rhh2vYtL21ZAr+cClBe3VB6M/jV zy8aKrHs+SxJ6y+9WPk7SDgp4MZZJZbijERDLeai4kQAk0CNrbICAAA= X-CMS-MailID: 20190715124437eucas1p1827d7b5d7196f060799e5df6c27d29ad X-Msg-Generator: CA X-RootMTR: 20190715124437eucas1p1827d7b5d7196f060799e5df6c27d29ad X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124437eucas1p1827d7b5d7196f060799e5df6c27d29ad 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 needed IDs to MUXes which are used from DT to properly set clock hierarchy. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 361ee53fc9fc..8f1d39cb2f1e 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -462,7 +462,8 @@ static const struct samsung_fixed_factor_clock static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { MUX(0, "mout_aclk400_isp", mout_group3_5800_p, SRC_TOP0, 0, 3), - MUX(0, "mout_aclk400_mscl", mout_group3_5800_p, SRC_TOP0, 4, 3), + MUX(CLK_MOUT_ACLK400_MSCL, "mout_aclk400_mscl", mout_group3_5800_p, + SRC_TOP0, 4, 3), MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group2_5800_p, SRC_TOP0, 16, 3), MUX(0, "mout_aclk100_noc", mout_group1_5800_p, SRC_TOP0, 20, 2), @@ -548,7 +549,8 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { TOP_SPARE2, 4, 1), MUX(0, "mout_aclk400_isp", mout_group1_p, SRC_TOP0, 0, 2), - MUX(0, "mout_aclk400_mscl", mout_group1_p, SRC_TOP0, 4, 2), + MUX(CLK_MOUT_ACLK400_MSCL, "mout_aclk400_mscl", mout_group1_p, + SRC_TOP0, 4, 2), MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group1_p, SRC_TOP0, 16, 2), MUX(0, "mout_aclk100_noc", mout_group1_p, SRC_TOP0, 20, 2), @@ -670,8 +672,8 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { MUX(0, "mout_sw_aclk400_isp", mout_sw_aclk400_isp_p, SRC_TOP10, 0, 1), - MUX(0, "mout_sw_aclk400_mscl", mout_sw_aclk400_mscl_p, - SRC_TOP10, 4, 1), + MUX(CLK_MOUT_SW_ACLK400_MSCL, "mout_sw_aclk400_mscl", + mout_sw_aclk400_mscl_p, SRC_TOP10, 4, 1), MUX(CLK_MOUT_SW_ACLK200, "mout_sw_aclk200", mout_sw_aclk200_p, SRC_TOP10, 8, 1), MUX(0, "mout_sw_aclk200_fsys2", mout_sw_aclk200_fsys2_p, From patchwork Mon Jul 15 12:43:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043919 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 D686713A4 for ; Mon, 15 Jul 2019 12:48:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C83E620408 for ; Mon, 15 Jul 2019 12:48:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5F60284C0; Mon, 15 Jul 2019 12:48:33 +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 6AA15284A5 for ; Mon, 15 Jul 2019 12:48:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730275AbfGOMsW (ORCPT ); Mon, 15 Jul 2019 08:48:22 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49599 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730148AbfGOMol (ORCPT ); Mon, 15 Jul 2019 08:44:41 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124439euoutp024627b25fff5743da2ae31da88c8ac4d4~xlUdjORY60599205992euoutp02S for ; Mon, 15 Jul 2019 12:44:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124439euoutp024627b25fff5743da2ae31da88c8ac4d4~xlUdjORY60599205992euoutp02S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194679; bh=4zrsUTzlnmSqadoHJ5f+VbeMYaBjak3MZkpWWAiAL3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BcTsishMJlSsXCdWzQAPjclUpWhYJtGvNjrcMbpbKQv7jaZA4soS6P+J+3S86Aaei lFHW/8XnjpR3r6zZ+x0sW4cwzKEU+kqx9u4UnuFxQBWnN+2wzqXpdnwFOYf8Cc+mXa VnxbxwcO7D7JSBHgsvmE7VBYL1bF3fTJ+n9WNzqA= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124438eucas1p2d57b3536b548e05df682317febfae6c2~xlUcySrGY0850908509eucas1p2L; Mon, 15 Jul 2019 12:44:38 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id E5.D1.04377.6357C2D5; Mon, 15 Jul 2019 13:44:38 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124437eucas1p2d817f0c1fcf4b523c7910218a6e557d9~xlUb-_Zmm2242322423eucas1p2J; Mon, 15 Jul 2019 12:44:37 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124437eusmtrp124daa6b8558ca2bb0eb09bbef0fae2d9~xlUbx0ur_0462004620eusmtrp1v; Mon, 15 Jul 2019 12:44:37 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-d1-5d2c753630b6 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 45.F6.04140.5357C2D5; Mon, 15 Jul 2019 13:44:37 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124436eusmtip287acc56a8509bcdeaa79d337e40e1682~xlUa-Bapw1172811728eusmtip2i; Mon, 15 Jul 2019 12:44:36 +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 05/50] clk: samsung: add IDs to aclk400_isp in Exynos5420 Date: Mon, 15 Jul 2019 14:43:32 +0200 Message-Id: <20190715124417.4787-6-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: H4sIAAAAAAAAA0VSa0hTYRju29nZOa6Wp2n6ZpK46GZmabcPMkvKOIVBP+qPoTX1ZBedtqOW GWSRaaJZBmoXy2ipTTPzrrg0XY0yt0mR5lDDSRe7pwmjsjaP0r/nfZ/by8dHE/Im0oM+pErk 1CplrEIiFdc/sRlXrEvyDV9lvjsX91UaSfyg8D6Je8bekfim3j7mWj8S2GSqonDXmU8U7kvz xNXWVyT+nj1A4hfN1yW40PRQhO/p+yl8p6dbhLufhWDL6TIJTtfpKdzxKYPEE68eiDe7sBU3 KhD7tTedYqu15yVsjeYU++hLi4i9UKtF7Gj1gl1UmDQwmos9lMypVwbtlx5816URJ3xwPv7Y LE1DL2RZyIkGZg08MV8TZSEpLWfKEDTUGykHIWfGEBhH4wViFMGviV5q2pGRoxELRCkCi6UA CYPd0XomV5KFaFrC+EGj9qjD4MpoEOhtkQ4NwbwWQctwE+kgXJhQ0AxkT2IxswgsxSWTDTIm CO4Y/oiFNi8or2ojHNiJ2QS2fLPEEQSMkYLyLutkGTBb4e0fL0HvAiOG2qlLPaHzcvZUDg9p ObeQgE+CNbdoSrMBOgzdpCOGYJbB/eaVQmIwNJoCBDgbej/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c2MzCyVx3g6BgzFCAumJJanZqakFqUUwfUwcnFINjBcfeJ18tnfN LaNIpqUvV7Q3XX47K5Rz//9os1YGnkVmxyNzrWOjvdy8phuoMUgI2fNnldyqiO/Q/nn/eIjH LV6Dmf+crJxlnY5mXVlqOW9BSeTKxVb/WD/MZV5wVc1Ug0Voxfe4a25N9TXRR14clG/7eGRL 08v3E12KZX3XdQYa75qQJF66TImlOCPRUIu5qDgRAH5zF3mxAgAA X-CMS-MailID: 20190715124437eucas1p2d817f0c1fcf4b523c7910218a6e557d9 X-Msg-Generator: CA X-RootMTR: 20190715124437eucas1p2d817f0c1fcf4b523c7910218a6e557d9 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124437eucas1p2d817f0c1fcf4b523c7910218a6e557d9 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 clock IDs to MUXes related to ACLK400_ISP for managing them from DT devices. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 8f1d39cb2f1e..74276875bc3e 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -461,7 +461,8 @@ static const struct samsung_fixed_factor_clock }; static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { - MUX(0, "mout_aclk400_isp", mout_group3_5800_p, SRC_TOP0, 0, 3), + MUX(CLK_MOUT_ACLK400_ISP, "mout_aclk400_isp", mout_group3_5800_p, + SRC_TOP0, 0, 3), MUX(CLK_MOUT_ACLK400_MSCL, "mout_aclk400_mscl", mout_group3_5800_p, SRC_TOP0, 4, 3), MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group2_5800_p, @@ -548,7 +549,8 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { MUX(0, "mout_aclk400_wcore_bpll", mout_aclk400_wcore_bpll_p, TOP_SPARE2, 4, 1), - MUX(0, "mout_aclk400_isp", mout_group1_p, SRC_TOP0, 0, 2), + MUX(CLK_MOUT_ACLK400_ISP, "mout_aclk400_isp", mout_group1_p, + SRC_TOP0, 0, 2), MUX(CLK_MOUT_ACLK400_MSCL, "mout_aclk400_mscl", mout_group1_p, SRC_TOP0, 4, 2), MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group1_p, @@ -670,8 +672,8 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { MUX(0, "mout_sclk_dpll", mout_dpll_p, SRC_TOP6, 24, 1), MUX(0, "mout_sclk_cpll", mout_cpll_p, SRC_TOP6, 28, 1), - MUX(0, "mout_sw_aclk400_isp", mout_sw_aclk400_isp_p, - SRC_TOP10, 0, 1), + MUX(CLK_MOUT_SW_ACLK400_ISP, "mout_sw_aclk400_isp", + mout_sw_aclk400_isp_p, SRC_TOP10, 0, 1), MUX(CLK_MOUT_SW_ACLK400_MSCL, "mout_sw_aclk400_mscl", mout_sw_aclk400_mscl_p, SRC_TOP10, 4, 1), MUX(CLK_MOUT_SW_ACLK200, "mout_sw_aclk200", mout_sw_aclk200_p, From patchwork Mon Jul 15 12:43:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043915 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 5048713B1 for ; Mon, 15 Jul 2019 12:48:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 420A9284B3 for ; Mon, 15 Jul 2019 12:48:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36AB928498; Mon, 15 Jul 2019 12:48:21 +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 CA04F26D08 for ; Mon, 15 Jul 2019 12:48:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730172AbfGOMom (ORCPT ); Mon, 15 Jul 2019 08:44:42 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49611 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730156AbfGOMom (ORCPT ); Mon, 15 Jul 2019 08:44:42 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124440euoutp02e9dc8b7e1300945928c572eea665dfd9~xlUeSQhE40599405994euoutp02N for ; Mon, 15 Jul 2019 12:44:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124440euoutp02e9dc8b7e1300945928c572eea665dfd9~xlUeSQhE40599405994euoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194680; bh=aspHlYa7QfVNbt0m/zM8Gdr/1j4WzgE5QUGHA0dWKzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tXTuNuGRezkxxPbZX7viwSD+uHlNwMFlfxhivhGKhzRVDVj4AiT+EdCNvfZvfCRRs xzfRbGi8Zf9o512C/Qnc5bNa1DEPc8nAL2aTUN+EazJc0s3TNYeFBvC7Bd9ln4i4Us B2yzgfXQRc8EJvbKDx7mKG5objNkq8juFsl854Nc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124439eucas1p177ca5f9546bbab51bd42a45a394567fe~xlUdiVZVb3144231442eucas1p1M; Mon, 15 Jul 2019 12:44:39 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 27.D1.04377.7357C2D5; Mon, 15 Jul 2019 13:44:39 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124438eucas1p2ee9d27c451eb7125bd3ec874baf76e14~xlUcvySmp2439124391eucas1p2I; Mon, 15 Jul 2019 12:44:38 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124438eusmtrp128127e3b89a328c94d01b2a5b91d0dcd~xlUchqCVh0462004620eusmtrp1x; Mon, 15 Jul 2019 12:44:38 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-d3-5d2c75371fd8 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 86.F6.04140.6357C2D5; Mon, 15 Jul 2019 13:44:38 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124437eusmtip25e20b3aeeb5bb4e47e8422e684c006c5~xlUbu-m4U0518605186eusmtip2f; Mon, 15 Jul 2019 12:44:37 +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 06/50] clk: samsung: add IDs to ACLK266 clocks in Exynos5420 Date: Mon, 15 Jul 2019 14:43:33 +0200 Message-Id: <20190715124417.4787-7-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: H4sIAAAAAAAAA+NgFtrDKsWRmVeSWpSXmKPExsWy7djP87rmpTqxBm9mcVvcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6M7jO3mAum8FQ8Or2HuYFxD1cXIyeH hICJREvTDPYuRi4OIYEVjBKbbp9lhXC+MEp8WHcByvnMKLGicSYTTMvj18+YIRLLGSUeXu1m h2s53HoGqIWDg01AT2LHqkKQBhGBJYwSR34mgdQwC9xkktjzZCdYjbBAoMS/bfIgNSwCqhK3 uzqYQWxeATuJNVsPs0Msk5dYveEAWJxTwF7i57QLbCBzJAQusUscOPGFGaLIRWLz4k5WCFtY 4tXxLVDNMhKnJ/ewQNjFEg29Cxkh7BqJx/1zoWqsJQ4fvwh2D7OApsT6XfoQYUeJX39PsoGE JQT4JG68FQQJMwOZk7ZNZ4YI80p0tAlBVGtIbOm5AA0eMYnla6ZBDfeQmLNkMdhhQgKTGCW+ 3teZwCg/C2HXAkbGVYziqaXFuempxUZ5qeV6xYm5xaV56XrJ+bmbGIFp6vS/4192MO76k3SI UYCDUYmH1yFFO1aINbGsuDL3EK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zhy+U+Uy Bpenb+ixeqF2lfHcvZmH3vxhE1qzpo6Tcc16g62FPnzSUk/uhG8Uy5x8aFcFK0e/7IHb32xe VshyenhP/yTGFssWWc6WN/uMuagSS3FGoqEWc1FxIgCb9plkswIAAA== X-CMS-MailID: 20190715124438eucas1p2ee9d27c451eb7125bd3ec874baf76e14 X-Msg-Generator: CA X-RootMTR: 20190715124438eucas1p2ee9d27c451eb7125bd3ec874baf76e14 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124438eucas1p2ee9d27c451eb7125bd3ec874baf76e14 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 IDs to MUXes related to ACLK266 for managing them from DT. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 74276875bc3e..9b4a1d81f708 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -472,7 +472,8 @@ static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { MUX(0, "mout_aclk333_432_gscl", mout_group6_5800_p, SRC_TOP1, 0, 2), MUX(0, "mout_aclk333_432_isp", mout_group6_5800_p, SRC_TOP1, 4, 2), MUX(0, "mout_aclk333_432_isp0", mout_group6_5800_p, SRC_TOP1, 12, 2), - MUX(0, "mout_aclk266", mout_group5_5800_p, SRC_TOP1, 20, 2), + MUX(CLK_MOUT_ACLK266, "mout_aclk266", mout_group5_5800_p, + SRC_TOP1, 20, 2), MUX(0, "mout_aclk333", mout_group1_5800_p, SRC_TOP1, 28, 2), MUX(0, "mout_aclk400_disp1", mout_group7_5800_p, SRC_TOP2, 4, 3), @@ -561,7 +562,7 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { MUX(0, "mout_aclk333_432_isp", mout_group4_p, SRC_TOP1, 4, 2), MUX(0, "mout_aclk333_432_isp0", mout_group4_p, SRC_TOP1, 12, 2), - MUX(0, "mout_aclk266", mout_group1_p, SRC_TOP1, 20, 2), + MUX(CLK_MOUT_ACLK266, "mout_aclk266", mout_group1_p, SRC_TOP1, 20, 2), MUX(0, "mout_aclk333", mout_group1_p, SRC_TOP1, 28, 2), MUX(0, "mout_aclk400_disp1", mout_group1_p, SRC_TOP2, 4, 2), From patchwork Mon Jul 15 12:43:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043911 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 9D6AE13BD for ; Mon, 15 Jul 2019 12:48:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FBD826D08 for ; Mon, 15 Jul 2019 12:48:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DFAB2849B; Mon, 15 Jul 2019 12:48:18 +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 38AA726D08 for ; Mon, 15 Jul 2019 12:48:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730154AbfGOMsO (ORCPT ); Mon, 15 Jul 2019 08:48:14 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60124 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730159AbfGOMom (ORCPT ); Mon, 15 Jul 2019 08:44:42 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124441euoutp011a01ae6b6c5925721ac7864eb82d00a6~xlUfEUbpP1950319503euoutp01a for ; Mon, 15 Jul 2019 12:44:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124441euoutp011a01ae6b6c5925721ac7864eb82d00a6~xlUfEUbpP1950319503euoutp01a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194681; bh=ondmxPhh+Fxnd5s3n9tmk8yHO5V0bGcYkkE6AtEC9vI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hGJgJeajijiW2X8ct1OrRdv26MaryBvaBd8et+4GCy0LRCxQAGKk1NcmWhbFQjtlg 7AwCVVabaxMMhbFDwedsO5RgueYQiUam6EB2BJ1EPP/Og/DVbDPQkPQlmRsRp7enIM XdwlUQP+SkZxGXNJNTPD1xEU8vRmKZhKLK5ahLBo= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124440eucas1p1e3f7f5869fa71941b7f6e250a55d51c6~xlUeSFr7c0154701547eucas1p19; Mon, 15 Jul 2019 12:44:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 98.D1.04377.7357C2D5; Mon, 15 Jul 2019 13:44:40 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124439eucas1p18c4f512d2647717d77666d94dca867a6~xlUdjzo_P0154701547eucas1p18; Mon, 15 Jul 2019 12:44:39 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124439eusmtrp16e36cc3810052fd6b715c1b906b353a9~xlUdVlXPj0462004620eusmtrp11; Mon, 15 Jul 2019 12:44:39 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-d6-5d2c75376117 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 83.40.04146.7357C2D5; Mon, 15 Jul 2019 13:44:39 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124438eusmtip2d4e140a64781153b3011323f5d9c60cc~xlUcgTSjc1115211152eusmtip2F; Mon, 15 Jul 2019 12:44:38 +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 07/50] clk: samsung: add IDs to ACLK266_G2D clocks in Exynos5420 Date: Mon, 15 Jul 2019 14:43:34 +0200 Message-Id: <20190715124417.4787-8-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: H4sIAAAAAAAAA0WSWUwTURSGuZ1OOyA1Y9muSMQ0cYfi9nCjrAmaPokxISQK6iATQFY7lEUk FggqhEWqAhpAjWxWpFALIiKyNDRhbzCAGFGDihFES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yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2Ms03CBfd4Kjb0PmNrYGzg7mLk5JAQMJE4teoAexcjF4eQwFJGieZZ 05kgEmISk/ZtZ4ewhSX+XOtiA7GFBD4xSty9D2RzcLAJ6EnsWFUIEhYRWMEoMfmEN8gcZoHX TBJHjr5jBUkICwRLbL8yBWwmi4CqxMOVx8HivAJ2En+/HmOFmC8vsXrDAWYQm1PAXuLntAtQ u+wkFh/9yTSBkW8BI8MqRpHU0uLc9NxiQ73ixNzi0rx0veT83E2MwLjZduzn5h2MlzYGH2IU 4GBU4uF1SNGOFWJNLCuuzD3EKMHBrCTCa/sVKMSbklhZlVqUH19UmpNafIjRFOioicxSosn5 wJjOK4k3NDU0t7A0NDc2NzazUBLn7RA4GCMkkJ5YkpqdmlqQWgTTx8TBKdXAqHO86YrRPnaF d4v/NM3b9iqg0uDohYRzsU9f/6iOXKgd/f2sdYJHkFDRSu/CbYfuCOZPul3RebHvxhaZztp/ LPt75hQFfF9Y4MCbZe9tXyp0/e8E1Ylzz8iXz+hu9lQwP/dDWPpxVucvxodCtlknDbZbvHyw v6m3kafSl3fPfJdv/eEbja9aKrEUZyQaajEXFScCAAFoBlexAgAA X-CMS-MailID: 20190715124439eucas1p18c4f512d2647717d77666d94dca867a6 X-Msg-Generator: CA X-RootMTR: 20190715124439eucas1p18c4f512d2647717d77666d94dca867a6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124439eucas1p18c4f512d2647717d77666d94dca867a6 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 IDs to MUXes of ACLK266_G2D to manage them from DT. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 9b4a1d81f708..9d54856dbcda 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -478,7 +478,8 @@ static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { MUX(0, "mout_aclk400_disp1", mout_group7_5800_p, SRC_TOP2, 4, 3), MUX(0, "mout_aclk333_g2d", mout_group5_5800_p, SRC_TOP2, 8, 2), - MUX(0, "mout_aclk266_g2d", mout_group5_5800_p, SRC_TOP2, 12, 2), + MUX(CLK_MOUT_ACLK266_G2D, "mout_aclk266_g2d", mout_group5_5800_p, + SRC_TOP2, 12, 2), MUX(0, "mout_aclk300_jpeg", mout_group5_5800_p, SRC_TOP2, 20, 2), MUX(0, "mout_aclk300_disp1", mout_group5_5800_p, SRC_TOP2, 24, 2), MUX(0, "mout_aclk300_gscl", mout_group5_5800_p, SRC_TOP2, 28, 2), @@ -567,7 +568,8 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { MUX(0, "mout_aclk400_disp1", mout_group1_p, SRC_TOP2, 4, 2), MUX(0, "mout_aclk333_g2d", mout_group1_p, SRC_TOP2, 8, 2), - MUX(0, "mout_aclk266_g2d", mout_group1_p, SRC_TOP2, 12, 2), + MUX(CLK_MOUT_ACLK266_G2D, "mout_aclk266_g2d", mout_group1_p, + SRC_TOP2, 12, 2), MUX(0, "mout_aclk300_jpeg", mout_group1_p, SRC_TOP2, 20, 2), MUX(0, "mout_aclk300_disp1", mout_group1_p, SRC_TOP2, 24, 2), MUX(0, "mout_aclk300_gscl", mout_group1_p, SRC_TOP2, 28, 2), From patchwork Mon Jul 15 12:43:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043891 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 3D3B913B1 for ; Mon, 15 Jul 2019 12:47:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D163284A3 for ; Mon, 15 Jul 2019 12:47:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21787284AA; Mon, 15 Jul 2019 12:47:50 +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=ham 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 95C9520408 for ; Mon, 15 Jul 2019 12:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730206AbfGOMoq (ORCPT ); Mon, 15 Jul 2019 08:44:46 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49599 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730174AbfGOMon (ORCPT ); Mon, 15 Jul 2019 08:44:43 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124442euoutp02f0f1e8181d894b7303d0cc82bc3c63c2~xlUgRZ2d_0715707157euoutp02J for ; Mon, 15 Jul 2019 12:44:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124442euoutp02f0f1e8181d894b7303d0cc82bc3c63c2~xlUgRZ2d_0715707157euoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194682; bh=gu9S300xYsEx15w8bkMWrWNLeNOczHmD9nwzaFLG/Q0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZGdo5RDJN83TPwxAVCYdN34OxDPWSl5V5Em9YAzPqAcWTFdyMs70hA5ww80V1sY65 A8iJiZixM6RWN91UoaC+JNMBkfku6d04PmQ33Qszi9gnUpUJuRwhQ2TECFVL5o8vq4 C/XzlwE9URrpEZV57h0q86sOZMeqZFr3nknOHrLI= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124441eucas1p20e985dad3877d2802343860d50bf6ca7~xlUfeD1nd3211032110eucas1p2s; Mon, 15 Jul 2019 12:44:41 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 92.25.04298.9357C2D5; Mon, 15 Jul 2019 13:44:41 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124440eucas1p10bb25e412f32f0da95761f96831893e6~xlUeXun6M3092130921eucas1p1V; Mon, 15 Jul 2019 12:44:40 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124440eusmtrp1c68b5749bd29027e7777e0b3ab1c33b1~xlUeFQGj20462004620eusmtrp14; Mon, 15 Jul 2019 12:44:40 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-a1-5d2c75395952 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id F4.40.04146.7357C2D5; Mon, 15 Jul 2019 13:44:40 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124439eusmtip2e2b53f69de81a94d3e4c2d6eb2253db3~xlUdSAdnM1242312423eusmtip2M; Mon, 15 Jul 2019 12:44:39 +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 08/50] clk: samsung: change aclk266_isp clocks definitions Exynos5420 Date: Mon, 15 Jul 2019 14:43:35 +0200 Message-Id: <20190715124417.4787-9-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: H4sIAAAAAAAAA+NgFtrNKsWRmVeSWpSXmKPExsWy7djP87qWpTqxBj/WCVvcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6Me1NmsxTsVqrYP30rYwPjftkuRk4O CQETiTnP/rN3MXJxCAmsYJS4/fUUK4TzhVHiy6Y7zCBVQgKfGSXOf1OD6Vj5oJEJIr6cUeLx TDu4hgsnpwElODjYBPQkdqwqBKkREVjCKHHkZxJIDbPATSaJPU92soIkhAWiJC7cfswGUs8i oCrx41QlSJhXwE7i9LXzjBC75CVWbzgAdgOngL3Ez2kX2EDmSAicY5c4u34pE0SRi0Tbv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tz03GJDveLE3OLSvHS95PzcTYzAqNl27OfmHYyXNgYfYhTg YFTi4XVI0Y4VYk0sK67MPcQowcGsJMJr+xUoxJuSWFmVWpQfX1Sak1p8iNEU6KaJzFKiyfnA iM4riTc0NTS3sDQ0NzY3NrNQEuftEDgYIySQnliSmp2aWpBaBNPHxMEp1cAYnrVAhX3a50Xn fmXFbVkn/6Fv44H0/67uoVcn7j6d65b69IPsZm+Dz68PHneOawmUbP2a5uu3KmJNIW+qv5Rh 4Tc73diNfgxMfnX2f33iGXZcTrLcoH5h8b0IjQtnu3bcWGkk3nu6aPuMfZF3Yn99jctTuHKs c7PwFT2X/d+PX/3qfe2RzCc9JZbijERDLeai4kQArPw0f7ACAAA= X-CMS-MailID: 20190715124440eucas1p10bb25e412f32f0da95761f96831893e6 X-Msg-Generator: CA X-RootMTR: 20190715124440eucas1p10bb25e412f32f0da95761f96831893e6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124440eucas1p10bb25e412f32f0da95761f96831893e6 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 The ACLK266_ISP has different topology in Exynos5420 and 5422/5800. In Exynos5420 this clock does not have dedicated MUX which chooses PLL instead it takes the clock from 2-level mux from ACLK266. In Exynos5422 there is a dedicated clock tree and the PLL can be chosen. The patch adds needed MUXes in the exynos5800_mux_cloks, updates exynos5x_mux_clks and exynos5420_mux_clks properly. It also adds IDs to mange these clocks from DT. Signed-off-by: Lukasz Luba Acked-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5420.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 9d54856dbcda..5f251279b4c8 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -432,6 +432,10 @@ PNAME(mout_group16_5800_p) = { "dout_osc_div", "mout_mau_epll_clk" }; PNAME(mout_mx_mspll_ccore_phy_p) = { "sclk_bpll", "mout_sclk_dpll", "mout_sclk_mpll", "ff_dout_spll2", "mout_sclk_spll", "mout_sclk_epll"}; +PNAME(mout_group17_5800_p) = { "dout_aclk266_isp", "dout_sclk_sw" }; +PNAME(mout_group18_5800_p) = { "dout_osc_div", "mout_sw_aclk266_isp" }; +PNAME(mout_group19_5800_p) = { "mout_sclk_cpll", "mout_sclk_dpll", + "mout_sclk_mpll", "mout_sclk_ipll"}; /* fixed rate clocks generated outside the soc */ static struct samsung_fixed_rate_clock @@ -494,6 +498,8 @@ static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { MUX(CLK_SCLK_BPLL, "sclk_bpll", mout_bpll_p, SRC_TOP7, 24, 1), MUX(0, "mout_epll2", mout_epll2_5800_p, SRC_TOP7, 28, 1), + MUX(CLK_MOUT_ACLK266_ISP, "mout_aclk266_isp", mout_group19_5800_p, + SRC_TOP8, 12, 2), MUX(0, "mout_aclk550_cam", mout_group3_5800_p, SRC_TOP8, 16, 3), MUX(0, "mout_aclkfl1_550_cam", mout_group3_5800_p, SRC_TOP8, 20, 3), MUX(0, "mout_aclk432_cam", mout_group6_5800_p, SRC_TOP8, 24, 2), @@ -501,6 +507,8 @@ static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { MUX_F(CLK_MOUT_USER_MAU_EPLL, "mout_user_mau_epll", mout_group16_5800_p, SRC_TOP9, 8, 1, CLK_SET_RATE_PARENT, 0), + MUX(CLK_MOUT_USER_ACLK266_ISP, "mout_user_aclk266_isp", + mout_group18_5800_p, SRC_TOP9, 12, 1), MUX(0, "mout_user_aclk550_cam", mout_group15_5800_p, SRC_TOP9, 16, 1), MUX(0, "mout_user_aclkfl1_550_cam", mout_group13_5800_p, @@ -510,6 +518,8 @@ static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { MUX(0, "mout_user_aclk432_scaler", mout_group9_5800_p, SRC_TOP9, 28, 1), + MUX(CLK_MOUT_SW_ACLK266_ISP, "mout_sw_aclk266_isp", mout_group17_5800_p, + SRC_TOP13, 12, 1), MUX(0, "mout_sw_aclk550_cam", mout_group14_5800_p, SRC_TOP13, 16, 1), MUX(0, "mout_sw_aclkfl1_550_cam", mout_group12_5800_p, SRC_TOP13, 20, 1), @@ -524,6 +534,8 @@ static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { static const struct samsung_div_clock exynos5800_div_clks[] __initconst = { DIV(CLK_DOUT_ACLK400_WCORE, "dout_aclk400_wcore", "mout_aclk400_wcore", DIV_TOP0, 16, 3), + DIV(CLK_DOUT_ACLK266_ISP, "dout_aclk266_isp", "mout_aclk266_isp", + DIV_TOP8, 12, 3), DIV(0, "dout_aclk550_cam", "mout_aclk550_cam", DIV_TOP8, 16, 3), DIV(0, "dout_aclkfl1_550_cam", "mout_aclkfl1_550_cam", @@ -574,6 +586,9 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { MUX(0, "mout_aclk300_disp1", mout_group1_p, SRC_TOP2, 24, 2), MUX(0, "mout_aclk300_gscl", mout_group1_p, SRC_TOP2, 28, 2), + MUX(CLK_MOUT_USER_ACLK266_ISP, "mout_user_aclk266_isp", + mout_user_aclk266_isp_p, SRC_TOP4, 16, 1), + MUX(CLK_MOUT_MX_MSPLL_CCORE, "mout_mx_mspll_ccore", mout_group5_5800_p, SRC_TOP7, 16, 2), MUX_F(0, "mout_mau_epll_clk", mout_mau_epll_clk_p, SRC_TOP7, 20, 2, @@ -641,8 +656,6 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { SRC_TOP4, 8, 1), MUX(0, "mout_user_aclk333_432_isp0", mout_user_aclk333_432_isp0_p, SRC_TOP4, 12, 1), - MUX(0, "mout_user_aclk266_isp", mout_user_aclk266_isp_p, - SRC_TOP4, 16, 1), MUX(0, "mout_user_aclk266", mout_user_aclk266_p, SRC_TOP4, 20, 1), MUX(0, "mout_user_aclk166", mout_user_aclk166_p, SRC_TOP4, 24, 1), MUX(CLK_MOUT_USER_ACLK333, "mout_user_aclk333", mout_user_aclk333_p, From patchwork Mon Jul 15 12:43:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043715 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 A45B313B1 for ; Mon, 15 Jul 2019 12:44:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95079209CE for ; Mon, 15 Jul 2019 12:44:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 893CE28450; Mon, 15 Jul 2019 12:44: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=ham 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 18B33209CE for ; Mon, 15 Jul 2019 12:44:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730058AbfGOMoq (ORCPT ); Mon, 15 Jul 2019 08:44:46 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60182 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730184AbfGOMoo (ORCPT ); Mon, 15 Jul 2019 08:44:44 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124443euoutp01d60fee6453b43ebbba902e1658d8d4f7~xlUgzlc-_1837218372euoutp01U for ; Mon, 15 Jul 2019 12:44:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124443euoutp01d60fee6453b43ebbba902e1658d8d4f7~xlUgzlc-_1837218372euoutp01U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194683; bh=xyPVVgSZeAAl0W8N7v1spNbK/C37A4Mttfo7IbZ7n/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p+XOhCu7ovsyKlGnrj8VUPaDztODVNkJxaHfMIWH15yp0AdUmPKdRDwwCJ3Hnxs7x f1gFPb0x4uYyyaRb+ypZgrMQLWBqTpEZV9OXA9UYy1xAhsjaUzcB8YY4Vnw7iClfH0 ej5F564bbF/IW/j8kSqave/WoNHULc1Kc+SgaLKo= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124442eucas1p27990fa89f07a54f5e2b55434ac7019aa~xlUf_TUQq1386513865eucas1p2B; Mon, 15 Jul 2019 12:44:42 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4A.A0.04325.9357C2D5; Mon, 15 Jul 2019 13:44:41 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124441eucas1p12e1f58587318219a5a2c695faa200b17~xlUfK8FhO0146601466eucas1p1B; Mon, 15 Jul 2019 12:44:41 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124441eusmtrp14ee2327d0d20ba36d29035765359bfaa~xlUe815ik0462004620eusmtrp16; Mon, 15 Jul 2019 12:44:41 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-b7-5d2c7539b1de Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 39.F6.04140.8357C2D5; Mon, 15 Jul 2019 13:44:40 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124440eusmtip2ea673178038ddf8fc3568c924a8628f6~xlUeCoi8h1184611846eusmtip2U; Mon, 15 Jul 2019 12:44:40 +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 09/50] clk: samsung: add IDs to FSYS clocks in Exynos5x Date: Mon, 15 Jul 2019 14:43:36 +0200 Message-Id: <20190715124417.4787-10-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: H4sIAAAAAAAAA0VSa0hTYRju2zln52y0OG5RH2Vag6CLza7w2dUo4SAEQdCPIuqYJ43csp2m WZEr0aWYmoGKXSVTmVY6zVsqpsuZw9SFWopdVLp5LRU5ZdZOZ9a/530u7/Py8VGYupZYQp00 nOWMBjZCK1fi5U1C27oAk9+R9S5hI+p59JJAJVmPCdQ9+YlAd+3uMXVgCENtbcUkar0yTKIe szeyDXQR6FvyWwK9qr4lR1ltdTL00N5HogfdHTLU0RKEei8XyFF8rZ1EjcMWAs12leCBGqbo ThFgxl7Hk4zNmihnSnNj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QETiZ9rz7F0MXJxCAksZZTY vnUyG0RCTGLSvu3sELawxJ9rXWwQRZ8YJRZ9uQeU4OBgE9CT2LGqEKRGRGAFo8TkE94gNcwC r5kkjhx9xwqSEBbwkrjUt4kFxGYRUJV4cuolI0gvr4C9xM7OMIj58hKrNxxgBrE5gcI/p10A u0FIwE5i8dGfTBMY+RYwMqxiFEktLc5Nzy020itOzC0uzUvXS87P3cQIjJxtx35u2cHY9S74 EKMAB6MSD69DinasEGtiWXFl7iFGCQ5mJRFe269AId6UxMqq1KL8+KLSnNTiQ4ymQDdNZJYS Tc4HRnVeSbyhqaG5haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU1ILUIpg+Jg5OqQbGSS9vXn+5 7n9Ckgz7LPlXR18tFriWwvBy8rOvn7s3vCnPilJO0Ejg7txyK9cniaHRoOnD3Jt/Z/WrG1Vz tT1V3vtu00nup2UCz6f57xLbu50p7u1n9UDDVeHrp62uMsud3JV22pl1+/Sa6X/5KlinfHsm FsAUe9Xhm4Z2+pJf/7lMd86cvNv2qxJLcUaioRZzUXEiAGEcT5KyAgAA X-CMS-MailID: 20190715124441eucas1p12e1f58587318219a5a2c695faa200b17 X-Msg-Generator: CA X-RootMTR: 20190715124441eucas1p12e1f58587318219a5a2c695faa200b17 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124441eucas1p12e1f58587318219a5a2c695faa200b17 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 IDs to MUXes of ACLK200_FSYS, ACLK_FSYS2, PCLK200_FSYS to manage them from DT. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 5f251279b4c8..6164d0ca75e0 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -622,9 +622,12 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { MUX(0, "mout_kfc", mout_kfc_p, SRC_KFC, 16, 1), MUX(0, "mout_aclk200", mout_group1_p, SRC_TOP0, 8, 2), - MUX(0, "mout_aclk200_fsys2", mout_group1_p, SRC_TOP0, 12, 2), - MUX(0, "mout_pclk200_fsys", mout_group1_p, SRC_TOP0, 24, 2), - MUX(0, "mout_aclk200_fsys", mout_group1_p, SRC_TOP0, 28, 2), + MUX(CLK_MOUT_ACLK200_FSYS2, "mout_aclk200_fsys2", mout_group1_p, + SRC_TOP0, 12, 2), + MUX(CLK_MOUT_PCLK200_FSYS, "mout_pclk200_fsys", mout_group1_p, + SRC_TOP0, 24, 2), + MUX(CLK_MOUT_ACLK200_FSYS, "mout_aclk200_fsys", mout_group1_p, + SRC_TOP0, 28, 2), MUX(0, "mout_aclk66", mout_group1_p, SRC_TOP1, 8, 2), MUX(0, "mout_aclk166", mout_group1_p, SRC_TOP1, 24, 2), From patchwork Mon Jul 15 12:43:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043901 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 938681800 for ; Mon, 15 Jul 2019 12:47:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 837BD284B3 for ; Mon, 15 Jul 2019 12:47:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77D8D20408; Mon, 15 Jul 2019 12:47:59 +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 042BD284A3 for ; Mon, 15 Jul 2019 12:47:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730048AbfGOMop (ORCPT ); Mon, 15 Jul 2019 08:44:45 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49647 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730191AbfGOMop (ORCPT ); Mon, 15 Jul 2019 08:44:45 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124443euoutp029c8eae1463b32ff516d381d37e033f61~xlUhnbu1w0599205992euoutp02Z for ; Mon, 15 Jul 2019 12:44:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124443euoutp029c8eae1463b32ff516d381d37e033f61~xlUhnbu1w0599205992euoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194683; bh=TNMDlrEGNX0c/FAGLJwBwogSDFomMQGZ5XtYvST6wPU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eh5O17bFBwnwBxJd70Atq/x3LeK8D9H5KeLLo6NbIOqwqY35nHdAjjVypNcuIg1SE KNLzPqUHKwnhX1fbjqYoLRuknDrFzUZzJ78PaFGW5eO5ZfnpiOhAYqfNGoEiXAUHZE DINtO+xYiqDM/eMg13I9xCoUqGYgei0J9/lmX36k= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124442eucas1p2562922978ee9e08e0f404e1097496662~xlUgrk9Ss3211032110eucas1p2w; Mon, 15 Jul 2019 12:44:42 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id DA.D1.04377.A357C2D5; Mon, 15 Jul 2019 13:44:42 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124441eucas1p29f1205c20e9bea5b33f8f0b5747b1102~xlUfyZRCm2241922419eucas1p2V; Mon, 15 Jul 2019 12:44:41 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124441eusmtrp198c759f5d51d3e8d43f6025759cdd4e2~xlUfkQ2CZ0462004620eusmtrp1A; Mon, 15 Jul 2019 12:44:41 +0000 (GMT) X-AuditID: cbfec7f4-5632c9c000001119-df-5d2c753a56d7 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 9A.F6.04140.9357C2D5; Mon, 15 Jul 2019 13:44:41 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124440eusmtip2f4d8cfd6fc6015a063e3e51c1617dfd8~xlUez3HkV1115211152eusmtip2G; Mon, 15 Jul 2019 12:44:40 +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 10/50] clk: samsung: change ACLK100_NOC clocks definitions Exynos5x Date: Mon, 15 Jul 2019 14:43:37 +0200 Message-Id: <20190715124417.4787-11-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: H4sIAAAAAAAAA+NgFtrDKsWRmVeSWpSXmKPExsWy7djP87pWpTqxBldmqFjcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6Mc8tOMhdckqiY/uYLSwNjv2gXIweH hICJxMEVGV2MXBxCAisYJfo+/mODcL4wSrQ0TWWHcD4zSqw9eJK1i5ETrGPOrJUsEInljBJd 8/+wwrWcf/+JGWQum4CexI5VhSANIgJLGCWO/EwCqWEWuMkksefJTrBJwgIREvM/72QGsVkE VCWu/mhiArF5Bewlds7YzgSxTV5i9YYDYDWcQPGf0y6A3SchcIld4vvZZSwQRS4SUy/0MELY whKvjm9hh7BlJE5P7oGqKZZo6F0IVVMj8bh/LlSNtcTh4xdZQY5mFtCUWL9LHxIujhKfLgRD mHwSN94KghQzA5mTtk1nhgjzSnS0CUHM0JDY0nMB6mAxieVrpkHN9pC427oeGoaTGCVeXpvO MoFRfhbCrgWMjKsYxVNLi3PTU4uN8lLL9YoTc4tL89L1kvNzNzEC09Tpf8e/7GDc9SfpEKMA B6MSD69DinasEGtiWXFl7iFGCQ5mJRFe269AId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rzVDA+i hQTSE0tSs1NTC1KLYLJMHJxSDYyBPLn/buzlsONfYM+wWuMH/5vP4jdl10wyfMzykydoypHk gHUaaSYvxdbcLpHgW55VFdphf+ju+Tk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ucas1p29f1205c20e9bea5b33f8f0b5747b1102 X-Msg-Generator: CA X-RootMTR: 20190715124441eucas1p29f1205c20e9bea5b33f8f0b5747b1102 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124441eucas1p29f1205c20e9bea5b33f8f0b5747b1102 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 The ACLK100_NOC has different topology in Exynos5420 and 5422/5800. In Exynos5420 this clock divider has 3 bits while in 5422/5800 has 4 bits. The patch adds needed dividers in the exynos5800_div_clks, updates exynos5x_div_clks and exynos5420_div_clks properly. It also adds IDs to manage clocks from DT. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 6164d0ca75e0..c13f34d3d9a1 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -471,7 +471,8 @@ static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { SRC_TOP0, 4, 3), MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group2_5800_p, SRC_TOP0, 16, 3), - MUX(0, "mout_aclk100_noc", mout_group1_5800_p, SRC_TOP0, 20, 2), + MUX(CLK_MOUT_ACLK100_NOC, "mout_aclk100_noc", mout_group1_5800_p, + SRC_TOP0, 20, 2), MUX(0, "mout_aclk333_432_gscl", mout_group6_5800_p, SRC_TOP1, 0, 2), MUX(0, "mout_aclk333_432_isp", mout_group6_5800_p, SRC_TOP1, 4, 2), @@ -534,6 +535,8 @@ static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { static const struct samsung_div_clock exynos5800_div_clks[] __initconst = { DIV(CLK_DOUT_ACLK400_WCORE, "dout_aclk400_wcore", "mout_aclk400_wcore", DIV_TOP0, 16, 3), + DIV(CLK_DOUT_ACLK100_NOC, "dout_aclk100_noc", "mout_aclk100_noc", + DIV_TOP0, 20, 4), DIV(CLK_DOUT_ACLK266_ISP, "dout_aclk266_isp", "mout_aclk266_isp", DIV_TOP8, 12, 3), DIV(0, "dout_aclk550_cam", "mout_aclk550_cam", @@ -569,7 +572,8 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { SRC_TOP0, 4, 2), MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group1_p, SRC_TOP0, 16, 2), - MUX(0, "mout_aclk100_noc", mout_group1_p, SRC_TOP0, 20, 2), + MUX(CLK_MOUT_ACLK100_NOC, "mout_aclk100_noc", mout_group1_p, + SRC_TOP0, 20, 2), MUX(0, "mout_aclk333_432_gscl", mout_group4_p, SRC_TOP1, 0, 2), MUX(0, "mout_aclk333_432_isp", mout_group4_p, @@ -600,6 +604,8 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { static const struct samsung_div_clock exynos5420_div_clks[] __initconst = { DIV(CLK_DOUT_ACLK400_WCORE, "dout_aclk400_wcore", "mout_aclk400_wcore", DIV_TOP0, 16, 3), + DIV(CLK_DOUT_ACLK100_NOC, "dout_aclk100_noc", "mout_aclk100_noc", + DIV_TOP0, 20, 3), }; static const struct samsung_gate_clock exynos5420_gate_clks[] __initconst = { @@ -798,8 +804,6 @@ static const struct samsung_div_clock exynos5x_div_clks[] __initconst = { DIV_TOP0, 8, 3), DIV(CLK_DOUT_ACLK200_FSYS2, "dout_aclk200_fsys2", "mout_aclk200_fsys2", DIV_TOP0, 12, 3), - DIV(CLK_DOUT_ACLK100_NOC, "dout_aclk100_noc", "mout_aclk100_noc", - DIV_TOP0, 20, 3), DIV(CLK_DOUT_PCLK200_FSYS, "dout_pclk200_fsys", "mout_pclk200_fsys", DIV_TOP0, 24, 3), DIV(CLK_DOUT_ACLK200_FSYS, "dout_aclk200_fsys", "mout_aclk200_fsys", From patchwork Mon Jul 15 12:43:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043899 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 911C913BD for ; Mon, 15 Jul 2019 12:47:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81D86284A3 for ; Mon, 15 Jul 2019 12:47:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75D3B284BD; Mon, 15 Jul 2019 12:47:59 +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 2DED520408 for ; Mon, 15 Jul 2019 12:47:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730424AbfGOMr6 (ORCPT ); Mon, 15 Jul 2019 08:47:58 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49661 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730194AbfGOMoq (ORCPT ); Mon, 15 Jul 2019 08:44:46 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124444euoutp02a09efd1ebd2836ec4443904db85be661~xlUiX2NOJ0714907149euoutp02N for ; Mon, 15 Jul 2019 12:44:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124444euoutp02a09efd1ebd2836ec4443904db85be661~xlUiX2NOJ0714907149euoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194684; bh=hJvLE4/1zHLBMBiw9JWZYJYoJ7BCSK7oKsNEylp/Y0o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n2aHK+vKY2TTNFscJx7qYNQEjHomzLtWKUTj1KUDsa/MFgUmljrsTu6b86+ot07xd R2WhTxPTA22IfBzFe+7GfDrR03OsQDmVaH7jVGoXY3SPvyYDIcvhKUD5UrcXCkt80G LJw9la3Y3ReZDLZjQ2udZ0Iar9FeYZJrm6eydlRI= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124443eucas1p1ca94b9f118a63ae32468976857d9e834~xlUhbRrpE3191231912eucas1p1T; Mon, 15 Jul 2019 12:44:43 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 34.25.04298.B357C2D5; Mon, 15 Jul 2019 13:44:43 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124442eucas1p197b23d50f6986477467d23f53b84d187~xlUgke1OZ0153601536eucas1p16; Mon, 15 Jul 2019 12:44:42 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124442eusmtrp1bec50f776fb0c84a8ad1c48eef097a93~xlUgWYVDF0462004620eusmtrp1E; Mon, 15 Jul 2019 12:44:42 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-a6-5d2c753bbe0d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 4C.F6.04140.A357C2D5; Mon, 15 Jul 2019 13:44:42 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124441eusmtip24fa6eb4ab2197d7b9ce1b806ed2bc69b~xlUfkQa7l0518605186eusmtip2h; Mon, 15 Jul 2019 12:44:41 +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 11/50] clk: samsung: add IDs to UART clocks in Exynos5420 Date: Mon, 15 Jul 2019 14:43:38 +0200 Message-Id: <20190715124417.4787-12-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: H4sIAAAAAAAAA0VSa0xSYRju43A4Rwo7Qat36bLRZaUlNf3xmVa21cZabf1qrWaFevKSIHEk s1qREy2jy9CMXPfRNKIMdE5Nu4ilZSqUXbRZLlulWa3UmuUk8ND697zP5b18+2hCWk/OotM0 WaxOo8qQi8TC6oej7Uti9YsTlh57MAN332wnscNSQeKXwx9JfLHJV57s+0zgjo5bFG7LHaRw tyEUO/tekPi76Q2Jn9WdE2FLxx0BvtHUQ+GrLz0C7Hm8Fr8+XC7CxoYmCrsGC0g8/sIhjJcp 7RfsSPntlZFSOm1HRcpK6yHl/a/1AuWJKhtSDjlnb6S2iOOS2Yy0PaxOsXKHOPWJaa62UrzX 0lJEGtAYXYiCaGCi4ZrnvKgQiW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mEN0gNs8Br JokjR9+xgiSEBXwkZj64zQhiswioSvz+8whsAa+AvcSk1v9QC+QlVm84ABbnBIr/nHaBDcQW ErCTWHz0J9MERr4FjAyrGEVSS4tz03OLjfSKE3OLS/PS9ZLzczcxAiNn27GfW3Ywdr0LPsQo wMGoxMPrkKIdK8SaWFZcmXuIUYKDWUmE1/YrUIg3JbGyKrUoP76oNCe1+BCjKdBRE5mlRJPz gVGdVxJvaGpobmFpaG5sbmxmoSTO2yFwMEZIID2xJDU7NbUgtQimj4mDU6qB0WzL2hXTI25t vXYhVJ/l6joWrhffjHKVufKev53/pS9sXYjYn/uq25cpFW2/rx116kCH09Vj1vv58g+JxDez O1gI3DghrCqaHXR2keyUV/sytHoi9rPm3ZD5G6G4b13Bd/+a3LLqox9nSr/6E3Q4ecqb2Ol3 enxDT/1P1XVx9HDkD77jrHwqXYmlOCPRUIu5qDgRAM1l+BKyAgAA X-CMS-MailID: 20190715124442eucas1p197b23d50f6986477467d23f53b84d187 X-Msg-Generator: CA X-RootMTR: 20190715124442eucas1p197b23d50f6986477467d23f53b84d187 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124442eucas1p197b23d50f6986477467d23f53b84d187 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 IDs to MUXes for UART to manage them from DT. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index c13f34d3d9a1..7bf74401c4e7 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -768,10 +768,10 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { MUX(0, "mout_mphy_refclk", mout_group2_p, SRC_FSYS, 28, 3), /* PERIC Block */ - MUX(0, "mout_uart0", mout_group2_p, SRC_PERIC0, 4, 3), - MUX(0, "mout_uart1", mout_group2_p, SRC_PERIC0, 8, 3), - MUX(0, "mout_uart2", mout_group2_p, SRC_PERIC0, 12, 3), - MUX(0, "mout_uart3", mout_group2_p, SRC_PERIC0, 16, 3), + MUX(CLK_MOUT_UART0, "mout_uart0", mout_group2_p, SRC_PERIC0, 4, 3), + MUX(CLK_MOUT_UART1, "mout_uart1", mout_group2_p, SRC_PERIC0, 8, 3), + MUX(CLK_MOUT_UART2, "mout_uart2", mout_group2_p, SRC_PERIC0, 12, 3), + MUX(CLK_MOUT_UART3, "mout_uart3", mout_group2_p, SRC_PERIC0, 16, 3), MUX(0, "mout_pwm", mout_group2_p, SRC_PERIC0, 24, 3), MUX(0, "mout_spdif", mout_spdif_p, SRC_PERIC0, 28, 3), MUX(0, "mout_audio0", mout_audio0_p, SRC_PERIC1, 8, 3), From patchwork Mon Jul 15 12:43:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043903 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 BBAD113B1 for ; Mon, 15 Jul 2019 12:48:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABF8226D08 for ; Mon, 15 Jul 2019 12:48:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8EE7284B3; Mon, 15 Jul 2019 12:48:06 +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 4B63926D08 for ; Mon, 15 Jul 2019 12:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730012AbfGOMr6 (ORCPT ); Mon, 15 Jul 2019 08:47:58 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49610 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730201AbfGOMoq (ORCPT ); Mon, 15 Jul 2019 08:44:46 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124445euoutp025a843c3d9438e86bc04a25f721fe6260~xlUjMoJTs0599205992euoutp02c for ; Mon, 15 Jul 2019 12:44:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124445euoutp025a843c3d9438e86bc04a25f721fe6260~xlUjMoJTs0599205992euoutp02c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194685; bh=wvAn/Pd40QWaTn4Vruzx23GcrbKmatIE/03uKpdDkM4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oB8SLNOKZ8Hh5S+MrArKkECIWnsy25DGenfOsa5wVB2vY/wQQj3gqJjsvqgMKkvdx 9ryAdZHDzp7Uz15o4NNsk2xIKYMG3ZD0PESf1cMwkrIODTF8X3uxYZ9rVwlK7mHfiR qGWxIbSS4nYvDUcC3fUXHhIoKyGw4l5IiUfwdT50= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124444eucas1p2f20893ae6c81a7b0612bdfb4a83822b3~xlUiYkEa23211132111eucas1p2F; Mon, 15 Jul 2019 12:44:44 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 9C.D1.04377.C357C2D5; Mon, 15 Jul 2019 13:44:44 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124443eucas1p1adf02a02bf77448f2277ddd5fe5e895b~xlUhYafL80571105711eucas1p1y; Mon, 15 Jul 2019 12:44:43 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124443eusmtrp1215e22c07e1e231f684ac87931560e45~xlUhKFCNU0462004620eusmtrp1I; Mon, 15 Jul 2019 12:44:43 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-e4-5d2c753cc344 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id F7.40.04146.B357C2D5; Mon, 15 Jul 2019 13:44:43 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124442eusmtip24c1b0a2ae870b0926918e355a950ed76~xlUgV_qEO1184611846eusmtip2W; Mon, 15 Jul 2019 12:44:42 +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 12/50] clk: add ID to PWM MUX in Exynos5420 Date: Mon, 15 Jul 2019 14:43:39 +0200 Message-Id: <20190715124417.4787-13-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: H4sIAAAAAAAAA0WSezBUURzHO3v37l7GmtsyOSNRO9NEijL+OI1HTMqa/qg/NGMyJit3MCza a5Ue02qSMrTCoCjMMJ55LO2sTUZrPUqs1yDpIcJITCGjUHu7a/rve77fz/n+zjlzCEyoxW2J qNgEShYriRHxzLnqzvW+w57yQyFHxgds0HhtH44a8utwNLoyi6MivXGpnPqKIYOhno96by3w 0bjCDqmmRnD0Pf0Djoa0hTyUb2jloKf693xUNjrAQQOvT6J3yRU8lPJCz0ftC6k42hpp4PpY iWue1ADx0lgKX6yquscTN5beFL9cbOGI7zdVAfGyyv4s/7y5ZzgVE5VIyVy9Q80jMwsKsHgV cWVjbRZXgGJ+GjAjIOkOe/40Y2nAnBCSFQCm5i0BJhCSKwAafgA2WAZQqe7nbu/Y+FjEZaFy AGvnDrCQcUO9Ws1JAwTBI12gpuoSw1iTpQDq18MYBiPfcmDLdDPOBFakN5zoWvs3jUvuh4Md TClBCMjjcLUwkZ3lAKvr2zBGmxnt9dx+HtMDyT4+zN8sAAwPST+41evB8lZwvqvJdDM72JOd bjozDRUZJYDV1+GU8rGJ8YDtXQM4U4ORTrBO68ravnCrMAdj2y3h2LedjI0ZZZY6z2QL4N07 QpZ2hE3p/RxW74LlNbmmcjEcyXluesEsAFuWBnmZwOHR/2HFAFQBG0pOSyMo2i2WuuxCS6S0 PDbC5WKcVAWMP6pnq2tFA7QbYTpAEkBkIfAJdw4R4pJEOkmqA5DARNYCr1WjJQiXJF2lZHEX ZPIYitaB3QRXZCO4tuNTsJCMkCRQ0RQVT8m2Uw5hZqsAjnNnLN5oHk46lk10o9Bgp6GgTSVp 8Svqi32A4ETlaWWQZoZXuSzTBK6mtE1qSzJknvTMcFntKX+3+ZpzXtl7fwcu+i58fqVz79zT Ha+ftlaog/1b5UPV+yxxeRg+7OHsafnsxvqYn91Ex0+3YwnWRT3RAbc7N2obc9QxyQ9K4kVc OlJy9CAmoyV/Aft0QLpNAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPIsWRmVeSWpSXmKPExsVy+t/xe7rWpTqxBpfviVjcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2MCbNnMxds4qj48/05awPjAvYuRk4OCQETiT/357N0MXJxCAksZZRY 0PadESIhJjFp33aoImGJP9e62CCKPjFKdB2dxtTFyMHBJqAnsWNVIUiNiMAKRonJJ7xBapgF XjNJHDn6jhUkISxgJ3HnOMRQFgFViUtHQbZxcPAK2Et8nVMGMV9eYvWGA8wgNidQ+Oe0C2wg thBQ6+KjP5kmMPItYGRYxSiSWlqcm55bbKhXnJhbXJqXrpecn7uJERg524793LyD8dLG4EOM AhyMSjy8DinasUKsiWXFlbmHGCU4mJVEeG2/AoV4UxIrq1KL8uOLSnNSiw8xmgLdNJFZSjQ5 HxjVeSXxhqaG5haWhubG5sZmFkrivB0CB2OEBNITS1KzU1MLUotg+pg4OKUaGOtvXT6fPFnJ nf1t/NK02pLIAzdPluucrDCNXpiVsUD3dqLhkxUX6sO2ypz6aOd0xsdQ+tc9pVirgET3qZdv iytfCXVjKT3AFctQOovv4cuyZOHVEgsYP2u4nV4SOOmeiNf52/r71rRWfpt9kC9sihT303dM +42NNsgxPVeMm9oUmhh8aKkPvxJLcUaioRZzUXEiAN3Zx0WyAgAA X-CMS-MailID: 20190715124443eucas1p1adf02a02bf77448f2277ddd5fe5e895b X-Msg-Generator: CA X-RootMTR: 20190715124443eucas1p1adf02a02bf77448f2277ddd5fe5e895b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124443eucas1p1adf02a02bf77448f2277ddd5fe5e895b 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 ID to PWM MUX to manage it from DT to reflect proper topology. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 7bf74401c4e7..7f8221527633 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -772,7 +772,7 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { MUX(CLK_MOUT_UART1, "mout_uart1", mout_group2_p, SRC_PERIC0, 8, 3), MUX(CLK_MOUT_UART2, "mout_uart2", mout_group2_p, SRC_PERIC0, 12, 3), MUX(CLK_MOUT_UART3, "mout_uart3", mout_group2_p, SRC_PERIC0, 16, 3), - MUX(0, "mout_pwm", mout_group2_p, SRC_PERIC0, 24, 3), + MUX(CLK_MOUT_PWM, "mout_pwm", mout_group2_p, SRC_PERIC0, 24, 3), MUX(0, "mout_spdif", mout_spdif_p, SRC_PERIC0, 28, 3), MUX(0, "mout_audio0", mout_audio0_p, SRC_PERIC1, 8, 3), MUX(0, "mout_audio1", mout_audio1_p, SRC_PERIC1, 12, 3), From patchwork Mon Jul 15 12:43:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043889 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 CB27D13BD for ; Mon, 15 Jul 2019 12:47:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD316284AA for ; Mon, 15 Jul 2019 12:47:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B15D9205F7; Mon, 15 Jul 2019 12:47:49 +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 6150C284AF for ; Mon, 15 Jul 2019 12:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730403AbfGOMrs (ORCPT ); Mon, 15 Jul 2019 08:47:48 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49599 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730189AbfGOMoq (ORCPT ); Mon, 15 Jul 2019 08:44:46 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124445euoutp029c61ad2b0377c4ec11924d1171253787~xlUji5Lyf0722707227euoutp02B for ; Mon, 15 Jul 2019 12:44:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124445euoutp029c61ad2b0377c4ec11924d1171253787~xlUji5Lyf0722707227euoutp02B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194685; bh=I0OgqZ2CWuBbzFVPzjbpMciCe+FwTz52wvrMkQPDL5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ObnQuiRvdNyYX9RLbw5zfKcJ7MZ2NjnNrcvhxw8X05vJ0upeI3HsX6Jb6Fzea4GUr GvPbT4STPD4HhxVpVuZdo2xUR2g/ETfyhTXfBTX75RQCsEYZpKf2mfs79RAefkZc+a KR/WxW6lN/GAv8jaYLvAoJ3LNf1VyeoQvUKcqYDo= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124445eucas1p1cadbf6f8142613a4c6698072f6a76f2d~xlUjA0E280156501565eucas1p1E; Mon, 15 Jul 2019 12:44:45 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 76.25.04298.D357C2D5; Mon, 15 Jul 2019 13:44:45 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124444eucas1p2683c9896e8be45d6a0cd4afeb681a2ea~xlUiPFHjO0850908509eucas1p2R; Mon, 15 Jul 2019 12:44:44 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124444eusmtrp1f2cf85a295731db67f52673a8212a215~xlUh7zPut0462004620eusmtrp1L; Mon, 15 Jul 2019 12:44:44 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-ad-5d2c753d0c8a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 1E.F6.04140.C357C2D5; Mon, 15 Jul 2019 13:44:44 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124443eusmtip2d58fdac071ad32fdd16f4b5966dd5450~xlUhJJv4X1176011760eusmtip2z; Mon, 15 Jul 2019 12:44:43 +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 13/50] clk: samsung: add DPLL rate table in Exynos5420 Date: Mon, 15 Jul 2019 14:43:40 +0200 Message-Id: <20190715124417.4787-14-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: H4sIAAAAAAAAA0WSaUwTQRTHnW73aKW6FoQJciQ1GrzAJn4YORQSSdYYTflkohhdYAMEWrBr VdRoUfHACoIE1EgFU5UUPKgN1oqo0IBiuFEQo1HQiHc4asQIcZdF/fZ7v/m/eS+ToTC1Gw+k 0g27OKOBzdQQSnld80T7ihjT8m0r84YxNHCjHUe1527iqG/8A44ueYSycOgzhjo6bpGo7fAX Eg2Yg5Bj6DmORiyvcdTjvkigcx0NMnTd84pEV/q6ZKirNR69zK0iUN59D4mavhzH0dTzWnms L1NjrQHM9/48knHYTxLMbdsh5tG3ehlT4LQDZswRoiO3KKNTuMz03ZwxYs0OZVrv+QdktnXu 3pHmVWYw6pMPFBSkV8EGZxkhspquArD8rTYfKAUeB/DzQD2QijEAr/6+h/3t6HF4gdRxDcD8 XNm/jj5XgVBQFEGHQ5d9p5jxo20AeiaSxAxGv5DB+nd3cfHAl14PPzbXTrOcXgR73J3Ta6jo tbDjyFG5NCwUVt96OD1YIfiJUjGjFHw3CU9Z6nEptA5Omq2kxL7wU4tzhoPg07OWmYt4aD5d CSQ+AIcKy2cyUbCppQsXl8boJfCmO0LScdB75wIhakjPgf1f54kaE7C4rgyTt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yFwMEZIID2xJDU7NbUgtQimj4mDU6qBMVts+YpvB12O f882iLI+mPNzDdfNlJbItyZ39z5XYnPYHakw0eDU0mVlz5auXKwXYhK+aUb6fL2XabWfbjf2 nv66rsnvmE3l3pfztieINiwK/vR/R5fVYcvz//x03hrsm8HdHCO76dz9tdHNTboPn7padMVv +XL6k4kVS1yy+IbVdpPWzj4RMl2JpTgj0VCLuag4EQDO9qW9sQIAAA== X-CMS-MailID: 20190715124444eucas1p2683c9896e8be45d6a0cd4afeb681a2ea X-Msg-Generator: CA X-RootMTR: 20190715124444eucas1p2683c9896e8be45d6a0cd4afeb681a2ea X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124444eucas1p2683c9896e8be45d6a0cd4afeb681a2ea 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 The DPLL has fixed frequency left by the bootloader and it is not possible to change it. With this patch the DPLL gets rate table the same for the whole PLL family (similar as APLL, KPLL according to RM) so the frequency might be changed to one of the values defined there. It is needed for further patches which change the DPLL frequency to feed the clocks with proper base. It also sets CLK_IS_CRITICAL for SCLK_DPLL due to some drivers which could disable master clock, which is then populated higher and tries to disable PLL, which casues system crash. The flag is needed for this kind of use cases. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 7f8221527633..2395b02ce8c5 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -694,7 +694,8 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { MUX(0, "mout_sclk_rpll", mout_rpll_p, SRC_TOP6, 16, 1), MUX_F(CLK_MOUT_EPLL, "mout_sclk_epll", mout_epll_p, SRC_TOP6, 20, 1, CLK_SET_RATE_PARENT, 0), - MUX(0, "mout_sclk_dpll", mout_dpll_p, SRC_TOP6, 24, 1), + MUX_F(CLK_MOUT_SCLK_DPLL, "mout_sclk_dpll", mout_dpll_p, + SRC_TOP6, 24, 1, CLK_IS_CRITICAL, 0), MUX(0, "mout_sclk_cpll", mout_cpll_p, SRC_TOP6, 28, 1), MUX(CLK_MOUT_SW_ACLK400_ISP, "mout_sw_aclk400_isp", @@ -1514,6 +1515,7 @@ static void __init exynos5x_clk_init(struct device_node *np, if (_get_rate("fin_pll") == 24 * MHZ) { exynos5x_plls[apll].rate_table = exynos5420_pll2550x_24mhz_tbl; + exynos5x_plls[dpll].rate_table = exynos5420_pll2550x_24mhz_tbl; exynos5x_plls[epll].rate_table = exynos5420_epll_24mhz_tbl; exynos5x_plls[kpll].rate_table = exynos5420_pll2550x_24mhz_tbl; } From patchwork Mon Jul 15 12:43:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043883 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 ADFA313BD for ; Mon, 15 Jul 2019 12:47:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F0D5284BD for ; Mon, 15 Jul 2019 12:47:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90B3C284AF; Mon, 15 Jul 2019 12:47:48 +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 108E9223C7 for ; Mon, 15 Jul 2019 12:47:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730224AbfGOMot (ORCPT ); Mon, 15 Jul 2019 08:44:49 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60182 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730210AbfGOMos (ORCPT ); Mon, 15 Jul 2019 08:44:48 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124446euoutp01e76cde309f78a1865e3b79e911a90d89~xlUkguqPF1837218372euoutp01a for ; Mon, 15 Jul 2019 12:44:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124446euoutp01e76cde309f78a1865e3b79e911a90d89~xlUkguqPF1837218372euoutp01a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194687; bh=3BRlMgsWN3g08+Y/eeiArBFHKGehsKQXE+uUMNRN0mE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A7VqZtAUP2A8e52mJGNLcZEQldjRkMcg7J4dFqEMTCXUiPN5uJg7RqjydLsOxVk2a 8F6OvKAV01tK1mY5tZ2A1g1R/+3Z8CGfu8Pr1axXFQX9sqhvmjdZGqS/mE6ICk1zcE l27xP5brKJchz4Nr0qXTkzeK2c4ax+iTC6GtJTg8= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124446eucas1p2c695ff9d9181b128a754a68d105cb2c0~xlUjx6Rim2241522415eucas1p2V; Mon, 15 Jul 2019 12:44:46 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 2E.D1.04377.D357C2D5; Mon, 15 Jul 2019 13:44:45 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124445eucas1p1a73385fcbe6205d868ae63b1198ff572~xlUjDQ5_v0154701547eucas1p1D; Mon, 15 Jul 2019 12:44:45 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124445eusmtrp184e4b75c6c69c1d6cc6eef546f578d50~xlUixhnhN0462004620eusmtrp1N; Mon, 15 Jul 2019 12:44:45 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-e8-5d2c753d0429 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 5F.F6.04140.C357C2D5; Mon, 15 Jul 2019 13:44:45 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124444eusmtip20f09feefb130d4ef0abae4837fe7c00e~xlUh5dj2f1115211152eusmtip2J; Mon, 15 Jul 2019 12:44:44 +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 14/50] clk: samsung: add CLK_MOUT_SCLK_CPLL in the Exynos5420 Date: Mon, 15 Jul 2019 14:43:41 +0200 Message-Id: <20190715124417.4787-15-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: H4sIAAAAAAAAA0WSaUhUURzFu/NWB8eeo+XFRGliSHNLk7gtpkHGfIgIPyZiYz7Ucp3nklmk uZumGZlEbqRpai7TKI6Y69homkvmkqYEimFp5o5U0ozP6tvvf+4558+9XBoTNxPmdGBIBKsI kQdJSCHe8Gar39410s776LPU42iiup9AdXk1BBpb+0KgQo1uzJr5hqGBgVoKvbu7QKGJOAuk nBkl0HLGNIGGm56SKG+gRYBeaqYoVDo2JEBDbz3QZHw5iZJeayjUuZBCoO3ROtzdRFZVUAVk S+NJlExZkUbKXpXckbV/bxbI7qsqgGxVaXmJuiw87ccGBUaxCsczV4QB5SlDRFgVdWM4X03G gXIyHdA0ZFxgeuXJdCCkxUw5gIWffgv4YQ3ArL45nB9WAfywtKFLGOwketJ/7LrKAJyvb6X+ RdJG23B9L8k4wMaKcH3AlCkBULPlq/dgzEcBbJ5VE/oDE8YTjqw92GGckcKCom5czyLGDf4s 2MT4bVawsrZthw10+lbuIKkvgsx7CvZM11L8Jc7Beq077zeBX7UqimcL2PswA+eZg3GZxYDn W3AmK3/Xcwp2aocIfQ3G2MCaJkdePgvrGjIB324ExxeN9TKmw5yGxxgvi2Bqsph3W0NVxqCA 5/2wrCp3t1wGR1crd18nB8AXZYtkNrB68n9ZEQAVwIyN5IL9Wc45hI124OTBXGSIv8PV0GAl 0P2p3m3tWiNo+uXbARgaSAxF7n623mJCHsXFBHcASGMSU5Hruk4S+cljbrKKUB9FZBDLdYAD NC4xE8Xu+ewlZvzlEex1lg1jFX9PBbSBeRyINtxs15iYShXktcT2SantvZVhm4OBY2MtifHW YKLW0hOVdnmFZtkcnpfefuSR0KGcHRinszeM/ItdD4W72QvVfcvamuGUBPWJC6qLy92utnOT Nc9bjbsEU/ucynyObdmtxNDrUpLJN1PFOisXq/1Gllx699b3uqgxl0lx8nkJzgXInY5gCk7+ B3HionlPAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAIsWRmVeSWpSXmKPExsVy+t/xe7q2pTqxBrcmM1rcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2MFe0XWQvWsFdcnruTrYFxBVsXIyeHhICJxMmuD0xdjFwcQgJLGSX+ bz3KApEQk5i0bzs7hC0s8edaFxtE0SdGib6fu1m7GDk42AT0JHasKgSpERFYwSgx+YQ3SA2z wGsmiSNH37GCJIQFAiReXt8NNohFQFVi3oITYAt4Bewlfs/7zgyxQF5i9YYDYDYnUPzntAtg 1wkJ2EksPvqTaQIj3wJGhlWMIqmlxbnpucVGesWJucWleel6yfm5mxiBsbPt2M8tOxi73gUf YhTgYFTi4XVI0Y4VYk0sK67MPcQowcGsJMJr+xUoxJuSWFmVWpQfX1Sak1p8iNEU6KiJzFKi yfnAuM4riTc0NTS3sDQ0NzY3NrNQEuftEDgYIySQnliSmp2aWpBaBNPHxMEp1cA4RbhUNPHh XR9twThL/o74ve5LnYrvT1q41Mxg26En0R0v+AwlX6yNOrvezZ03+PnDPKvkoxGbL/0R+PLg dV3+r6kXdddxbY14e+l9yx9lodU2zon1ijUvNuwR6S3YfvCidPiT9qsvOfdG5qduvbTHKK68 +lYk09X3RZJFIfuvMT/WsV5fZhmjxFKckWioxVxUnAgAgmBHGrMCAAA= X-CMS-MailID: 20190715124445eucas1p1a73385fcbe6205d868ae63b1198ff572 X-Msg-Generator: CA X-RootMTR: 20190715124445eucas1p1a73385fcbe6205d868ae63b1198ff572 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124445eucas1p1a73385fcbe6205d868ae63b1198ff572 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 ID to mout_sclk_cpll MUX to make possible children connection in the DT. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 2395b02ce8c5..6d1a0ef9172e 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -696,7 +696,7 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { CLK_SET_RATE_PARENT, 0), MUX_F(CLK_MOUT_SCLK_DPLL, "mout_sclk_dpll", mout_dpll_p, SRC_TOP6, 24, 1, CLK_IS_CRITICAL, 0), - MUX(0, "mout_sclk_cpll", mout_cpll_p, SRC_TOP6, 28, 1), + MUX(CLK_MOUT_SCLK_CPLL, "mout_sclk_cpll", mout_cpll_p, SRC_TOP6, 28, 1), MUX(CLK_MOUT_SW_ACLK400_ISP, "mout_sw_aclk400_isp", mout_sw_aclk400_isp_p, SRC_TOP10, 0, 1), From patchwork Mon Jul 15 12:43:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043867 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 9816213A4 for ; Mon, 15 Jul 2019 12:47:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 87836284AA for ; Mon, 15 Jul 2019 12:47:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A1D3284AF; Mon, 15 Jul 2019 12:47:42 +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=ham 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 EEC9027FAC for ; Mon, 15 Jul 2019 12:47:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730248AbfGOMov (ORCPT ); Mon, 15 Jul 2019 08:44:51 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60260 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730219AbfGOMot (ORCPT ); Mon, 15 Jul 2019 08:44:49 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124448euoutp01ec50a410d78c0f381667c573f5ead511~xlUlxpB2i1837218372euoutp01c for ; Mon, 15 Jul 2019 12:44:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124448euoutp01ec50a410d78c0f381667c573f5ead511~xlUlxpB2i1837218372euoutp01c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194688; bh=rfp9DgQhY51JkaM7dDI4cfxRpTkOLy+J/a8uenktk2g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RlYKMGzALSYkueqgSLTxGIYIdtwJUyLyUE5gsrbfa7dudMUxIkfqqJMb8FZIkWoZE 3Vwx0SPTYy8jKuL67AGU2kGl0Gfoy2O+PxOQ9t1nq3L7nrc8nOxNMRGHj+DqZm3wfm DHngelo98u7gyCoj8E619PuBAdGGWU8/kxzaegkA= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124447eucas1p2eeb720d39764acd64daefb38d5632c62~xlUkoFje43211132111eucas1p2J; Mon, 15 Jul 2019 12:44:47 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 6E.A0.04325.E357C2D5; Mon, 15 Jul 2019 13:44:46 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124446eucas1p1de55fe42ed5555c7a09b10f8c3ec3c3e~xlUjtOC950154701547eucas1p1E; Mon, 15 Jul 2019 12:44:46 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124445eusmtrp1f2b258c6fb4fd864e1acb9f01f0eca8e~xlUjfB8V10462004620eusmtrp1Q; Mon, 15 Jul 2019 12:44:45 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-c6-5d2c753e9561 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 79.40.04146.D357C2D5; Mon, 15 Jul 2019 13:44:45 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124445eusmtip2849cde4b0347e975236d81591710da8d~xlUiteKn10518605186eusmtip2i; Mon, 15 Jul 2019 12:44:45 +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 15/50] clk: samsung: add MPLL rate table in Exynos5420 Date: Mon, 15 Jul 2019 14:43:42 +0200 Message-Id: <20190715124417.4787-16-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: H4sIAAAAAAAAA0WSe0hTURjAO7u7D1fT25Q8mGiMAi0fPdQOaGZkcAusoCispFbeVPLVro8s LR/4SCxFcQ01H5Voy8ecMlI0TEUhWXNGTg1fKUg1DVFDK6zNq/Xf7/u+3/fgcChM0o47UBHR caw8WhYpJURCbe+q3t0/3i1kf3nlQTTa8B5HTcpGHBmXZnFU0WMO86e/YUivV5NIl24i0Wiq I9JMD+FoIW8cRx/aygik1L8RoPqeMRJVGw0CZHh3An1KqyVQZkcPibpN2ThaG2oSBtgydeV1 gPk+nEkyGtVDgml+8YB5O98uYB63qACzqHE6S14S+YWykREJrNzT/5oovEv5i4htsrkzb1KD VJAtzgVWFKS9YPYXHZELRJSErgVwtlpB8sESgFklRgEfLAJYv/IM32zJaJ3F+UINgLqXU8J/ LYULH80ViiJoD/haddvSYEe/ALBn9brFwegRAWyfaV13bOmTsLMoxeII6T0wo6GAsLCYPgpH ynKE/DJn+ErdiVnYypxfVQys3wrpQRIqZxQbUiBcyezAeLaFX/taSJ4dYX9R3obDwdRHVYDn ZDid/3TD8YXdfYb1ezDaFTa2eVoQ0sdgpcKdR2s4PLfdImNmLNQ+wfi0GOZkSfgZLrAlb0DA 8w5YU6fYmM1AfasW4x+nEMDitMdkAXAu+b+rEgAVsGfjuagwljsUzSZ6cLIoLj46zONGTJQG mP9U/1rf8mvw5vf1LkBTQLpNHBC6L0SCyxK4pKguAClMaic+smxOiUNlSXdZecxVeXwky3WB nZRQai++t2XysoQ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qnl/WFCnp+p0UO25md62Ge5rP928w7lW Ytk0b81zXxkM67PfTQpaZOGQsU1YiaU4I9FQi7moOBEAeaHc3LICAAA= X-CMS-MailID: 20190715124446eucas1p1de55fe42ed5555c7a09b10f8c3ec3c3e X-Msg-Generator: CA X-RootMTR: 20190715124446eucas1p1de55fe42ed5555c7a09b10f8c3ec3c3e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124446eucas1p1de55fe42ed5555c7a09b10f8c3ec3c3e 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 The MPLL has fixed frequency left by the bootloader and it is not possible to change it. With this patch the MPLL gets rate table the same for the whole PLL family (similar as APLL, KPLL according to RM) so the frequency might be changed to one of the values defined there. It is needed for further patches which change the MPLL frequency to feed the clocks with proper base. It also sets CLK_IS_CRITICAL for SCLK_MPLL due to some drivers which could disable master clock, which is then populated higher and tries to disable PLL, which casues system crash. The flag is needed for this kind of use cases. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 6d1a0ef9172e..cded46f360f1 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -687,7 +687,8 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { MUX(CLK_MOUT_USER_ACLK300_GSCL, "mout_user_aclk300_gscl", mout_user_aclk300_gscl_p, SRC_TOP5, 28, 1), - MUX(0, "mout_sclk_mpll", mout_mpll_p, SRC_TOP6, 0, 1), + MUX_F(CLK_MOUT_SCLK_MPLL, "mout_sclk_mpll", mout_mpll_p, SRC_TOP6, 0, 1, + CLK_IS_CRITICAL, 0), MUX(CLK_MOUT_VPLL, "mout_sclk_vpll", mout_vpll_p, SRC_TOP6, 4, 1), MUX(CLK_MOUT_SCLK_SPLL, "mout_sclk_spll", mout_spll_p, SRC_TOP6, 8, 1), MUX(0, "mout_sclk_ipll", mout_ipll_p, SRC_TOP6, 12, 1), @@ -1518,6 +1519,7 @@ static void __init exynos5x_clk_init(struct device_node *np, exynos5x_plls[dpll].rate_table = exynos5420_pll2550x_24mhz_tbl; exynos5x_plls[epll].rate_table = exynos5420_epll_24mhz_tbl; exynos5x_plls[kpll].rate_table = exynos5420_pll2550x_24mhz_tbl; + exynos5x_plls[mpll].rate_table = exynos5420_pll2550x_24mhz_tbl; } if (soc == EXYNOS5420) From patchwork Mon Jul 15 12:43:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043879 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 13C7D1800 for ; Mon, 15 Jul 2019 12:47:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0629A2766D for ; Mon, 15 Jul 2019 12:47:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03F832848B; Mon, 15 Jul 2019 12:47: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 512782849B for ; Mon, 15 Jul 2019 12:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730515AbfGOMrm (ORCPT ); Mon, 15 Jul 2019 08:47:42 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49714 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730227AbfGOMot (ORCPT ); Mon, 15 Jul 2019 08:44:49 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124448euoutp02baf996b81d534a9239c5dd35679c5a6d~xlUmEg1tS0599405994euoutp02Z for ; Mon, 15 Jul 2019 12:44:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124448euoutp02baf996b81d534a9239c5dd35679c5a6d~xlUmEg1tS0599405994euoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194688; bh=EsxerzHQ4ZXYQ6jsCCnM/GUgNUB7wTJMtvJQYjBnbJc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EhhHS3Ec3UqntgFT90v4IHg8kkXgOdlO1spElEwhNkS3zuedBAFYOYUgIXt7UKXGb CJIcI1it2PFSvYjwE5Eh1rWtTG2Db/YCwUunGAoVTEoxQWeklwJr540bncCOnv5GIB z7MnCJwlK88Z34ukwG5GkwrSyVXry1ObIMeeePJE= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124447eucas1p2fac5d54d14ae1c6ac361c15054fda7b4~xlUlRW4NU1544915449eucas1p26; Mon, 15 Jul 2019 12:44:47 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id CF.D1.04377.F357C2D5; Mon, 15 Jul 2019 13:44:47 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124446eucas1p1b9b7ec3235fdd887bf5a253a4e223df0~xlUkfJ2t60147201472eucas1p19; Mon, 15 Jul 2019 12:44:46 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124446eusmtrp1ef8567d88b2f386d22a61ddf0c6634e7~xlUkRC-ub0462004620eusmtrp1W; Mon, 15 Jul 2019 12:44:46 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-ed-5d2c753f1e01 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B1.07.04140.E357C2D5; Mon, 15 Jul 2019 13:44:46 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124445eusmtip2c1626aa59bd058113658502445456c66~xlUjeAhEE1115211152eusmtip2K; Mon, 15 Jul 2019 12:44:45 +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 16/50] clk: samsung: add SPLL rate table in Exynos5420 Date: Mon, 15 Jul 2019 14:43:43 +0200 Message-Id: <20190715124417.4787-17-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: H4sIAAAAAAAAA+NgFtrHKsWRmVeSWpSXmKPExsWy7djP87r2pTqxBtNvylrcWneO1WL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WZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2M5o0vWAve81ecvLCAsYFxL28XIyeHhICJxKaJv9lAbCGBpYwSj68Z Q8TFJCbt284OYQtL/LnWBVTDBVTziVHiz/vdrF2MHBxsAnoSO1YVgtSICKxglJh8whukhlng NZPEkaPvWEESwgKeEj2LephBbBYBVYlFP26DDeUVsJd4tXgX1AJ5idUbDoDVcALFf067AHWQ ncTioz+ZJjDyLWBkWMUoklpanJueW2ykV5yYW1yal66XnJ+7iREYOduO/dyyg7HrXfAhRgEO RiUeXocU7Vgh1sSy4srcQ4wSHMxKIry2X4FCvCmJlVWpRfnxRaU5qcWHGE2BjprILCWanA+M 6rySeENTQ3MLS0NzY3NjMwslcd4OgYMxQgLpiSWp2ampBalFMH1MHJxSDYwTznxzdFyx6O/p CavOO3pWa2cq2R+4dE5Ep1Z576JuqfuXdgovUirR2HSQeemMqVnp/hn+IWtORZhu2jpTbY7i 3Wdl21kPZStsPTNhhspOV98lR1vFlD1Kyg2kY1Nz9966fnufbfiiuwpXbVbuWxHYuD+hNueN 7HmbK1EXY+yztuXkzzq6+GuLEktxRqKhFnNRcSIAqCYO3rICAAA= X-CMS-MailID: 20190715124446eucas1p1b9b7ec3235fdd887bf5a253a4e223df0 X-Msg-Generator: CA X-RootMTR: 20190715124446eucas1p1b9b7ec3235fdd887bf5a253a4e223df0 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124446eucas1p1b9b7ec3235fdd887bf5a253a4e223df0 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 The MPLL has fixed frequency left by the bootloader and it is not possible to change it. With this patch the SPLL gets rate table the same for the whole PLL family (similar as APLL, KPLL according to RM) so the frequency might be changed to one of the values defined there. It is needed for further patches which change the MPLL frequency to feed the clocks with proper base. It also sets CLK_IS_CRITICAL for SCLK_SPLL due to some drivers which could disable master clock, which is then populated higher and tries to disable PLL, which casues system crash. The flag is needed for this kind of use cases. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index cded46f360f1..ead569a164cf 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -690,7 +690,8 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { MUX_F(CLK_MOUT_SCLK_MPLL, "mout_sclk_mpll", mout_mpll_p, SRC_TOP6, 0, 1, CLK_IS_CRITICAL, 0), MUX(CLK_MOUT_VPLL, "mout_sclk_vpll", mout_vpll_p, SRC_TOP6, 4, 1), - MUX(CLK_MOUT_SCLK_SPLL, "mout_sclk_spll", mout_spll_p, SRC_TOP6, 8, 1), + MUX_F(CLK_MOUT_SCLK_SPLL, "mout_sclk_spll", mout_spll_p, SRC_TOP6, 8, 1, + CLK_IS_CRITICAL, 0), MUX(0, "mout_sclk_ipll", mout_ipll_p, SRC_TOP6, 12, 1), MUX(0, "mout_sclk_rpll", mout_rpll_p, SRC_TOP6, 16, 1), MUX_F(CLK_MOUT_EPLL, "mout_sclk_epll", mout_epll_p, SRC_TOP6, 20, 1, @@ -1520,6 +1521,7 @@ static void __init exynos5x_clk_init(struct device_node *np, exynos5x_plls[epll].rate_table = exynos5420_epll_24mhz_tbl; exynos5x_plls[kpll].rate_table = exynos5420_pll2550x_24mhz_tbl; exynos5x_plls[mpll].rate_table = exynos5420_pll2550x_24mhz_tbl; + exynos5x_plls[spll].rate_table = exynos5420_pll2550x_24mhz_tbl; } if (soc == EXYNOS5420) From patchwork Mon Jul 15 12:43:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043871 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 4BF4A1800 for ; Mon, 15 Jul 2019 12:47:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E27526D05 for ; Mon, 15 Jul 2019 12:47:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C1EC2849D; Mon, 15 Jul 2019 12:47:43 +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 E2EAF27C05 for ; Mon, 15 Jul 2019 12:47:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730241AbfGOMrm (ORCPT ); Mon, 15 Jul 2019 08:47:42 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60281 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730234AbfGOMou (ORCPT ); Mon, 15 Jul 2019 08:44:50 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124449euoutp01ab476c52f8e8aee10a9518fcb0a7e0b7~xlUm2tTfd1960819608euoutp01a for ; Mon, 15 Jul 2019 12:44:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124449euoutp01ab476c52f8e8aee10a9518fcb0a7e0b7~xlUm2tTfd1960819608euoutp01a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194689; bh=e/bI+49CIyftwGTc+xwcAyP9bm184Xpd/85SSnUhakk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OEf4HAPw5CMhyHIn1QKZXceSv9vYjh6o6FOVojXdUEHbJ5EO8n9wtAKdiXJX+XMsX ygU9tJxV+ZhIlL36VU4vAsT588mq2JtfoWGdnkLSZoDZS1a8tFHifBhztOaeyu4U0O Ebvdj4EHw95Af/FBdM21kO9OE5s+G+DmZSLsm808= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124448eucas1p25eda46e4b1c2f49f1c38cd5f9bdbc911~xlUmBqDMv1544915449eucas1p28; Mon, 15 Jul 2019 12:44:48 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id A0.B0.04325.0457C2D5; Mon, 15 Jul 2019 13:44:48 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124447eucas1p143a857f619f48b9b87437ec3b13dfb3f~xlUlNvQ4c3191231912eucas1p1Z; Mon, 15 Jul 2019 12:44:47 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124447eusmtrp16f1daa55d99a5d7e0e9d4d828e2b5580~xlUk-pGZn0462004620eusmtrp1Z; Mon, 15 Jul 2019 12:44:47 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-cc-5d2c7540edc4 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 13.07.04140.F357C2D5; Mon, 15 Jul 2019 13:44:47 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124446eusmtip2508c7ab371e3cb515ec4d9541fa125a0~xlUkOKj190518605186eusmtip2j; Mon, 15 Jul 2019 12:44:46 +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 17/50] clk: samsung: add CLK_MOUT_MMC0 in the Exynos5420 Date: Mon, 15 Jul 2019 14:43:44 +0200 Message-Id: <20190715124417.4787-18-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: H4sIAAAAAAAAA0WSfSxbYRTGvb339l6yyl0Jb0wmaSL7xBYWb2YzxJYmkpl/JLPIVtwgU6xX bWyJWpiPWA2J2TIzG0N9lwiGrTQEUZqJj2IhXSLBSFci9mFr3dr++53nnOc5J29eChP2EW5U YnIaI0uWJIn4DnjX8J7OK0h+NvqcqtgFGVp0BGqvaCXQ7PYqgaq0lrLYuI6hyck2Ek083iCR QeGO1MYZApmKvhDoc+8rPqqYHOChZu0SiWpn9TykH7uKFrLr+Si3X0uioY08Au3PtONBTuKm 101AvDWXS4rVqgK+uKMmS6zZ7OOJlZ0qIDarj98goxwuxTFJiemMzCfwjk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FVfSJUWLHi8lACQ4ONgE9iR2rCkFqRARWMEpMPuENUsMs8JpJ 4sjRd6wgCWEBb4krJ1cygtgsAqoSax//B9vMK2AvsWbFRxaIBfISqzccAFvMCRT/Oe0CWI2Q gJ3E4qM/mSYw8i1gZFjFKJJaWpybnltspFecmFtcmpeul5yfu4kRGDvbjv3csoOx613wIUYB DkYlHl6HFO1YIdbEsuLK3EOMEhzMSiK8tl+BQrwpiZVVqUX58UWlOanFhxhNgY6ayCwlmpwP jOu8knhDU0NzC0tDc2NzYzMLJXHeDoGDMUIC6YklqdmpqQWpRTB9TBycUg2MveWV1QV9k0XX NjOlXfQr1jiTPblHY9vCiGs/r1zu277nxWq3d9Zb7BLDEnua6+ZuX2YU89Nhf7vX3a9x/KnZ DT9XtEhU7WnRbCy982LrnjWnplit2hJqfyU9YN+0kisrOB7+t1evi/zizFFyZGuctoLsH5Wj Rg8MpjuazpJfdGjBrnvrGe3/KrEUZyQaajEXFScCAGXYNO+zAgAA X-CMS-MailID: 20190715124447eucas1p143a857f619f48b9b87437ec3b13dfb3f X-Msg-Generator: CA X-RootMTR: 20190715124447eucas1p143a857f619f48b9b87437ec3b13dfb3f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124447eucas1p143a857f619f48b9b87437ec3b13dfb3f 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 ID to mout_mmc0 MUX to make possible children connection in the DT. Signed-off-by: Lukasz Luba --- drivers/clk/samsung/clk-exynos5420.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index ead569a164cf..8d58801baf2c 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -763,7 +763,7 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { /* FSYS Block */ MUX(0, "mout_usbd301", mout_group2_p, SRC_FSYS, 4, 3), - MUX(0, "mout_mmc0", mout_group2_p, SRC_FSYS, 8, 3), + MUX(CLK_MOUT_MMC0, "mout_mmc0", mout_group2_p, SRC_FSYS, 8, 3), MUX(0, "mout_mmc1", mout_group2_p, SRC_FSYS, 12, 3), MUX(0, "mout_mmc2", mout_group2_p, SRC_FSYS, 16, 3), MUX(0, "mout_usbd300", mout_group2_p, SRC_FSYS, 20, 3), From patchwork Mon Jul 15 12:43:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043859 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 45D1B912 for ; Mon, 15 Jul 2019 12:47:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34CFF20408 for ; Mon, 15 Jul 2019 12:47:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32CF5284AF; Mon, 15 Jul 2019 12:47:33 +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=ham 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 D2D9E2848B for ; Mon, 15 Jul 2019 12:47:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730244AbfGOMrc (ORCPT ); Mon, 15 Jul 2019 08:47:32 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60260 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730239AbfGOMow (ORCPT ); Mon, 15 Jul 2019 08:44:52 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124450euoutp0191a0f6b57d522269a9e80273e4203e24~xlUnvhlwi1950319503euoutp01q for ; Mon, 15 Jul 2019 12:44:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124450euoutp0191a0f6b57d522269a9e80273e4203e24~xlUnvhlwi1950319503euoutp01q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194690; bh=3iMiE1nebw7ymoKs7LTFQoEktkfy+i+PN+GxjbHobXE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FFikBvAkWtgru8gZUVXAXnGfhCS9rSgHzPYU5hWhVLq6V6gCe5oBb902+dhWYguBx yAevVF+ddcoAuDJFx3qEcD8ws8/ffZYnkA1mn9I600vJcL6L+noE0uH3hUH7tRfthJ kqbYCAmIRjHlGgbNjSOVlVGwpObgr/eZA3hd3PzM= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124449eucas1p100261903364e8c0310850db7f4bdc768~xlUm3ZFGp0570905709eucas1p1D; Mon, 15 Jul 2019 12:44:49 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 62.B0.04325.1457C2D5; Mon, 15 Jul 2019 13:44:49 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124448eucas1p1b3a8d16d6f5e9fd4ed49c3b7fa66e18e~xlUl-pPZj3191231912eucas1p1a; Mon, 15 Jul 2019 12:44:48 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124448eusmtrp1c394831890e757c003e0da31033e1a00~xlUlxZNih0462004620eusmtrp1c; Mon, 15 Jul 2019 12:44:48 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-ce-5d2c75413573 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id DB.40.04146.0457C2D5; Mon, 15 Jul 2019 13:44:48 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124447eusmtip21149f1e8873a78ccd48ccb31e70577f9~xlUlAwYKU1115211152eusmtip2L; Mon, 15 Jul 2019 12:44:47 +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 18/50] ARM: dts: exynos: add bus_isp with OPP table Date: Mon, 15 Jul 2019 14:43:45 +0200 Message-Id: <20190715124417.4787-19-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: H4sIAAAAAAAAA0WSe0hTURzHO/exex0u7qbkQSVpFJaWZgUdyNKwYvVHRFBYJjnzppJO23Wa JjQVK80eGE2J8kG+mtrU5ms+8IWmklMCX1GYVuYjtVRKMmnXu+q/7/d7Pr/f+XI4NC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r1H2C0Ov2lntfh3bSOLg7DHmnlrGD3e32hl99i0qpPNY/OS eo+D7/YwefRtWcXo8XmTXAB7lJ5NUX5pSapCRn5xia1StKGFkZ6hpYWekYmlnqGxeayVkamS vp1NSmpOZllqkb5dgl7G9NUNbAVbuSoe/F7I2sDYzNHFyMEhIWAi8X13SRcjF4eQwFJGiXOH 77F0MXICxcUkJu3bzg5hC0v8udbFBlH0iVHi3uqFjCDNbAJ6EjtWFYLUiAisYJSYfMIbpIZZ 4DWTxJGj71hBaoQF3CSWr5YGqWERUJVoXHoabD6vgL3Eyr9fmSDmy0us3nCAGcTmBIr/nHaB DcQWErCTWHz0J9MERr4FjAyrGEVSS4tz03OLDfWKE3OLS/PS9ZLzczcxAuNm27Gfm3cwXtoY fIhRgINRiYfXIUU7Vog1say4MvcQowQHs5IIr+1XoBBvSmJlVWpRfnxRaU5q8SFGU6CjJjJL iSbnA2M6ryTe0NTQ3MLS0NzY3NjMQkmct0PgYIyQQHpiSWp2ampBahFMHxMHp1QDo6TGzHN2 2z6a7TK6tXHvuWJLn48HvjzqVOWdxj/LffHlogkBKdIymte4HhwKfnJlY/crS8kHZgFJejPq D+yZIL/OTvCBmVXMxWnG3x6U8EhaWV6b5laSnf01atHNLa/ezb19PT8/+OOHk/lBTsmZTl4X dJWOtZXdn/NI6/bGW8bRBZNn/fu2S0OJpTgj0VCLuag4EQCBSUn8sQIAAA== X-CMS-MailID: 20190715124448eucas1p1b3a8d16d6f5e9fd4ed49c3b7fa66e18e X-Msg-Generator: CA X-RootMTR: 20190715124448eucas1p1b3a8d16d6f5e9fd4ed49c3b7fa66e18e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124448eucas1p1b3a8d16d6f5e9fd4ed49c3b7fa66e18e 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 controls ACLK400_ISP clock. The OPPs are aligned to parent clock and PLL rate so that the PLL would not need to be reprogrammed. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 5fb2326875dc..1b717c5c3b1a 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1095,6 +1095,14 @@ status = "disabled"; }; + bus_isp: bus_isp { + compatible = "samsung,exynos-bus"; + clocks = <&clock CLK_DOUT_ACLK400_ISP>; + clock-names = "bus"; + operating-points-v2 = <&bus_isp_opp_table>; + status = "disabled"; + }; + bus_wcore_opp_table: opp_table2 { compatible = "operating-points-v2"; @@ -1337,6 +1345,23 @@ opp-hz = /bits/ 64 <400000000>; }; }; + + bus_isp_opp_table: opp_table17 { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <150000000>; + }; + opp01 { + opp-hz = /bits/ 64 <200000000>; + }; + opp02 { + opp-hz = /bits/ 64 <300000000>; + }; + opp03 { + opp-hz = /bits/ 64 <400000000>; + }; + }; }; thermal-zones { From patchwork Mon Jul 15 12:43:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043861 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 A8C8E13A4 for ; Mon, 15 Jul 2019 12:47:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98F12284AF for ; Mon, 15 Jul 2019 12:47:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D35620408; Mon, 15 Jul 2019 12:47:33 +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=ham 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 2723527C05 for ; Mon, 15 Jul 2019 12:47:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728933AbfGOMrc (ORCPT ); Mon, 15 Jul 2019 08:47:32 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49748 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730244AbfGOMow (ORCPT ); Mon, 15 Jul 2019 08:44:52 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124450euoutp02da60cf48b7d001d5d990a6b84b2d6cd5~xlUoDCN410722707227euoutp02J for ; Mon, 15 Jul 2019 12:44:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124450euoutp02da60cf48b7d001d5d990a6b84b2d6cd5~xlUoDCN410722707227euoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194690; bh=0yu/GCB186G2/MeW65t6RpIaAjApTjN5ldP7+MRyAec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fePyTli9lSNfJmDL7oQZ2G8IfWQrrl4p85tw3rIFibxJlr4+WyFtzmRoUza6+Gf3W Ciflg8NrbCJNmbalxtomFT+QQE0py4FedSaARl1FSOStnvUAmewZKEsIkU5w4694Si c8frt9p50auwvUog88Fqzil1BHH9CLd1wo1NkVUk= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124450eucas1p10da85ce7eb3932c2a505b59f530fe67a~xlUnhKuab3144231442eucas1p1a; Mon, 15 Jul 2019 12:44:50 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id A3.B0.04325.1457C2D5; Mon, 15 Jul 2019 13:44:49 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124449eucas1p130d853368cb8bf02bef337da2d513fff~xlUm0VlnW0146601466eucas1p1M; Mon, 15 Jul 2019 12:44:49 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124449eusmtrp13f4b90687480b813d224e6ca59358bbd~xlUmmNrMm0462004620eusmtrp1e; Mon, 15 Jul 2019 12:44:49 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-d1-5d2c7541a773 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 05.07.04140.1457C2D5; Mon, 15 Jul 2019 13:44:49 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124448eusmtip2dfd3a98ece2d652667f4b63a1902fc46~xlUlwfXYH1242312423eusmtip2Q; Mon, 15 Jul 2019 12:44:48 +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 19/50] ARM: dts: exynos: change OPPs values for FSYS2 in Exynos5420 Date: Mon, 15 Jul 2019 14:43:46 +0200 Message-Id: <20190715124417.4787-20-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: H4sIAAAAAAAAA+NgFtrFKsWRmVeSWpSXmKPExsWy7djP87qOpTqxBl8PWFjcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6M/Yca2Au6OCu2XyxqYJzC3sXIySEh YCLR0N7P2sXIxSEksIJR4lJzAyOE84VR4v3Ra+wQzmdGiWlr/jPCtCy5cggqsZxRYm5/CxNI Aqzl0/H0LkYODjYBPYkdqwpBwiICSxgljvxMAqlnFrjJJLHnyU5WkISwQITEr9ltYL0sAqoS S37tAovzCthLHJu6ghlimbzE6g0HwGxOoPjPaRfYQAZJCJxilzi7t50ZZJmEgItE64pKiHph iVfHt0D9JiNxenIPC4RdLNHQuxDqgRqJx/1zoWqsJQ4fv8gKMoZZQFNi/S59iImOEneaBSFM PokbbwVBipmBzEnbpkPt5JXoaBOCmKEhsaXnAhOELSaxfM00qNkeEl82tDJBAmoSo0TTqknM ExjlZyHsWsDIuIpRPLW0ODc9tdg4L7Vcrzgxt7g0L10vOT93EyMwRZ3+d/zrDsZ9f5IOMQpw MCrx8DqkaMcKsSaWFVfmHmKU4GBWEuG1/QoU4k1JrKxKLcqPLyrNSS0+xCjNwaIkzlvN8CBa SCA9sSQ1OzW1ILUIJsvEwSnVwBh1Rfqlgrz7SflumUO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29xizGdeisdZ7eaot0ByWW4oxEQy3mouJEAE9pPsyyAgAA X-CMS-MailID: 20190715124449eucas1p130d853368cb8bf02bef337da2d513fff X-Msg-Generator: CA X-RootMTR: 20190715124449eucas1p130d853368cb8bf02bef337da2d513fff X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124449eucas1p130d853368cb8bf02bef337da2d513fff 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 The OPPs values for FSYS2 does not reflect the real possible frequencies. According to the documentation the maximum frequency is 240MHz. This clock is important to MMC controller controlling the AXI data bus speed and internal buses. The new OPP values are aligned to parent PLL rate so that there is no need of reprogramming PLL and the integer values are possible to get using only a clock divider. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 1b717c5c3b1a..941c58bdd809 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1161,13 +1161,13 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <75000000>; + opp-hz = /bits/ 64 <150000000>; }; opp01 { - opp-hz = /bits/ 64 <100000000>; + opp-hz = /bits/ 64 <200000000>; }; opp02 { - opp-hz = /bits/ 64 <150000000>; + opp-hz = /bits/ 64 <240000000>; }; }; From patchwork Mon Jul 15 12:43:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043857 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 D6E3C1800 for ; Mon, 15 Jul 2019 12:47:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C853B2000A for ; Mon, 15 Jul 2019 12:47:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C69AF27C05; Mon, 15 Jul 2019 12:47:32 +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 7B9462000A for ; Mon, 15 Jul 2019 12:47:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730178AbfGOMr1 (ORCPT ); Mon, 15 Jul 2019 08:47:27 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49765 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730254AbfGOMox (ORCPT ); Mon, 15 Jul 2019 08:44:53 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124451euoutp02c5ec067c37e55ffcdd10ec98fc790e43~xlUpDeM5K0722707227euoutp02L for ; Mon, 15 Jul 2019 12:44:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124451euoutp02c5ec067c37e55ffcdd10ec98fc790e43~xlUpDeM5K0722707227euoutp02L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194691; bh=aLhnyTWdZ5o8tYVZnpxOlyYCNVbl4sFXcCeL4NDnAzA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mr1Q5BNnJX05hVaeDYUZ1wttZbZ1MQPW3fGI2ighsqEKb/yTq6ko/bLF8xBRN0wWW oWw+ejT3OL8fVvUiwtXdad8vslidgg2LZzAW/jGKythVJeUr/DTuo7GnM+jCTJyq20 KuCTtvUG0DDyxR6i2YcbE3EdSEZvCXV0rk2F3UTQ= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124451eucas1p15f2d0d90b44efa83f2ef99b3e5f2e043~xlUoQ6V460571105711eucas1p16; Mon, 15 Jul 2019 12:44:51 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id E4.B0.04325.2457C2D5; Mon, 15 Jul 2019 13:44:50 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124450eucas1p189043d196375aa6adacf898de81bfa9b~xlUnk9cAm0154001540eucas1p1F; Mon, 15 Jul 2019 12:44:50 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124450eusmtrp1cd38d6f5340299905ea08b0461293d57~xlUnW0GLU0462004620eusmtrp1h; Mon, 15 Jul 2019 12:44:50 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-d2-5d2c754264e2 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 3D.40.04146.1457C2D5; Mon, 15 Jul 2019 13:44:49 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124449eusmtip2f61e0c5c000efa07dbc20e389625a118~xlUmir9vb1176011760eusmtip21; Mon, 15 Jul 2019 12:44:49 +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 20/50] ARM: dts: exynos: change and rename FSYS OPP table in Exynos5420 Date: Mon, 15 Jul 2019 14:43:47 +0200 Message-Id: <20190715124417.4787-21-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: H4sIAAAAAAAAA0VSeyxVcRzvd849D3duO13Gz6PMFeuFSm2/Db2m7bb6g1abKauLE/LsHlek lZI8klclC8nmtUvhMkNSuItYXVTctFK0Wd6Ghsm6x2H99/l+Xt/vfvvRuPQlYUkHh0exynBF qIwUi+rfLukcj6n2+O5danVEgy8+EKgmt4pAA/OjBCrUGsaMkXEc6XTVFHp/e4JCg/HWSDPS T6DZtO8E+tiUT6JcXQuGnmu/UahkoBdDvV3H0ddb5SRKfKWlUPtEEoFW+2tER0zklU8rgXxa n0jJNeoUUl5bfFPeOtWMydPr1EA+p9nmSfmI3QLY0OBoVul86KI4qDZzkYgcF8eUDU2L4sFP OhUY0ZA5ANtTu8hUIKalTDmAo8sNmDDMA6jVDOHCMAfgvcYqciOSPjdICUIZgOPFy4AX1iL1 2hupgKZJxgk2qK/wtClTbGha8uP9OPMFg82/GgleMGHOw5TpWpL3ixh7mPzJlqclzGFYsjBN CbtsYEX1G5zHRgZ+Kadn7VTI9FGwtDAN8FnIeMCkBFPBbwLHOurWs9aw+0GaSMAcjL9fBAR8 HY5kFKx7XGF7Ry/B1+DMTljV5CzQR+Hw70lMaN8M9ZNb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IHY4QE0hNLUrNTUwtSi2D6mDg4pRoYCx+0b5fp tmlVf1+u+Vot+Pghyf1lDxJ+WzK/t1RXm3N9bs/a8HOTnJ5af3pjmFojave6ouDWkarv181M G2QkPd/+j9jY4K02K+iI7W6RkAJmi2tqHIHm2t7dNya9fuD4Iid9pTkzm4Bwb2WWkuZ/nm0S N7xWl3eu1kh5dYJ/+506zq6pWZJKLMUZiYZazEXFiQAGR0t+sgIAAA== X-CMS-MailID: 20190715124450eucas1p189043d196375aa6adacf898de81bfa9b X-Msg-Generator: CA X-RootMTR: 20190715124450eucas1p189043d196375aa6adacf898de81bfa9b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124450eucas1p189043d196375aa6adacf898de81bfa9b 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 The FSYS and FSYS2 buses have similar characteristics and both have max frequency 240MHz. The old OPP table bus_fsys_apb_opp_table should be used only to FSYS APB bus because APB max frequency is 200MHz. The new OPPs for FSYS should increase its performance and related devices. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 941c58bdd809..c7fc4b829b2a 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -995,7 +995,7 @@ compatible = "samsung,exynos-bus"; clocks = <&clock CLK_DOUT_ACLK200_FSYS>; clock-names = "bus"; - operating-points-v2 = <&bus_fsys_apb_opp_table>; + operating-points-v2 = <&bus_fsys_opp_table>; status = "disabled"; }; @@ -1003,7 +1003,7 @@ compatible = "samsung,exynos-bus"; clocks = <&clock CLK_DOUT_ACLK200_FSYS2>; clock-names = "bus"; - operating-points-v2 = <&bus_fsys2_opp_table>; + operating-points-v2 = <&bus_fsys_opp_table>; status = "disabled"; }; @@ -1157,7 +1157,7 @@ }; }; - bus_fsys2_opp_table: opp_table5 { + bus_fsys_opp_table: opp_table5 { compatible = "operating-points-v2"; opp00 { From patchwork Mon Jul 15 12:43:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043847 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 EFDFB1800 for ; Mon, 15 Jul 2019 12:47:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1C2B20408 for ; Mon, 15 Jul 2019 12:47:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5A852849D; Mon, 15 Jul 2019 12:47:16 +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 9076E20408 for ; Mon, 15 Jul 2019 12:47:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730264AbfGOMoz (ORCPT ); Mon, 15 Jul 2019 08:44:55 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49745 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730262AbfGOMoy (ORCPT ); Mon, 15 Jul 2019 08:44:54 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124452euoutp02c33b5f030d399c6de259929e07186d23~xlUp_U_lY0722707227euoutp02N for ; Mon, 15 Jul 2019 12:44:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124452euoutp02c33b5f030d399c6de259929e07186d23~xlUp_U_lY0722707227euoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194692; bh=YC8dotW1I1wyLEkwf/U+c5ZFp3zTs1jZ5aE9LLN7rRA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fAWSqsl6Oz3dFJaektFlDztYti/81R3FalvwdUwcfTNdB7A3hEtWCvqLbyuNd/txE wZFGxBfoF+lDLushU+WaicrFlH0PtG3hOQyfm4y+tVBdhJHACCqwzF6cFQsNVitLJm ZIoczT57AUqRgqqL96czxF5RCVCyG1Q1TAN1H+lw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124451eucas1p236623bca6e1abdc8be994cd0c9c7a1c2~xlUpGtRJN2241922419eucas1p2k; Mon, 15 Jul 2019 12:44:51 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 56.B0.04325.3457C2D5; Mon, 15 Jul 2019 13:44:51 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124451eucas1p2904b49f59cca0cbbc22381f168affbb5~xlUoTuixg3211132111eucas1p2O; Mon, 15 Jul 2019 12:44:51 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124450eusmtrp1b72adaeb1ef0b6911e90305afc3e4084~xlUoFnJLO0488104881eusmtrp1C; Mon, 15 Jul 2019 12:44:50 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-d5-5d2c75438a88 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 57.07.04140.2457C2D5; Mon, 15 Jul 2019 13:44:50 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124449eusmtip28b6ef71151b9f663ca27293d9c48a6ed~xlUnTGwSg1242312423eusmtip2S; Mon, 15 Jul 2019 12:44:49 +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 21/50] ARM: dts: exynos: add OPP into FSYS APB bus in Exynos5420 Date: Mon, 15 Jul 2019 14:43:48 +0200 Message-Id: <20190715124417.4787-22-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: H4sIAAAAAAAAA0VSa0hTURzv3Lv7cLq8zaiDRsIicj3MyOBkLyOD0acsJFpFzbxMbZu22ywr aBbLEtMymMNMl+Rrzpprhb1W6lRo1FyJOiUNFiSmhmQfpCVt3lnffv/f4/wfHBoXO4lYOkdz jtVqFCoJKRQ865nzbNqn23giqb1uDRp+9IFAbabHBBqc/UagWlewLPd/x5HHY6PQ+6uTFBrW r0J2/wCBZkpHCfTpRTWJTB4nhlpdnylUP+jFkPfdfjRS1EQiw2sXhbomiwk0P9AmS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AWsXIyeHhICJxKKDh5m6GLk4hASWMkoc urCFESIhJjFp33Z2CFtY4s+1LjaIok+MEueOrAPq4OBgE9CT2LGqEKRGRGAFo8TkE94gNcwC r5kkjhx9B7ZBWCBY4tC9P2CDWARUJZpf3QSL8wrYS1z5fQ9qgbzE6g0HmEFsTqD4z2kX2EBs IQE7icVHfzJNYORbwMiwilEktbQ4Nz232EivODG3uDQvXS85P3cTIzB2th37uWUHY9e74EOM AhyMSjy8DinasUKsiWXFlbmHGCU4mJVEeG2/AoV4UxIrq1KL8uOLSnNSiw8xmgIdNZFZSjQ5 HxjXeSXxhqaG5haWhubG5sZmFkrivB0CB2OEBNITS1KzU1MLUotg+pg4OKUaGB15z4Z9kFyS duDuJKYXC2T3Oek4i1gybXpxw0W8yzU/tO//dsszxik/tF/tEbun3b9Hbsljfc/Vrde6eBZZ 2WaUW7DMX+88RaOIQfYF86/vzut9c9q4Z5duaSl0ymVhYoufff9bTK/ryTebHqTdq9gesMPs 4fGrgQezv/S/+t360lMsrvVrnRJLcUaioRZzUXEiAOIlzMGzAgAA X-CMS-MailID: 20190715124451eucas1p2904b49f59cca0cbbc22381f168affbb5 X-Msg-Generator: CA X-RootMTR: 20190715124451eucas1p2904b49f59cca0cbbc22381f168affbb5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124451eucas1p2904b49f59cca0cbbc22381f168affbb5 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 an OPP for FSYS APB which reflects the real possible frequency. The bus will have a new parent clock which speed has 600MHz, thus a new possible frequency provided by the clock divider is 150MHz. According to the documentation max possible frequency for this bus is 200MHz. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index c7fc4b829b2a..2b36c2f77a10 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1153,6 +1153,9 @@ opp-hz = /bits/ 64 <100000000>; }; opp01 { + opp-hz = /bits/ 64 <150000000>; + }; + opp02 { opp-hz = /bits/ 64 <200000000>; }; }; From patchwork Mon Jul 15 12:43:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043849 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 4DFD0912 for ; Mon, 15 Jul 2019 12:47:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E2F3205F7 for ; Mon, 15 Jul 2019 12:47:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3219C2848B; Mon, 15 Jul 2019 12:47:18 +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=ham 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 D4A372766D for ; Mon, 15 Jul 2019 12:47:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730455AbfGOMrR (ORCPT ); Mon, 15 Jul 2019 08:47:17 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49793 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730269AbfGOMoy (ORCPT ); Mon, 15 Jul 2019 08:44:54 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124453euoutp02da2ee0c04657b569fc6315ab9a9912e0~xlUqu8H470599405994euoutp02k for ; Mon, 15 Jul 2019 12:44:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124453euoutp02da2ee0c04657b569fc6315ab9a9912e0~xlUqu8H470599405994euoutp02k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194693; bh=rqowIlY4bCNTcr2vXgEl4mHT3UFlQgX6gEZbWnELGdc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r1tZk9ZKn/kXXzen6C/uTZESRuFix9RQF6XQwHAHJs1qOaRbMZ3FGSGl2mLg4m+Ar neqVTfjeIiBvsx5Z8MR5jo5O8kXLLKxAO0EY2T8X+w/eIMLIujUKNJp8Pndx+84BYg oVTDmyo78iYohN2Ci2RPVcDE2yJe2r3MjI4/zDEk= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124452eucas1p1a90509ba46fb236b751c98063ff13a02~xlUp8XAo53056930569eucas1p1b; Mon, 15 Jul 2019 12:44:52 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id C7.B0.04325.4457C2D5; Mon, 15 Jul 2019 13:44:52 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124451eucas1p28ac87fa7bd7e602ffab69a6915f37536~xlUpKVgf92241522415eucas1p2e; Mon, 15 Jul 2019 12:44:51 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124451eusmtrp1d171d79d6bd8d771eb127a526773c3c9~xlUo8Nl100488104881eusmtrp1H; Mon, 15 Jul 2019 12:44:51 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-d8-5d2c7544299a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 6F.40.04146.3457C2D5; Mon, 15 Jul 2019 13:44:51 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124450eusmtip257833d6fe86e20ec790233383714f745~xlUoFFUzM1176011760eusmtip23; Mon, 15 Jul 2019 12:44:50 +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 22/50] ARM: dts: exynos: OPPs for bus_disp1 in Exynos5420 Date: Mon, 15 Jul 2019 14:43:49 +0200 Message-Id: <20190715124417.4787-23-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: H4sIAAAAAAAAA+NgFtrLKsWRmVeSWpSXmKPExsWy7djP87oupTqxBp+nKlncWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8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1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2Mh2dnMRccZq/o2X2BrYHxDWsXIyeHhICJxMWD+9hAbCGBpYwSu44K QcTFJCbt284OYQtL/LnWBVTDBVTziVHiy4r5LF2MHBxsAnoSO1YVgtSICKxglJh8whukhlng NZPEkaPvwBYIC/hILLzzEsxmEVCVeHdwGQuIzStgL7Hp+l+oBfISqzccYAaxOYHiP6ddgDrI TmLx0Z9MExj5FjAyrGIUSS0tzk3PLTbUK07MLS7NS9dLzs/dxAiMnG3Hfm7ewXhpY/AhRgEO RiUeXocU7Vgh1sSy4srcQ4wSHMxKIry2X4FCvCmJlVWpRfnxRaU5qcWHGE2BjprILCWanA+M 6rySeENTQ3MLS0NzY3NjMwslcd4OgYMxQgLpiSWp2ampBalFMH1MHJxSDYwmEx7obg5J6ueK W/920z1F0bM/rh9velmm7ph88Pn9WMFT5/hXf2R9tO34jU8vn7928F33eZ+IHyvv4ob93Nrs tzIq9px5IJfuz3iy4Gn76lPz2hZvfNKRe38Dw8M/Nx423CkylHkWOjPJ19NH50eMv/SkwPhT CWe5d+zJXetvKWPIaijpbiysxFKckWioxVxUnAgAKPVXarICAAA= X-CMS-MailID: 20190715124451eucas1p28ac87fa7bd7e602ffab69a6915f37536 X-Msg-Generator: CA X-RootMTR: 20190715124451eucas1p28ac87fa7bd7e602ffab69a6915f37536 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124451eucas1p28ac87fa7bd7e602ffab69a6915f37536 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 Update the bus_disp1 OPPs and add 400MHz which is max frequency for this bus. The frequencies are aligned to parent clock such that it is not needed to change the PLL rate. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 2b36c2f77a10..6e82ffcbeacd 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1305,7 +1305,7 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <120000000>; + opp-hz = /bits/ 64 <150000000>; }; opp01 { opp-hz = /bits/ 64 <200000000>; @@ -1313,6 +1313,9 @@ opp02 { opp-hz = /bits/ 64 <300000000>; }; + opp03 { + opp-hz = /bits/ 64 <400000000>; + }; }; bus_gscl_opp_table: opp_table15 { From patchwork Mon Jul 15 12:43:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043843 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 C9C9C1800 for ; Mon, 15 Jul 2019 12:47:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B883326D05 for ; Mon, 15 Jul 2019 12:47:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACD7326D08; Mon, 15 Jul 2019 12:47:15 +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=ham 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 57ED12000A for ; Mon, 15 Jul 2019 12:47:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730478AbfGOMrL (ORCPT ); Mon, 15 Jul 2019 08:47:11 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60313 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730223AbfGOMoz (ORCPT ); Mon, 15 Jul 2019 08:44:55 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124454euoutp0187bbb487603742ef4a54cc05d011b251~xlUrfPSOw1962419624euoutp01c for ; Mon, 15 Jul 2019 12:44:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124454euoutp0187bbb487603742ef4a54cc05d011b251~xlUrfPSOw1962419624euoutp01c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194694; bh=H5FVYw5kDy2QEFgac82jkZu5q4Az1Wq5jvWX7kVAaZ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SPwWjrMVuRp9VVU3ZEBZAPM1ZNR4NRtosEOYfCO6XQbR2kRySUCBDjmltm6De2XRm mHpAIz2gCX0VIk0l+3FC+nhFaQbcP87/Tvezg09qIdv+cLF0OFXszAFT4reNzDm3k3 rR34pSux5+joJgWKzD1ZyeGvh1xqamtZ0QGfzmgg= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124453eucas1p29891e3f05d4832717eabbeba61a92b25~xlUqqCckh2241922419eucas1p2o; Mon, 15 Jul 2019 12:44:53 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 64.E1.04377.5457C2D5; Mon, 15 Jul 2019 13:44:53 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124452eucas1p294d89255359b2036b19213427f558dbf~xlUp6KIfy2439124391eucas1p2Y; Mon, 15 Jul 2019 12:44:52 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124452eusmtrp1135aca85474ff92cdbb5e8751a410792~xlUpr-WON0488104881eusmtrp1K; Mon, 15 Jul 2019 12:44:52 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-ff-5d2c75452282 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C0.50.04146.4457C2D5; Mon, 15 Jul 2019 13:44:52 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124451eusmtip2df42500a43de8e60764c8c0afffa08c9~xlUo3QT061115211152eusmtip2P; Mon, 15 Jul 2019 12:44:51 +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 23/50] ARM: dts: exynos: change lowest OPP in bus_disp1_fimd in Exynos5420 Date: Mon, 15 Jul 2019 14:43:50 +0200 Message-Id: <20190715124417.4787-24-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: H4sIAAAAAAAAA0WSfUzMcRzHfX/Pd+vyc2f6rpo4McKR+eOLSm0ebrNZHmZCy6Wfaq4r9+tB sTkUaUeG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rZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2MJf8OMha8YK1Y82Q+cwPjDZYuRk4OCQETiWV7G8BsIYGljBJz7pVA xMUkJu3bzg5hC0v8udbF1sXIBVTziVHi9JeLrF2MHBxsAnoSO1YVgtSICKxglJh8whukhlng NZPEkaPvWEESwgKxEucW/GQGsVkEVCVm33sCZvMK2Ev0b1zABLFAXmL1hgNgcU6g+M9pF9gg DrKTWHz0J9MERr4FjAyrGEVSS4tz03OLDfWKE3OLS/PS9ZLzczcxAiNn27Gfm3cwXtoYfIhR gINRiYfXIUU7Vog1say4MvcQowQHs5IIr+1XoBBvSmJlVWpRfnxRaU5q8SFGU6CjJjJLiSbn A6M6ryTe0NTQ3MLS0NzY3NjMQkmct0PgYIyQQHpiSWp2ampBahFMHxMHp1QDo9rCDzdc0jrz /xlN6ksRm/z0zJHN62xWX/FU9350KHCN/TuRmzMjdF0V680Ek083H9NVOSf7mvO9wurKKKUv Mf9/nOnVSue5Jcr07rL/VonTUsrcHS1OWQ8NzO2ZL+94ru8nwGBbWlCqfOJz3tf+YPvo6+1L P7J1/nD48C92819HvYnzFr5Zo8RSnJFoqMVcVJwIAEaGtX2yAgAA X-CMS-MailID: 20190715124452eucas1p294d89255359b2036b19213427f558dbf X-Msg-Generator: CA X-RootMTR: 20190715124452eucas1p294d89255359b2036b19213427f558dbf X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124452eucas1p294d89255359b2036b19213427f558dbf 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 The lowest OPP must be aligned to possible value after division of parent clock rate. Thus, change it to the value which is true for clock 1200MHz. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 6e82ffcbeacd..0739e7bd4628 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1294,7 +1294,7 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <120000000>; + opp-hz = /bits/ 64 <150000000>; }; opp01 { opp-hz = /bits/ 64 <200000000>; From patchwork Mon Jul 15 12:43:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043841 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 2E6651800 for ; Mon, 15 Jul 2019 12:47:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2099827FAC for ; Mon, 15 Jul 2019 12:47:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 151FC26D08; Mon, 15 Jul 2019 12:47:13 +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 ED06F26D05 for ; Mon, 15 Jul 2019 12:47:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730278AbfGOMrG (ORCPT ); Mon, 15 Jul 2019 08:47:06 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49745 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730277AbfGOMo4 (ORCPT ); Mon, 15 Jul 2019 08:44:56 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124455euoutp02524465a9e4e80419732a2729125fa123~xlUsXKHHU0714907149euoutp02f for ; Mon, 15 Jul 2019 12:44:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124455euoutp02524465a9e4e80419732a2729125fa123~xlUsXKHHU0714907149euoutp02f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194695; bh=GOd+mMZrwqbVKHJOt6tPNx9LKsGHU6yKQsUM68Fy0u4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ETPQBZbBY84/ksp6YpzxnwwXxTkPq7+84pSDGGrUhMNlAHtlok2LITF6ImSPTczPY x1RH4ppiwzgYTow5kFUuYEzTrzLGC7S1PCZRzhSTa3Zy3fNGw7xCiGWwmB91Kb6ACe JqTwcIn2CuxQwJ0Qe3DwKRwWN2KWlm4qYOllF+AY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124454eucas1p2f9ad1d9a45e4205b41bdb66c4008a312~xlUridJWU3211032110eucas1p2B; Mon, 15 Jul 2019 12:44:54 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id E5.E1.04377.6457C2D5; Mon, 15 Jul 2019 13:44:54 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124453eucas1p1dbdfab862499d9a7bd8a853e30944bac~xlUqvuzZ53144231442eucas1p1g; Mon, 15 Jul 2019 12:44:53 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124453eusmtrp14a5d202e60b580ba1c20f2f3f1637c2c~xlUqdX55O0488104881eusmtrp1N; Mon, 15 Jul 2019 12:44:53 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-02-5d2c75462b4e Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 02.50.04146.5457C2D5; Mon, 15 Jul 2019 13:44:53 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124452eusmtip22532a2b1ecd4c0e4ea34bd2be0defe89~xlUpqWU9w1176011760eusmtip24; Mon, 15 Jul 2019 12:44:52 +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 24/50] ARM: dts: exynos: align OPPs with PLL rate for MSCL in Exynos5420 Date: Mon, 15 Jul 2019 14:43:51 +0200 Message-Id: <20190715124417.4787-25-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: H4sIAAAAAAAAA0WSeUhUURT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+t/xe7qupTqxBu/eiVjcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2Mbz+a2ApuclT8b+pnbGC8ytbFyMkhIWAisa/rElMXIxeHkMBSRolT 3/ezQiTEJCbt284OYQtL/LnWxQZR9IlR4vidH0BFHBxsAnoSO1YVgtSICKxglJh8whukhlng NZPEkaPvwAYJC0RL7Ny8D2wbi4CqxPWJO8BsXgF7ia7tj1ggFshLrN5wgBnE5gSK/5x2AaxG SMBOYvHRn0wTGPkWMDKsYhRJLS3OTc8tNtQrTswtLs1L10vOz93ECIydbcd+bt7BeGlj8CFG AQ5GJR5ehxTtWCHWxLLiytxDjBIczEoivLZfgUK8KYmVValF+fFFpTmpxYcYTYGOmsgsJZqc D4zrvJJ4Q1NDcwtLQ3Njc2MzCyVx3g6BgzFCAumJJanZqakFqUUwfUwcnFINjP7+a5gcfWze s7k/fyP555Tv4Tbn4qnvjbSMptbre1QkhUv9SqzQ2lexhVeZ9+LVf2amsrlb4xncPV9z7p3i c2B/56LA3ruXpDbeXq1/SnWxY+dm378nNYp+G0oE5MWmTer9Hrk0dXNHoyzXr6W7OY58Obbg qtZzOeazp/ZZX98ePGu2XaySphJLcUaioRZzUXEiABubiwmzAgAA X-CMS-MailID: 20190715124453eucas1p1dbdfab862499d9a7bd8a853e30944bac X-Msg-Generator: CA X-RootMTR: 20190715124453eucas1p1dbdfab862499d9a7bd8a853e30944bac X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124453eucas1p1dbdfab862499d9a7bd8a853e30944bac 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 The OPPs must reflect possible values after dividing the master clock. The old values 400 and 333, 222, etc does not have common parent rate. Thus, align the values to parent rate such that they will be set exactly using only a divider. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 0739e7bd4628..74d014f3eaa6 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1336,18 +1336,15 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <84000000>; + opp-hz = /bits/ 64 <150000000>; }; opp01 { - opp-hz = /bits/ 64 <167000000>; + opp-hz = /bits/ 64 <200000000>; }; opp02 { - opp-hz = /bits/ 64 <222000000>; + opp-hz = /bits/ 64 <300000000>; }; opp03 { - opp-hz = /bits/ 64 <333000000>; - }; - opp04 { opp-hz = /bits/ 64 <400000000>; }; }; From patchwork Mon Jul 15 12:43:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043837 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 09DF7912 for ; Mon, 15 Jul 2019 12:47:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F00F92766D for ; Mon, 15 Jul 2019 12:47:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3B7D2000A; Mon, 15 Jul 2019 12:47:05 +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 956ED2766D for ; Mon, 15 Jul 2019 12:47:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730374AbfGOMrE (ORCPT ); Mon, 15 Jul 2019 08:47:04 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49794 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730283AbfGOMo5 (ORCPT ); Mon, 15 Jul 2019 08:44:57 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124456euoutp02b8c0e7fb5e2b67454c85c4f83e387244~xlUtMCcq70722707227euoutp02U for ; Mon, 15 Jul 2019 12:44:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124456euoutp02b8c0e7fb5e2b67454c85c4f83e387244~xlUtMCcq70722707227euoutp02U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194696; bh=1FbxRMR/J2d1fJmmubphL3VmOgAMnSNbd+ERLGAret4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NzS+TRkrjzK71HQGeO2R3IT4qBEGeso4d8hC4zJXWjaRjp9JXU1/NnatHQT/0G+4e qckNIWjRrxOYqlpdmUDytdFxFlKFpuO+aeZv1qH96OPGPDIAEKYvK2Bnxkb18T18S0 dckDiqt5S2e+RTHB4zNqiLOpTNHHlmMdO9UENuhc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124455eucas1p1238f8c5e167902c4113b857feef1fb91~xlUsWj9Re0153501535eucas1p1B; Mon, 15 Jul 2019 12:44:55 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id A7.E1.04377.7457C2D5; Mon, 15 Jul 2019 13:44:55 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124454eucas1p1cd37552b222539b02629cb52e646ae29~xlUrkfwOt0154701547eucas1p1P; Mon, 15 Jul 2019 12:44:54 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124454eusmtrp1fc58db158ec4abd8999c07dcb1ba908b~xlUrWYf790488104881eusmtrp1T; Mon, 15 Jul 2019 12:44:54 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-04-5d2c7547f768 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 0B.07.04140.6457C2D5; Mon, 15 Jul 2019 13:44:54 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124453eusmtip29d8f9f4e271156d19cb92d2b1172ec37~xlUqeQ_AA1115211152eusmtip2Q; Mon, 15 Jul 2019 12:44:53 +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 25/50] ARM: dts: exynos: add 300MHz to bus_disp1_fimd in Exynos5420 Date: Mon, 15 Jul 2019 14:43:52 +0200 Message-Id: <20190715124417.4787-26-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: H4sIAAAAAAAAA0VSa0hTYRjuO2dn56gtTtP0w0RhUGSXqSHx0cUUyg4FoQTRBauZBy+5aTtq WkFmaXkpxWSpmKZoylrp1hLvmK6UzFuRt7RMpUwtjblIDWvzTPr3vM/zvu/zvB8fhYvrCWcq XBHDKhWySInQVlD9aqFrx6HY7UGeZYsEGnraRSBtbiWB+ue/EqjIYC4zx6dx1N1dRaLOpBkS DSW6IN14H4F+Znwk0Lu6AiHK7W7C0BPDCInK+nsx1Pv6IPpwvUKIkhsNJGqduUWg5T6twNee 0RRqADM7kEwyOnWqkHlWeo158aMBY+7q1YAx6lwDyFO2e0PYyPA4Vunhc842LOuRlog2EPHp JmUiqBekARsK0t7wt+a9GdtSYroCwGrjMmkRxPQ8gJ+zAnnBCGBpU75wdeJmZyPJC+UATs0V YHxhnuhR94M0QFFCWgpr1BctAw50KYCGhWBLD04PYrBhopawCPb0CagbzFnZKqA3waWciRVr Eb0f6ma0gHdzg4+rmnELtjHzC6oea4q3JNT3+fD4AJwqz8R4bA+n2vQkj11gx70M650cTLxT bN15FY5nPrD27IGtbb2EJTNOu8PKOg+e9oNzowOYhYb0Ojjwfb2Fxs0wu/o+ztMieDtFzHdv gfqMHmsAR1iuUVmXM7C58Yb1qbIBrDUNCrOAW/5/s4cAqIETG8vJQ1lup4K9JOVkci5WESo9 HyXXAfOX6lhum68BdX+CWwBNAclakW/ItiAxIYvjEuQtAFK4xEG0z2SmRCGyhMusMuqsMjaS 5VrARkogcRJdWTN6WkyHymLYCywbzSpXVYyycU4EXu3ztRNxf4+oJmfsPNFSQ++G1OF+aY62 KNlYOK46MzRZNfx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20190715124454eucas1p1cd37552b222539b02629cb52e646ae29 X-Msg-Generator: CA X-RootMTR: 20190715124454eucas1p1cd37552b222539b02629cb52e646ae29 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124454eucas1p1cd37552b222539b02629cb52e646ae29 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 According to the documentation max frequency for ACLK300_DISP1 is 300MHz. Add an OPP which makes it possible to use the full performance when needed. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 74d014f3eaa6..1097fa758d9e 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1299,6 +1299,9 @@ opp01 { opp-hz = /bits/ 64 <200000000>; }; + opp02 { + opp-hz = /bits/ 64 <300000000>; + }; }; bus_disp1_opp_table: opp_table14 { From patchwork Mon Jul 15 12:43:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043833 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 38C5F13A4 for ; Mon, 15 Jul 2019 12:47:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 292A12766D for ; Mon, 15 Jul 2019 12:47:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2700926D05; Mon, 15 Jul 2019 12:47:05 +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 A32EF2766D for ; Mon, 15 Jul 2019 12:47:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730338AbfGOMrA (ORCPT ); Mon, 15 Jul 2019 08:47:00 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49745 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730291AbfGOMo5 (ORCPT ); Mon, 15 Jul 2019 08:44:57 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124457euoutp024b50e67be6f2d9abd11b9adaf603d68f~xlUuAvJ2j0722707227euoutp02W for ; Mon, 15 Jul 2019 12:44:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124457euoutp024b50e67be6f2d9abd11b9adaf603d68f~xlUuAvJ2j0722707227euoutp02W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194697; bh=/C328aMoysmIEZp3GSYS/KL1xKnPBUTWWcs4F5gZr3o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WPx6vc0q86WBh4eSj6CMDV1YtKYfvdoRmKr6s/SoUAvjBC1EyW1WHKTp5CjOIjK8Z x4pz1XRKxLIO9npJSAoNddRxt1nKxj2kgak91PAjI9nCG8atqL9cLsAF/Lr5kRzV+W Io51NQyOlKnPNTWS+Ur9lJBL7ppH3LUx6+DvdWlg= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124456eucas1p1629fb92014516835d143045d13d69f84~xlUtMfga_0572305723eucas1p1-; Mon, 15 Jul 2019 12:44:56 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 99.B0.04325.7457C2D5; Mon, 15 Jul 2019 13:44:56 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124455eucas1p13bfc0c1d113225db9607e4c0dbac353c~xlUsY7r3E0570905709eucas1p1P; Mon, 15 Jul 2019 12:44:55 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124455eusmtrp10d90a2658c47e650e948f19c493a8aca~xlUsKq1g50488104881eusmtrp1U; Mon, 15 Jul 2019 12:44:55 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-df-5d2c75472596 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 4C.07.04140.7457C2D5; Mon, 15 Jul 2019 13:44:55 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124454eusmtip26c0d46180abe09d177c99a2677f4c51f~xlUrSOolx1115311153eusmtip2b; Mon, 15 Jul 2019 12:44:54 +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 26/50] ARM: dts: exynos: align NOC100 bus OPPs in Exynos5420 Date: Mon, 15 Jul 2019 14:43:53 +0200 Message-Id: <20190715124417.4787-27-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: H4sIAAAAAAAAA0WSfyyUcRzH+95zzw+3rh7H8g1LO2r9pOZq34liaT21ZbVqtprq8Az52T2I ajma8yOhGK0hLb92rnAkTCYuWpYfMcRS7dqMFIVdEnXnOeu/1+f9eX9+ffelMEkTbkuFRESz igh5mJQQCes7Frp3MzG7/PbMOKKRp904qrlfhaOhuXEcPdQZwyz9Vwz19FST6G3SFIlGlPZI qx/E0Y+MMRz1NxUQ6H5PiwA90X0gUelQnwD1vTmCRhMrCJT8Qkei9qkUHC0P1gg9rRhNkQYw 08PJJKNVpxFMbUkC8/J7s4DJrFMDZla76SR5TuQeyIaFxLIKl4OXRMG/O9OIqDIibqBegynB jDAdWFCQlsHRynLMxBK6AsCBAgee5wC83eLN8yyAj0tdV/2ZxYuCdCAy6uUA6rtqhHxgLCg0 FBPpgKII2hk2qK+YCqzpEgB1C/4mD0a/F8DmL424KWFFn4KGn9MrLKS3QH1K1cpGYvoQ1C1O YPw0B1hZ3brCFkZ9Ia+XMDWC9DsSlvVrzCd4w9qcz+YCKzjZWUfybA+7cjLMHg4q7zwCPN+A +qxCs+cAbO/sw01LY/R2WNXkwste0NC+RJpkSK+Dw98sTTJmxHv1+Rgvi2GqSsK7t8G6jF4B zxtguSbP3JyBpTl3Sf557gGYn5dMZgOHB/+HFQOgBjZsDBcexHKuEexVZ04ezsVEBDkHRIZr gfFHdS13zjeAlj/+bYCmgHSt2DNwp58El8dy8eFtAFKY1FrsMW+UxIHy+GusIvKiIiaM5dqA HSWU2oivr/l0XkIHyaPZUJaNYhWrWQFlYasEr2T+H2+e8Ny4pOuIdHSqSJK6H1soKCS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AJryo9uzAgAA X-CMS-MailID: 20190715124455eucas1p13bfc0c1d113225db9607e4c0dbac353c X-Msg-Generator: CA X-RootMTR: 20190715124455eucas1p13bfc0c1d113225db9607e4c0dbac353c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124455eucas1p13bfc0c1d113225db9607e4c0dbac353c 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 The NOC100 has a parent which clock rate is set tot 400MHz. The OPPs which are not possible to set are removed and new one is added. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 1097fa758d9e..f8c36ff0d4c3 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1135,12 +1135,9 @@ opp-hz = /bits/ 64 <67000000>; }; opp01 { - opp-hz = /bits/ 64 <75000000>; + opp-hz = /bits/ 64 <80000000>; }; opp02 { - opp-hz = /bits/ 64 <86000000>; - }; - opp03 { opp-hz = /bits/ 64 <100000000>; }; }; From patchwork Mon Jul 15 12:43:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043827 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 6A4ED912 for ; Mon, 15 Jul 2019 12:47:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CB18209CE for ; Mon, 15 Jul 2019 12:47:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 50CC42848B; Mon, 15 Jul 2019 12:47:02 +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 E4FFB209CE for ; Mon, 15 Jul 2019 12:46:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730637AbfGOMqv (ORCPT ); Mon, 15 Jul 2019 08:46:51 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49748 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730300AbfGOMo6 (ORCPT ); Mon, 15 Jul 2019 08:44:58 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124457euoutp0208ffc45d7c35cd466df4220e8b18368c~xlUumzc800722707227euoutp02Y for ; Mon, 15 Jul 2019 12:44:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124457euoutp0208ffc45d7c35cd466df4220e8b18368c~xlUumzc800722707227euoutp02Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194697; bh=kj3mAoTibXuXqP7RtEEJ98wUQnanVJPJVicA1HV43MM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sRJh8JNwlPL5lAlWJFWpH18BE095zmkxQ8nEKS4EIrRCS4qrxc/6f8i6A6w38xd9F LjwADpkdOzGrvKGHQnHBsybkQVs7Lm0avrpHHGbQkP87ClZoZRgI665mz7JA7VpuaB Pgfyy3SUMEREy80G75Qg8Aj7MOy+DunQ0jGqZ514= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124456eucas1p1f99829193ba832bd2e59a205828f76a6~xlUtw49YN0154001540eucas1p1M; Mon, 15 Jul 2019 12:44:56 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id DC.B0.04325.8457C2D5; Mon, 15 Jul 2019 13:44:56 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124456eucas1p2acf15d00e3fa7b77fe3a2b10ce1ab74f~xlUs7DUvv0800208002eucas1p2n; Mon, 15 Jul 2019 12:44:56 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124456eusmtrp17476f77b4fab1799e2326d2805ff5c7f~xlUs6cWlj0488104881eusmtrp1b; Mon, 15 Jul 2019 12:44:56 +0000 (GMT) X-AuditID: cbfec7f5-fbbf09c0000010e5-e5-5d2c7548549e Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id FE.07.04140.7457C2D5; Mon, 15 Jul 2019 13:44:55 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124455eusmtip254a7da76ff3fdd558aa332875e37ed99~xlUsEoy4D1115211152eusmtip2R; Mon, 15 Jul 2019 12:44:55 +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 27/50] ARM: dts: exynos: align bus_wcore OPPs in Exynos5420 Date: Mon, 15 Jul 2019 14:43:54 +0200 Message-Id: <20190715124417.4787-28-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: H4sIAAAAAAAAA0WSe0hTYRjG/c7Z2Y6jyWlqfpokLKSyUruAn2SmkHAgMv+SqKRmHlSatx21 LPESeGWpqJmEl0TFNc17tkxFpzlSy1upTdRKQTErzOtIRptn1n+/93ney8PHR+LiTsKBDI+M ZeSRUpmEL+S19euHT9JxJ4Lcd74eQbr6DwRqKm4g0OT6IoHK+4xl7vx3HA0PNwrQ+4crAqRL cUTN8xMEWlXMEmi8vYSPioe7MPSib0aAqidHMTQ64IemU5V8lNbZJ0C9KxkEMkw08Xys6bqy OkD/mkoT0M2qLD7dUpVM9/zswOicVhWg15oPBQiuCb1CGFl4PCN3874lDFO8GeFHD4jvLW8v Eylg0CobWJKQOgs3Mof42UBIiiklgFv1CxhXrAOom3xpdtYAXMxd5e2NpGaNAc6oAbDyUzr+ b0RbMERkA5LkU65QrYoxDdhQVQD26YNNPTj1GYMdC68Jk2FNBcDpV5O7W3mUM0zdLsZMLKIu wDbtEs5dc4K1jd27bGnU9UUjfE4fE8BpfTLHF+Hit1GMY2u4rG0VcOwIBwsU5tQsTHlUAThO hPO5peaec7BXO7qbGaeOwYZ2N072hQ3KLcwkQ8oKTv3Yb5JxI+a3PcE5WQQz08Vc91HYqhgx BzgAa+qKzMtp2DNkYtPr5ANYu5jKywNOT/8fewaACtgxcWxEKMOeiWTuurLSCDYuMtT1dlRE MzB+qkGDdkMNunaCNYAigWSfyCfkeJCYkMazCREaAElcYiM6v2GURC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rmILF7hmHd3CmmDtHFXwUlbmU6TLhlHGt38TfbysTksydSdEvfu63U EGfY/k9ms8G9mQsOKn1dozb54ZNN05RYijMSDbWYi4oTAePgB9OyAgAA X-CMS-MailID: 20190715124456eucas1p2acf15d00e3fa7b77fe3a2b10ce1ab74f X-Msg-Generator: CA X-RootMTR: 20190715124456eucas1p2acf15d00e3fa7b77fe3a2b10ce1ab74f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124456eucas1p2acf15d00e3fa7b77fe3a2b10ce1ab74f 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 This is the most important bus in the Exynos5x SoC. The whole communication inside SoC does through that bus (apart from direct requests from CCI to DRAM controller). It is also modeled as a master bus in devfreq framework. It is also the only one OPP table throughout other buses which has voltage values. The devfreq software controls the speed of that bus and other buses. The other buses follows the rate of the master. There is only one regulator. The old lowest OPP had pair 925mV, 84MHz which is enough for this frequency. However, due to the fact that the other buses follows the WCORE bus by taking the OPP from their table with the same id, e.g. opp02, the children frequency should be stable with the set voltage. It could cause random faults very hard to debug. Thus, the patch removes the lowest OPP to make other buses' lowest OPPs working. The new lowest OPP has voltage high enough for buses working up to 333MHz. It also changes the frequencies of the OPPs to align them to PLL value such that it is possible to set them using only a divider without reprogramming OPP. Reprogramming the PLL was not set, so the real frequency values were not the one from the OPP table, which could confuse the governor algorithms which relay on OPP speed values making the system to behave weird. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index f8c36ff0d4c3..a355c76af5a5 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1107,22 +1107,18 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <84000000>; - opp-microvolt = <925000>; + opp-hz = /bits/ 64 <150000000>; + opp-microvolt = <950000>; }; opp01 { - opp-hz = /bits/ 64 <111000000>; + opp-hz = /bits/ 64 <200000000>; opp-microvolt = <950000>; }; opp02 { - opp-hz = /bits/ 64 <222000000>; + opp-hz = /bits/ 64 <300000000>; opp-microvolt = <950000>; }; opp03 { - opp-hz = /bits/ 64 <333000000>; - opp-microvolt = <950000>; - }; - opp04 { opp-hz = /bits/ 64 <400000000>; opp-microvolt = <987500>; }; From patchwork Mon Jul 15 12:43:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043819 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 B83581510 for ; Mon, 15 Jul 2019 12:46:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A892E205F7 for ; Mon, 15 Jul 2019 12:46:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A6E0B27C05; Mon, 15 Jul 2019 12:46:43 +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=ham 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 438442848B for ; Mon, 15 Jul 2019 12:46:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730314AbfGOMqm (ORCPT ); Mon, 15 Jul 2019 08:46:42 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49739 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730308AbfGOMo7 (ORCPT ); Mon, 15 Jul 2019 08:44:59 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124458euoutp02a278aab9d28323e256a01859624e1e8e~xlUvmaTJr0731207312euoutp02B for ; Mon, 15 Jul 2019 12:44:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124458euoutp02a278aab9d28323e256a01859624e1e8e~xlUvmaTJr0731207312euoutp02B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194698; bh=oqtiqLW1OpVVmIG8M/apCby8iZ166UIVroisx7myTFk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rsCMcmjTPXBqAathsD+jibOhjCPBJwT5YYsr/qXt0Bjevbo+7MQF2SE+cZP/+n5Kh D7O86K/pPkAqWgUyM+BBUkQXWEtg0kApQD3wg55B+UfP56CVLqNy9Zeau4o6asEIw9 9P5pAuTzt7NXpGtuJZtYaa9rL2vYZm+VGDYW2SZE= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124457eucas1p235fc48f3616a3b58afe7b68823d86f69~xlUusmWDk2241922419eucas1p2x; Mon, 15 Jul 2019 12:44:57 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 9E.B0.04325.9457C2D5; Mon, 15 Jul 2019 13:44:57 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124457eucas1p1b3033c2505581b350191eed7ba47bb40~xlUt4QqHG0572305723eucas1p1D; Mon, 15 Jul 2019 12:44:57 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124456eusmtrp14a8de5bf681a901a86c0201c8a957ab8~xlUtqNJ0x0488104881eusmtrp1f; Mon, 15 Jul 2019 12:44:56 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-e9-5d2c7549572d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 30.17.04140.8457C2D5; Mon, 15 Jul 2019 13:44:56 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124455eusmtip2d458de21c2bf8a29d2db3d431264ff31~xlUs2cXHQ1115311153eusmtip2c; Mon, 15 Jul 2019 12:44:55 +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 28/50] ARM: dts: exynos: change OPPs for g2d and g2d_acp buses in Exynos5420 Date: Mon, 15 Jul 2019 14:43:55 +0200 Message-Id: <20190715124417.4787-29-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: H4sIAAAAAAAAA+NgFtrNKsWRmVeSWpSXmKPExsWy7djPc7qepTqxBjNOqlrcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvc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yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2Ms1tqC85yV9w8zt7AeIqji5GTQ0LAROLB3DvMILaQwFJGiTV/hCHi YhKT9m1nh7CFJf5c62LrYuQCqvnEKNE38xJrFyMHB5uAnsSOVYUgNSICKxglJp/wBqlhFnjN JHHk6DtWkISwQLzEhktnmUBsFgFVibnrW9lAbF4Be4m35/eyQSyQl1i94QDYEZxA8Z/TLrBB HGQnsfjoT6YJjHwLGBlWMYqklhbnpucWG+kVJ+YWl+al6yXn525iBEbNtmM/t+xg7HoXfIhR gINRiYfXIUU7Vog1say4MvcQowQHs5IIr+1XoBBvSmJlVWpRfnxRaU5q8SFGU6CjJjJLiSbn AyM6ryTe0NTQ3MLS0NzY3NjMQkmct0PgYIyQQHpiSWp2ampBahFMHxMHp1QDI+e9Y97dWUcj TirEt4Xt+/LuB0PG5byjL45vq9HbnzcjpuXHtcm+IrPzzV9vuLp099IErgxHgVWf2zoVT6/I uXztrlHa9N3vTr1dsvmm+CXPMpfsLgN2dZ2GCT0rIjn+iT12CHfefIO38lrhtLfVK+53Ost9 K3tmu+z7HSZru70Mk3x3v1nUl6TEUpyRaKjFXFScCAAkk+y8sAIAAA== X-CMS-MailID: 20190715124457eucas1p1b3033c2505581b350191eed7ba47bb40 X-Msg-Generator: CA X-RootMTR: 20190715124457eucas1p1b3033c2505581b350191eed7ba47bb40 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124457eucas1p1b3033c2505581b350191eed7ba47bb40 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 Align the frequencies in OPPs to values which are possible to set using a divider and parent clock rate. Keep the OPP number in the table equal or less to the number in bus_wcore (any higher OPPs would not be set). Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index a355c76af5a5..3a128cd717e2 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1216,7 +1216,7 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <84000000>; + opp-hz = /bits/ 64 <110000000>; }; opp01 { opp-hz = /bits/ 64 <167000000>; @@ -1225,9 +1225,6 @@ opp-hz = /bits/ 64 <222000000>; }; opp03 { - opp-hz = /bits/ 64 <300000000>; - }; - opp04 { opp-hz = /bits/ 64 <333000000>; }; }; @@ -1236,16 +1233,16 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <67000000>; + opp-hz = /bits/ 64 <100000000>; }; opp01 { - opp-hz = /bits/ 64 <133000000>; + opp-hz = /bits/ 64 <150000000>; }; opp02 { - opp-hz = /bits/ 64 <178000000>; + opp-hz = /bits/ 64 <200000000>; }; opp03 { - opp-hz = /bits/ 64 <267000000>; + opp-hz = /bits/ 64 <300000000>; }; }; From patchwork Mon Jul 15 12:43:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043821 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 D203E1800 for ; Mon, 15 Jul 2019 12:46:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C083A200E5 for ; Mon, 15 Jul 2019 12:46:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4E192848B; Mon, 15 Jul 2019 12:46:50 +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 661B0200E5 for ; Mon, 15 Jul 2019 12:46:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730306AbfGOMqm (ORCPT ); Mon, 15 Jul 2019 08:46:42 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49870 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730318AbfGOMpA (ORCPT ); Mon, 15 Jul 2019 08:45:00 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124459euoutp028819ee01e5ed5443942bfcc99d971e21~xlUv6fvlL0714907149euoutp02o for ; Mon, 15 Jul 2019 12:44:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124459euoutp028819ee01e5ed5443942bfcc99d971e21~xlUv6fvlL0714907149euoutp02o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194699; bh=2v4hCpJVfQGiuvIX6+zHl3XxXt1PDpHhQhdwlTF9fno=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=frs4UW9eyzVbr0YcOZKWJivQcbIsdu1+UvF+ua/qy2Z65P4lDIifNsjBvw0I2uZN5 SKardzQiZPbNfV50QEDyw3SuNeKaboPKXZYEC+/nhZuOOiI3y+XUeUWTjxTpcsbrha z3TqvpUBulyuy2Z5sa69cMfgmevsk8DtPXXeFKz0= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124458eucas1p2972be3b4546dbf5c2e7efafa0405f708~xlUvTwIQ-2439624396eucas1p2c; Mon, 15 Jul 2019 12:44:58 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id ED.25.04298.A457C2D5; Mon, 15 Jul 2019 13:44:58 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124457eucas1p20401b92a7c0eb51af1e0910fbebaa0b5~xlUuamtKZ0800208002eucas1p2q; Mon, 15 Jul 2019 12:44:57 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124457eusmtrp1fa3d160cd756dd38a0c75f605a17adf2~xlUuZ_WuE0488104881eusmtrp1l; Mon, 15 Jul 2019 12:44:57 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-d5-5d2c754a815a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B1.17.04140.9457C2D5; Mon, 15 Jul 2019 13:44:57 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124456eusmtip287178ee846cbaaae1932c94e43326c4a~xlUtnZ2bU0573605736eusmtip2M; Mon, 15 Jul 2019 12:44:56 +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 29/50] ARM: dts: exynos: align OPPs of bus_gen in Exynos5420 Date: Mon, 15 Jul 2019 14:43:56 +0200 Message-Id: <20190715124417.4787-30-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: H4sIAAAAAAAAA0WSWUwTURSGvbN0BmLN0KJcBSQ20SgooPHhGhWRSFKXB/TBGA2BwY5ApKAd Ku4WQxHZl1gWFTWgkAoipTZl0QgUUYiURUUhECMYVFDCogkPJXYyRd++85//zznn5tK4rIVc Q8cnJnOaRDZBIXEnLK8WerYc0G6ODE6bkaOhJz0kqi+pI9Hg/ASJ7tmcZd7YJI7s9qcUent9 ikJDOh9kGvtAopnsURINNN2RoBL7CwzV2kYo9HCwD0N9XeFoOLVagvTPbRRqn7pBosUP9USo XFlTXgOU0x/1lNJkvClRNlReU7b+asGUuWYjUM6Z1kZQx913qbiE+HOcJigk2j3u1Ww7dqae Pv/lfQahAy2STOBGQ2Y7LM90kJnAnZYx1QA225spsZgHMGvRgonFHIC1BUawFHkz98YVqQLw Vtpr/F9kYXKAyAQ0LWECodV4Vgh4MpUA2hZiBA/OfMJgy3gjKTTkzGE4/icVE5hg1sPptFJC YCmzBzqKjZg4zQ8+fvoSF9jNqS8Yel2L91PwdtkmkffB247PuMhy+KPTTInsA7uLsgmReajL eeC64DIcy7vr8uyE7Z19pLAzzmyCdU1BorwX3v1ShAkyZFbAjz89BBl3YqGlGBdlKcxIl4nu jdCc3etaeBWsqjFQokUJu/oPio9TCKB+VI/lA7+y/7PuA2AEXpyWV8dy/NZELiWQZ9W8NjE2 8GSS2gScf6p7sXPWCn73x7QBhgaK5dJQVUCkjGTP8RfUbQDSuMJTuvu3U5Kq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x9xjnvVm/gz7Fd3rzeNWGsbNEQo4W7vC4FaRuc3ytX/kpvjfun/9 esHboB8ZD7d5tYr472GddXB9/719SizFGYmGWsxFxYkA8oLHOrMCAAA= X-CMS-MailID: 20190715124457eucas1p20401b92a7c0eb51af1e0910fbebaa0b5 X-Msg-Generator: CA X-RootMTR: 20190715124457eucas1p20401b92a7c0eb51af1e0910fbebaa0b5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124457eucas1p20401b92a7c0eb51af1e0910fbebaa0b5 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 Align the OPPs' frequencies to the master clock rate such that the values are possible to set using only a clock divider. Set max OPP frequency equal to the max possible for that bus (according to the documentation). Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 3a128cd717e2..f2e2e77a86d6 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1191,16 +1191,16 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <89000000>; + opp-hz = /bits/ 64 <100000000>; }; opp01 { - opp-hz = /bits/ 64 <133000000>; + opp-hz = /bits/ 64 <150000000>; }; opp02 { - opp-hz = /bits/ 64 <178000000>; + opp-hz = /bits/ 64 <200000000>; }; opp03 { - opp-hz = /bits/ 64 <267000000>; + opp-hz = /bits/ 64 <300000000>; }; }; From patchwork Mon Jul 15 12:43:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043721 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 683A713B1 for ; Mon, 15 Jul 2019 12:45:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58A5426D08 for ; Mon, 15 Jul 2019 12:45:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CFDE2849B; Mon, 15 Jul 2019 12:45:03 +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=ham 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 E61EC26D08 for ; Mon, 15 Jul 2019 12:45:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730330AbfGOMpB (ORCPT ); Mon, 15 Jul 2019 08:45:01 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49885 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730323AbfGOMpB (ORCPT ); Mon, 15 Jul 2019 08:45:01 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124500euoutp020d736c65e47df58260fa44373d8027df~xlUwyRJye0730707307euoutp02H for ; Mon, 15 Jul 2019 12:45:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124500euoutp020d736c65e47df58260fa44373d8027df~xlUwyRJye0730707307euoutp02H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194700; bh=SeLY0HG9yaaAZHLgVuO21pV4NxGAllfMnu7a12xfvsc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q3GUQR3MSsTfybK6mCOccSZn9FG86+4v9GvDhYd/HAFhXDm62wy7XQsaQNKlHkayb JyfgNl157fn1kmG2URwn66kJRek5BTlF8wj5nFTcqZzQ7X+iABdHjl3M+f74WRKBbz q794RmU6WEROizht5zDzOMjS4mEx2h6MRmN/Eylo= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124459eucas1p2686212b74cac35c4e757022c3d8d4170~xlUv8xaZM1386513865eucas1p2T; Mon, 15 Jul 2019 12:44:59 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 90.C0.04325.A457C2D5; Mon, 15 Jul 2019 13:44:58 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124458eucas1p2df56f2e0c7a1a0a9144a4d5fbdb471a9~xlUvNDqHS1544915449eucas1p2M; Mon, 15 Jul 2019 12:44:58 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124458eusmtrp150d2c2800a2eeb2195e069b3d6a26994~xlUvMdTUv0488104881eusmtrp1q; Mon, 15 Jul 2019 12:44:58 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-ef-5d2c754a8795 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 08.50.04146.A457C2D5; Mon, 15 Jul 2019 13:44:58 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124457eusmtip2a9440eae66016e32fc1769bab1efecdb~xlUuZpbyO1115311153eusmtip2d; Mon, 15 Jul 2019 12:44:57 +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 30/50] ARM: dts: exynos: add bus_isp266 into Exynos5800 Date: Mon, 15 Jul 2019 14:43:57 +0200 Message-Id: <20190715124417.4787-31-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: H4sIAAAAAAAAA+NgFtrLKsWRmVeSWpSXmKPExsWy7djP87pepTqxBhuP21jcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6MWV32BWvZK16u3sHawNjO1sXIySEh YCJxf/MkIJuLQ0hgBaPE/H0LWCCcL4wSG79tZYdwPjNKrF3czw7T0tA1C6plOaPE9gMPEFo+ rzgAVMXBwSagJ7FjVSFIg4jAEkaJIz+TQGqYBW4ySex5spMVJCEs4CWxdeJdsENYBFQldr1a wwxi8wrYS3z938IEsU1eYvWGA2BxTqD4z2kXwDZLCJxilzi/cwMjRJGLxNyHMB8JS7w6vgXq VBmJ05N7WCDsYomG3oVQ9TUSj/vnQtVYSxw+fpEV5GhmAU2J9bv0IcKOEve7GxhBwhICfBI3 3gqChJmB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lGhyPjCq 80riDU0NzS0sDc2NzY3NLJTEeTsEDsYICaQnlqRmp6YWpBbB9DFxcEo1MGbO65b/PTXWzvKP cN/Gv8tfT5t89/6+yZPzvDfbPzLLZArlzf+e/Me9PobzuKJjQ8Tlno9OCfbNrJcO5EVsdsx7 s1lT4I5KN0vSo7glbJMuChSYL9n2pkaCm2Xqj6UMFw+Jtr/Im3Nwx6wcvUmXm0S+5WwWYDGW NQjfHpd1kXNm7vzfTFfdipRYijMSDbWYi4oTAfBc6NWyAgAA X-CMS-MailID: 20190715124458eucas1p2df56f2e0c7a1a0a9144a4d5fbdb471a9 X-Msg-Generator: CA X-RootMTR: 20190715124458eucas1p2df56f2e0c7a1a0a9144a4d5fbdb471a9 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124458eucas1p2df56f2e0c7a1a0a9144a4d5fbdb471a9 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 The Exynos5420 SoC had one clock for two lines while Exynos5422/5800 have dedicated clock tree for the ACLK266_ISP. The max frequency is 300MHz so it shares the OPP table with bus_gen. The bus is added here and is enabled in .dts file for proper board. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5800.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800.dtsi b/arch/arm/boot/dts/exynos5800.dtsi index 57d3b319fd65..3b9200db43b6 100644 --- a/arch/arm/boot/dts/exynos5800.dtsi +++ b/arch/arm/boot/dts/exynos5800.dtsi @@ -131,3 +131,13 @@ &mfc { compatible = "samsung,mfc-v8"; }; + +&soc { + bus_isp266: bus_isp266 { + compatible = "samsung,exynos-bus"; + clocks = <&clock CLK_DOUT_ACLK266_ISP>; + clock-names = "bus"; + operating-points-v2 = <&bus_gen_opp_table>; + status = "disabled"; + }; +}; From patchwork Mon Jul 15 12:43:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043815 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 35912912 for ; Mon, 15 Jul 2019 12:46:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 273A6223C7 for ; Mon, 15 Jul 2019 12:46:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B2392849B; Mon, 15 Jul 2019 12:46:41 +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 C0059223C7 for ; Mon, 15 Jul 2019 12:46:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730498AbfGOMq2 (ORCPT ); Mon, 15 Jul 2019 08:46:28 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49867 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730327AbfGOMpC (ORCPT ); Mon, 15 Jul 2019 08:45:02 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124501euoutp02e2929d4e431021a199047e50c5efbb76~xlUxxFYoN0714907149euoutp02t for ; Mon, 15 Jul 2019 12:45:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124501euoutp02e2929d4e431021a199047e50c5efbb76~xlUxxFYoN0714907149euoutp02t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194701; bh=v5/Vyl30iwbBm0PUVMVAlvF6RXT28v4DXfcx78H2Kr0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=anbVR87UcoqS2nMkrrjm3mB+HgSzBu8iaGZEeb+J3qpVNmHmn1oqAmZwVwPSHgvj2 ZXjQNVGjbEK7TuMaZmn0joWKDGRrJtMeo7wEiyrPLT88UlrZFJLCPDolvdEByZgh9O X/TgAmR0uw0DKEwD/J9iorJZypt82581Rib7mois= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124500eucas1p2052a36585d1e0b9da796ad5f58b9d083~xlUxAyOaE1849318493eucas1p2F; Mon, 15 Jul 2019 12:45:00 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 40.35.04298.C457C2D5; Mon, 15 Jul 2019 13:45:00 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124459eucas1p2a1d8795e57a82704ff221567a8810485~xlUwNhcFj2439124391eucas1p2g; Mon, 15 Jul 2019 12:44:59 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124459eusmtrp134ba2a8ab3e870b6e2bb6b40db1d048c~xlUv-Z_EB0488104881eusmtrp1u; Mon, 15 Jul 2019 12:44:59 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-d9-5d2c754cd082 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B3.17.04140.B457C2D5; Mon, 15 Jul 2019 13:44:59 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124458eusmtip2d770f1aa2bf9b413aa2efcf87f6b1ae2~xlUvMWjpX0573605736eusmtip2N; Mon, 15 Jul 2019 12:44:58 +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 31/50] ARM: dts: exynos: align lowest OPP in bus_jpeg in Exynos5420 Date: Mon, 15 Jul 2019 14:43:58 +0200 Message-Id: <20190715124417.4787-32-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: H4sIAAAAAAAAA0VSe0hTcRTud+/u7tWc3abpD4uMQWBpUyvoV5kVVFxEKKjohdRsFxXntF1n aZHrtWouy2dRWrmKyTIfa4iKmfmEpOYc+FhPWpiYKaYSI6h2vav++853vu87h8OhcGkrEUal qbNZjVqhkon9RY09HvuaRG1UUkzlDIVcta8J1HCrjkBDs18IdK/LW153f8WR3V5PolfnJ0jk 0i1DVvcggaaN7wnkbKkQo1v2Ngw96XpHokdDDgw5Xu5Eb85Vi9GlZ10k6py4TKBfgw2ibUFM zd0awEwNXyIZq+WqmHn6MJ95MdmKMYU2C2BmrMv3kIf945SsKi2H1UTHH/NPddfOgaw24lRZ W7dYBxpFBkBRkF4Pf45EGIAfJaWrAfxZdcgA/L14FkBb9SQhFDMAjo0aAa/iDY/qC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Vz4bAZSwyKgKnFvympGEJtXwF6ibdMBVoj58hKrNxxgBrE5geI/p10A u0FIwE5i8dGfTBMY+RYwMqxiFEktLc5Nzy020itOzC0uzUvXS87P3cQIjJxtx35u2cHY9S74 EKMAB6MSD69DinasEGtiWXFl7iFGCQ5mJRFe269AId6UxMqq1KL8+KLSnNTiQ4ymQEdNZJYS Tc4HRnVeSbyhqaG5haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU1ILUIpg+Jg5OqQbG3ds5ay4f iM0/ZCZ1WurV4grGHcY3wsodJzR5fT3bVlLasUhI5G77qrV17146zdi2VLHr7J6QFoVk5/NZ nEnLLkY2Of57/ltmhef2ibGvb6xwUv3qprs98vXU82fj5CRrhc/vOOAZtkxZUCRqSunqZY2u 5kdK93eetw+9oqzazVD699/uu9OWKbEUZyQaajEXFScCADVPWvyyAgAA X-CMS-MailID: 20190715124459eucas1p2a1d8795e57a82704ff221567a8810485 X-Msg-Generator: CA X-RootMTR: 20190715124459eucas1p2a1d8795e57a82704ff221567a8810485 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124459eucas1p2a1d8795e57a82704ff221567a8810485 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 Make the lowest OPP frequency possible to set using a clock divider keeping in mind the master clock rate. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index f2e2e77a86d6..0be799f843dc 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1250,7 +1250,7 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <75000000>; + opp-hz = /bits/ 64 <100000000>; }; opp01 { opp-hz = /bits/ 64 <150000000>; From patchwork Mon Jul 15 12:43:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043727 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 917D11800 for ; Mon, 15 Jul 2019 12:45:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83800204C4 for ; Mon, 15 Jul 2019 12:45:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81BD1284A5; Mon, 15 Jul 2019 12:45:05 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,TVD_SUBJ_WIPE_DEBT 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 20ABD223C7 for ; Mon, 15 Jul 2019 12:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730338AbfGOMpE (ORCPT ); Mon, 15 Jul 2019 08:45:04 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49739 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730331AbfGOMpD (ORCPT ); Mon, 15 Jul 2019 08:45:03 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124501euoutp02cd6f788fdcb9350da83e5d39d04286e8~xlUyWdpUX0730707307euoutp02K for ; Mon, 15 Jul 2019 12:45:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124501euoutp02cd6f788fdcb9350da83e5d39d04286e8~xlUyWdpUX0730707307euoutp02K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194701; bh=81fCMMNKhM4b6YHz9B0/lpvfP3ePnpoi35A/mfij7Bk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eA2tEJoIxJ6mYpS2YrnZmYuYYDj3vYCTdW7hul6wkK4RjsUEC9+vJL61BXON0lcG4 BVp/lKSU1fssYAIa7isrQnnV7LArNMnsWamYgnFfbkBmENHTxz/aXw3b/ZHOgxS0Fi aBJ1sr1YQIaYSHM3x2Mun8Jjg7g/PmO6JjNGoYhE= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124501eucas1p25187f7f6dd0070b4e8d6a9574e8b5dd2~xlUxySWoH0850908509eucas1p2u; Mon, 15 Jul 2019 12:45:01 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id A3.C0.04325.C457C2D5; Mon, 15 Jul 2019 13:45:00 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124500eucas1p114c6cbbbb4efa421b2e24d49a6d3d603~xlUxDN3WM3125231252eucas1p1_; Mon, 15 Jul 2019 12:45:00 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124500eusmtrp139374356e6388c5eb902db633e2b2ec7~xlUw1ImQL0488104881eusmtrp10; Mon, 15 Jul 2019 12:45:00 +0000 (GMT) X-AuditID: cbfec7f5-fbbf09c0000010e5-f6-5d2c754cb67a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 95.17.04140.C457C2D5; Mon, 15 Jul 2019 13:45:00 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124459eusmtip2dd3d2a181aaa74fe5283a5f9a8e36789~xlUv_rbj31100811008eusmtip2f; Mon, 15 Jul 2019 12:44:59 +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 32/50] ARM: dts: exynos: remove lowest OPP from bus_mfc in Exynos5420 Date: Mon, 15 Jul 2019 14:43:59 +0200 Message-Id: <20190715124417.4787-33-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: H4sIAAAAAAAAA0WSe0hTURzHO7tPxcVtVh4sWqyEyjLLkgNp2QsuJpR/FYbl1NusdOquj9TA mVgp06WVimQaGI5lLc2G2tLSldTQaZb5ICuUStNe2kMKbdc767/P73c+39/vcDg0JrMQnvRx dRKnUStjFaQrbn483bkhJHl9uO+HngA0cKuTQLWlJgK9nHpPoAqro9QPf8SQ3X6bQh1nxik0 oF2O6oZ7CfRVN0SgnqYrJCq1N0vQTesrCl1/2S1B3U/3osEsA4ly7lsp1DZ+jkAzvbV4kDtb c7UGsJ/7cii2zphLsneqMtmHnywStqDeCNjJuhUHqDDXgGgu9ngKp9m4PcI1Zt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Eun+/gTo4ONgE9CR2rCoEqRERWMEoMfmEN0gNs8Br JokjR9+BbRAWiJCYePEIG4jNIqAq8WTrSRYQm1fAXmJ962dGiAXyEqs3HGAGsTmB4j+nXQCr FxKwk1h89CfTBEa+BYwMqxhFUkuLc9Nzi430ihNzi0vz0vWS83M3MQJjZ9uxn1t2MHa9Cz7E KMDBqMTD65CiHSvEmlhWXJl7iFGCg1lJhNf2K1CINyWxsiq1KD++qDQntfgQoynQUROZpUST 84FxnVcSb2hqaG5haWhubG5sZqEkztshcDBGSCA9sSQ1OzW1ILUIpo+Jg1OqgTFr5iOTuxsu uMe3bkmMWaJta3L20cfelN0yb6KDJvz0zy9wz3NZLGFrkiYRnG7xgO/iZ6n+XNZFC6NUJSd+ /Xp3+cwuGxPz51LloZP+HF5U+PvrPmN51W3nr6qLF4l1LC1Yuzdl+8HVzhfOSl5efym5PPPy ua+LCkKXGHAGL5umnOH/rUY4ykyJpTgj0VCLuag4EQAb4UQkswIAAA== X-CMS-MailID: 20190715124500eucas1p114c6cbbbb4efa421b2e24d49a6d3d603 X-Msg-Generator: CA X-RootMTR: 20190715124500eucas1p114c6cbbbb4efa421b2e24d49a6d3d603 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124500eucas1p114c6cbbbb4efa421b2e24d49a6d3d603 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 Align number of OPPs with the number in bus_wcore OPP table. The higher OPPs would not be set, thus clean them. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 0be799f843dc..18c5273091bd 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1171,18 +1171,15 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <96000000>; - }; - opp01 { opp-hz = /bits/ 64 <111000000>; }; - opp02 { + opp01 { opp-hz = /bits/ 64 <167000000>; }; - opp03 { + opp02 { opp-hz = /bits/ 64 <222000000>; }; - opp04 { + opp03 { opp-hz = /bits/ 64 <333000000>; }; }; From patchwork Mon Jul 15 12:44:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043729 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 C350C1510 for ; Mon, 15 Jul 2019 12:45:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B51C9204C4 for ; Mon, 15 Jul 2019 12:45:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B35CA223C7; Mon, 15 Jul 2019 12:45:05 +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=ham 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 5493D284AF for ; Mon, 15 Jul 2019 12:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730331AbfGOMpE (ORCPT ); Mon, 15 Jul 2019 08:45:04 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49934 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730333AbfGOMpE (ORCPT ); Mon, 15 Jul 2019 08:45:04 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124503euoutp0270ed3bff7aae44c82ee0bb20eadf1c33~xlUzkMMME0730707307euoutp02M for ; Mon, 15 Jul 2019 12:45:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124503euoutp0270ed3bff7aae44c82ee0bb20eadf1c33~xlUzkMMME0730707307euoutp02M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194703; bh=mU8BAWVoycBCUqWyHydLmeJQHNnHJ75xvo8wMq+ZBMI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W+uoXlglAaODFSipjSpfx3kWa5RbnPKzmvXYbqIKjMdCcIl+ZoDM7nqhkeTd7pjnb soslG7BxeRj50nJ0STedp8zzF3kGGniLmuDmUY8i6DeECKyT18aKu3lXgz+bml5ToS pcR4kQeaqPsnVtfd57gMjoMnhNtkFeSassI3MP3A= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124502eucas1p1e688f0289c05ec2cfbf40a7a51279b8c~xlUyizFr40154701547eucas1p1X; Mon, 15 Jul 2019 12:45:02 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 15.C0.04325.D457C2D5; Mon, 15 Jul 2019 13:45:01 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124501eucas1p17382ca9cead8bfe1dc938e6fb583b7c5~xlUxuTr8o0147201472eucas1p1O; Mon, 15 Jul 2019 12:45:01 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124500eusmtrp1f47ce207a761510938ec4476b8c5d9ff~xlUxgMlDG0488104881eusmtrp14; Mon, 15 Jul 2019 12:45:00 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-f9-5d2c754df545 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 17.17.04140.C457C2D5; Mon, 15 Jul 2019 13:45:00 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124500eusmtip2da58ad3a0fcfb8fedc0cd9b783e24537~xlUww35co0573605736eusmtip2P; Mon, 15 Jul 2019 12:45:00 +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 33/50] ARM: dts: exynos: set parent clocks to UARTs in Exynos5420 Date: Mon, 15 Jul 2019 14:44:00 +0200 Message-Id: <20190715124417.4787-34-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: H4sIAAAAAAAAA0WSe0iTYRTGe/ddtVaf0/LNLGER5CVNrHgpS4Uugyj6y6Kymvqh4n2fs6zA ZVkmM0NDV6amWYrXuZY3dJmKhuY9nBlaoBSYznRKTMXa/BT/e87vPM97DoeXxkRNhAMdFhXH yqKkEWLSGq9pN/UcOCd3CziYs+KBRip7CFStqiKQfv4XgfLbzGX6+G8M9faqKdS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ovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2MXVtmsBUc4q2Y93k1WwPjbO4uRk4OCQETiaYTr1hBbCGBpYwSK46J QsTFJCbt284OYQtL/LnWxdbFyAVU84lR4tb2DqYuRg4ONgE9iR2rCkFqRARWMEpMPuENUsMs 8JpJ4sjRd2BDhQVCJPY9ucoMYrMIqEr8WrQQLM4rYC/RvGwGI8QCeYnVGw6A1XACxX9Ou8AG cZCdxOKjP5kmMPItYGRYxSiSWlqcm55bbKRXnJhbXJqXrpecn7uJERg524793LKDsetd8CFG AQ5GJR5ehxTtWCHWxLLiytxDjBIczEoivLZfgUK8KYmVValF+fFFpTmpxYcYTYGOmsgsJZqc D4zqvJJ4Q1NDcwtLQ3Njc2MzCyVx3g6BgzFCAumJJanZqakFqUUwfUwcnFINjGuecvhqXTgz qeLJdTZh+1axS5N/GjXmRukuXLZ4TptZ9EFns6LZRc9vTk4Lqvu5W2/V7+v3nCy5D/xozPuy amfQhE1OkvPVZGfIrdNj7z1/Qn6jANcStoT3Pxu02V1N7P+I1K3IE+Wb1DL90lsV/w8/nbmF FTceTuktZ+Ex6WULVb1baTBvtxJLcUaioRZzUXEiABEyggSyAgAA X-CMS-MailID: 20190715124501eucas1p17382ca9cead8bfe1dc938e6fb583b7c5 X-Msg-Generator: CA X-RootMTR: 20190715124501eucas1p17382ca9cead8bfe1dc938e6fb583b7c5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124501eucas1p17382ca9cead8bfe1dc938e6fb583b7c5 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 Change the parents of UART clocks to the CPLL which has 666MHz. The UARTs' dividers use /10 rate so they would have 66.6MHz. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 18c5273091bd..79f635043247 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1486,6 +1486,8 @@ &serial_0 { clocks = <&clock CLK_UART0>, <&clock CLK_SCLK_UART0>; clock-names = "uart", "clk_uart_baud0"; + assigned-clocks = <&clock CLK_MOUT_UART0>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_CPLL>; dmas = <&pdma0 13>, <&pdma0 14>; dma-names = "rx", "tx"; }; @@ -1493,6 +1495,8 @@ &serial_1 { clocks = <&clock CLK_UART1>, <&clock CLK_SCLK_UART1>; clock-names = "uart", "clk_uart_baud0"; + assigned-clocks = <&clock CLK_MOUT_UART1>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_CPLL>; dmas = <&pdma1 15>, <&pdma1 16>; dma-names = "rx", "tx"; }; @@ -1500,6 +1504,8 @@ &serial_2 { clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>; clock-names = "uart", "clk_uart_baud0"; + assigned-clocks = <&clock CLK_MOUT_UART2>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_CPLL>; dmas = <&pdma0 15>, <&pdma0 16>; dma-names = "rx", "tx"; }; @@ -1507,6 +1513,8 @@ &serial_3 { clocks = <&clock CLK_UART3>, <&clock CLK_SCLK_UART3>; clock-names = "uart", "clk_uart_baud0"; + assigned-clocks = <&clock CLK_MOUT_UART3>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_CPLL>; dmas = <&pdma1 17>, <&pdma1 18>; dma-names = "rx", "tx"; }; From patchwork Mon Jul 15 12:44:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043807 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 1AD761510 for ; Mon, 15 Jul 2019 12:46:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 088FA28508 for ; Mon, 15 Jul 2019 12:46:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05799284AF; Mon, 15 Jul 2019 12:46:29 +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 7EC3F27FAC for ; Mon, 15 Jul 2019 12:46:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730219AbfGOMqW (ORCPT ); Mon, 15 Jul 2019 08:46:22 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49766 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730334AbfGOMpE (ORCPT ); Mon, 15 Jul 2019 08:45:04 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124504euoutp0262833800928861f944eda72d72dd3e22~xlU0bHq7t0722707227euoutp02j for ; Mon, 15 Jul 2019 12:45:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124504euoutp0262833800928861f944eda72d72dd3e22~xlU0bHq7t0722707227euoutp02j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194704; bh=p4qyGCRC9XXm9VFzmGgechQEw2giiytvt4FcZQzQVAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gjtsFfN1RvXuru5lXlxXkZPOxECT08+bWOhLAJjfGIIOkpsouzAdv5xBuByJ2kmTh jHGi0TSQ70lmCGJ7BIqRQVONsayDdtWBxKJvMpt1QNoWloas0Bti4lMHS7a5rtDd36 2x8MHoRZAWyOq5bAQVJUPxg/M5B7CeWWKE2XOtYI= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124503eucas1p22011b9f08900e383e756f60f956546d1~xlUzis5Fc1386513865eucas1p2d; Mon, 15 Jul 2019 12:45:03 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id C6.C0.04325.E457C2D5; Mon, 15 Jul 2019 13:45:02 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124502eucas1p20a35f8c0f426878e50583fa3402de988~xlUylg3hL2439624396eucas1p2j; Mon, 15 Jul 2019 12:45:02 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124501eusmtrp126b9a2a8c516b3fd9d5584a0468e16f0~xlUyXZUou0488104881eusmtrp19; Mon, 15 Jul 2019 12:45:01 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-fd-5d2c754e0f03 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 4C.50.04146.D457C2D5; Mon, 15 Jul 2019 13:45:01 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124500eusmtip2265d3553c7d052165984db886d68cfc7~xlUxgytJP1101111011eusmtip2T; Mon, 15 Jul 2019 12:45:00 +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 34/50] ARM: dts: exynos: set parent clocks to PWM in Exynos5420 Date: Mon, 15 Jul 2019 14:44:01 +0200 Message-Id: <20190715124417.4787-35-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: H4sIAAAAAAAAA0WSa0hTYRjHfXd2tuNwcpySL+YFFoqVqZHBC+UlSlhE5QdJKMRmHlTyurOZ VtIqNBszzUJF0jJNZXnfEJvOckoDZ84b6kyzMlO8JKaCYkibO9a3//N7nv/7XHgJTKDD3YjE FCklSREnCTk8dtvH7YFjl2R+0YH9q0FosnEARy2lTTga35jH0cteS1gwu4Qhk6mZiz49WOai Sbk7ap0dw9Ga8guORrQvOKjU1MVCDb3TXPRmfIiFhvrC0ef7dRyUo+vlop7lRzjaHWthhzmL 6ivqgWh1IocralU95ojU1fdE3b86WaInGhUQrbd6RnCv8k7HUUmJGZQkIOQ6L8GQ181Ja8Qz Sxu85KCTrQD2BCSDYOFOOUcBeISArANwe3qLCTYAXOt+zrIF6wDqdN/AvmVF/5BJ1AI4t7AF /llMOzO4AhAEh/SH7ap0q8GFrAawdzvWWoORZhbs/PEOtyacyUi4mK9mWTWb9IbvR2s4Vs0n Q2Fb+QrX1s0Lvm3+gFm1vYVvFw/uzQfJYS7syxtltjgHNUuFjHaGiwYNY3aHxmdKhtNQnl/J rHAXzhaUMzWnYI9haG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0RToqInMUqLJ +cCoziuJNzQ1NLewNDQ3Njc2s1AS5+0QOBgjJJCeWJKanZpakFoE08fEwSnVwKiXdWnGQh9t LrkExmNfb26R1fN8xN5478NGiVVL+k7dz/5vt+V8eEXUvUspS79oC9klLPy56uILl/acWxM+ e15yEVF6VvhTbes7HleFHH57o7UnzOpMVtmXx6udVK9arujOfU5xSdLUEudnlp9TD3rM3Db3 0HF/7XcB8xb7psXvq1a6/dSicbsSS3FGoqEWc1FxIgA8xyiLsgIAAA== X-CMS-MailID: 20190715124502eucas1p20a35f8c0f426878e50583fa3402de988 X-Msg-Generator: CA X-RootMTR: 20190715124502eucas1p20a35f8c0f426878e50583fa3402de988 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124502eucas1p20a35f8c0f426878e50583fa3402de988 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 Change the parent of PWM clock to the CPLL which has 666MHz. The PWM's divider uses /10 rate so it would set 66.6MHz. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 79f635043247..a361dd5a6036 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1473,6 +1473,8 @@ &pwm { clocks = <&clock CLK_PWM>; + assigned-clocks = <&clock CLK_MOUT_PWM>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_CPLL>; clock-names = "timers"; }; From patchwork Mon Jul 15 12:44:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043799 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 56FD614F6 for ; Mon, 15 Jul 2019 12:46:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46AAA26D05 for ; Mon, 15 Jul 2019 12:46:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B25C284A5; Mon, 15 Jul 2019 12:46:21 +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 D5C702849D for ; Mon, 15 Jul 2019 12:46:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730348AbfGOMpF (ORCPT ); Mon, 15 Jul 2019 08:45:05 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60265 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730341AbfGOMpF (ORCPT ); Mon, 15 Jul 2019 08:45:05 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124504euoutp017b63914d4e6c39cc956b965958c80b34~xlU09Evlw1961119611euoutp01t for ; Mon, 15 Jul 2019 12:45:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124504euoutp017b63914d4e6c39cc956b965958c80b34~xlU09Evlw1961119611euoutp01t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194704; bh=T1XbMxdJSXy/jko0p7zCuk+CitX2KHWmq2EdXnF1nsA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sa2JuxnyG8nMajoSqcw2WT85fdm7q7LMHBLfqH0tuy9gALnJvV9mDLet3AXW74bXv HaAeFbPiMGf4SMSvE9e4Eol5Q7FHKkn/1IDvq6CYQkSZIozFhdTkHMLUxsww4ckwqB VxGTwIP3pOP8kPIJIndXvEahXJdsMQCILG0DtgLY= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124503eucas1p259c18fc319d64a67c9908325a912bad0~xlU0MhKGq2241922419eucas1p29; Mon, 15 Jul 2019 12:45:03 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 08.C0.04325.F457C2D5; Mon, 15 Jul 2019 13:45:03 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124502eucas1p1b795c100232b405070f4700e3ca6130b~xlUzYdfxY3056930569eucas1p1k; Mon, 15 Jul 2019 12:45:02 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124502eusmtrp17c00525fb22ba0900dd008f7310cf81f~xlUzKP1t10488104881eusmtrp1_; Mon, 15 Jul 2019 12:45:02 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-fe-5d2c754fbd2f Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id E8.17.04140.E457C2D5; Mon, 15 Jul 2019 13:45:02 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124501eusmtip2fe8b09249a1b491b97f07079193e7347~xlUyTW3zf0528005280eusmtip20; Mon, 15 Jul 2019 12:45:01 +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 35/50] ARM: dts: exynos: change speed and parent of NoC clock in Exynos5420 Date: Mon, 15 Jul 2019 14:44:02 +0200 Message-Id: <20190715124417.4787-36-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: H4sIAAAAAAAAA+NgFtrFKsWRmVeSWpSXmKPExsWy7djP87r+pTqxBqfvylrcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6MyadiC+5xVLRPv8bewLiWvYuRk0NC wETi+4ULLCC2kMAKRonDv126GLmA7C+MEje2PmOGcD4zSuzd+YEFpuNM9z5GiMRyRonj308x Q7SDtFxz6GLk4GAT0JPYsaoQJCwisIRR4sjPJJB6ZoGbTBJ7nuxkBUkICyRI/Jh0HayXRUBV 4v/UzWALeAXsJe7P2MUKsUxeYvWGA2A1nEDxn9MusEHEL7FLNL0UhrBdJLZsewFVLyzx6vgW qNdkJE5P7oE6uliioXchI4RdI/G4fy5UjbXE4eMXWUFuZhbQlFi/Sx8i7CixduZzZpCwhACf xI23giBhZ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JqTWnyI0RToqInMUqLJ +cCYziuJNzQ1NLewNDQ3Njc2s1AS5+0QOBgjJJCeWJKanZpakFoE08fEwSnVwJj8uevtqdXP t1TW7g6buXvx+bm/3GQcnxy878epvLPUo9ec/dE/rpssjU5qyVyLAuayP5RYvfmNobFat8Ll VzyX3TeesvRQefTUUeYmy7owz7lPVoeXcf2228V//d7+g4Jflm9mvKkZ8uzUeY5tOTE/tZju qhtt+cBVzquRH6XB0v9wk2gdv7wSS3FGoqEWc1FxIgCMVJuvsQIAAA== X-CMS-MailID: 20190715124502eucas1p1b795c100232b405070f4700e3ca6130b X-Msg-Generator: CA X-RootMTR: 20190715124502eucas1p1b795c100232b405070f4700e3ca6130b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124502eucas1p1b795c100232b405070f4700e3ca6130b 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 This patch changes speed and parent of NoC WCORE bus to 400MHz. The clock is now attached to a branch were the root is the DPLL which speed is set to 1200MHz. The OPPs are aligned to this rate accordingly. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 25d95de15c9b..aaf18653d8ac 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -46,6 +46,13 @@ <&nocp_mem1_0>, <&nocp_mem1_1>; vdd-supply = <&buck3_reg>; exynos,saturation-ratio = <100>; + assigned-clocks = <&clock CLK_MOUT_ACLK400_WCORE>, + <&clock CLK_MOUT_SW_ACLK400_WCORE>, + <&clock CLK_DOUT_ACLK400_WCORE>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>, + <&clock CLK_DOUT_ACLK400_WCORE>; + assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043797 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 0A15813B1 for ; Mon, 15 Jul 2019 12:46:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF1882766D for ; Mon, 15 Jul 2019 12:46:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1AA827C05; Mon, 15 Jul 2019 12:46:11 +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 9FDEC200E5 for ; Mon, 15 Jul 2019 12:46:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730361AbfGOMpG (ORCPT ); Mon, 15 Jul 2019 08:45:06 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60124 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730352AbfGOMpG (ORCPT ); Mon, 15 Jul 2019 08:45:06 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124505euoutp01b1725866c8d05c698e81723ce647ff7b~xlU1wm6JQ1950319503euoutp01D for ; Mon, 15 Jul 2019 12:45:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124505euoutp01b1725866c8d05c698e81723ce647ff7b~xlU1wm6JQ1950319503euoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194705; bh=bIsmRuRdvJ8EbuC+n2fz8iI0NHVPMowCRF1Znsiftpg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WFrqWCgeMZP9prj997TOoqJ87729eo3Kg56nAhp5Shw26hH10ipbyXWEV5Y4CbbjI eNK03BQc2ZGo6K5ROt0Ij4mIO2jaSHWJQQJJm1380jyY3hWqbM08A6bYWM5AceuVUg FiMvCmTVr8wiKzQMvnQ06qAT7dXCa99619IHhxWI= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124504eucas1p19e1d3ccaee92e9d0e5b1154e36b05818~xlU0__aE40156501565eucas1p1d; Mon, 15 Jul 2019 12:45:04 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id EE.E1.04377.0557C2D5; Mon, 15 Jul 2019 13:45:04 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124503eucas1p1d41112e5c10c4fd21c7aada7bdf8e513~xlU0LFWeB3191231912eucas1p1w; Mon, 15 Jul 2019 12:45:03 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124503eusmtrp197ef79627a7a52201423ca507d63adab~xlUz81pvz0488104881eusmtrp1C; Mon, 15 Jul 2019 12:45:03 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-20-5d2c75502339 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id BD.50.04146.F457C2D5; Mon, 15 Jul 2019 13:45:03 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124502eusmtip2937b99c3cde708c7bc721964cc3e63c5~xlUzFewR11101111011eusmtip2U; Mon, 15 Jul 2019 12:45:02 +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 36/50] ARM: dts: exynos: change ACLK100_NOC config in Exynos5422 Date: Mon, 15 Jul 2019 14:44:03 +0200 Message-Id: <20190715124417.4787-37-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: H4sIAAAAAAAAA+NgFtrDKsWRmVeSWpSXmKPExsWy7djP87oBpTqxBnPPiVvcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6Mf90nWApOsVV8evGOuYHxFGsXIyeH hICJxKzF34BsLg4hgRWMEhd/rGeCcL4wSiz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Fp33Z2CFtY4s+1LjaIok+MEu8nNAJ1c3CwCehJ7FhVCFIjIrCCUWLyCW+QGmaB 10wSR46+A9sgLBAscf3tWhYQm0VAVeL2yQtANjsHr4C9xI0aiPHyEqs3HGAGsTmBoj+nXQA7 QUjATmLx0Z9MExj5FjAyrGIUSS0tzk3PLTbUK07MLS7NS9dLzs/dxAiMm23Hfm7ewXhpY/Ah RgEORiUeXocU7Vgh1sSy4srcQ4wSHMxKIry2X4FCvCmJlVWpRfnxRaU5qcWHGE2BTprILCWa nA+M6bySeENTQ3MLS0NzY3NjMwslcd4OgYMxQgLpiSWp2ampBalFMH1MHJxSDYwR+U8YeeWT FvjzrXg4+VztuRLFrb/tS561/GWq1Nr77PquXZsXNrR5lJ3hiAwM0Lu5UrIzgv+P6X5vjXgV 5ZfmKWelP3seVZmddnWSoIz2tODqCaINF6+vPHFlZlrv6xmt+abLf4gHtM+u1W1eHzwn6+8z r5OW79IMtt+RnPWyWanl37yJKROVWIozEg21mIuKEwFtIRqXsQIAAA== X-CMS-MailID: 20190715124503eucas1p1d41112e5c10c4fd21c7aada7bdf8e513 X-Msg-Generator: CA X-RootMTR: 20190715124503eucas1p1d41112e5c10c4fd21c7aada7bdf8e513 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124503eucas1p1d41112e5c10c4fd21c7aada7bdf8e513 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 This patch changes NOC100 bus to proper parent and proper rate. The OPPs have been align to reflect this parent and its clock rate. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index aaf18653d8ac..d460041f716c 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -58,6 +58,10 @@ &bus_noc { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK100_NOC>, + <&clock CLK_DOUT_ACLK100_NOC>; + assigned-clock-parents = <&clock CLK_FF_DOUT_SPLL2>; + assigned-clock-rates = <0>, <100000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043789 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 6E55913B1 for ; Mon, 15 Jul 2019 12:46:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F7AE209CE for ; Mon, 15 Jul 2019 12:46:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53A9C26D08; Mon, 15 Jul 2019 12:46:10 +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=ham 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 084C02848B for ; Mon, 15 Jul 2019 12:46:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730363AbfGOMpH (ORCPT ); Mon, 15 Jul 2019 08:45:07 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60520 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730360AbfGOMpH (ORCPT ); Mon, 15 Jul 2019 08:45:07 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124505euoutp01c9f1e418d461df828bd96fb939f3da74~xlU2HSzlX1972419724euoutp01f for ; Mon, 15 Jul 2019 12:45:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124505euoutp01c9f1e418d461df828bd96fb939f3da74~xlU2HSzlX1972419724euoutp01f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194705; bh=VjUehVjlqV4d9i1WqvKnygKijts5Agt7n2omeK3swGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TQS4Xy5PhIGpRPpsar9x1gOsLZWRp/VWhx+a7fcpsOwf4BITvyhEY+AJqGDA29ImJ IOgPN83/wPpIdtzQTXokYq6RD8OoLaGVzWeqQgPdppzOWnUSwpN6FxBOkccbgW6lK6 n/3+Fz3QSkK2XFw7roV8w9eet3UYe6j7Te5RT7QY= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124505eucas1p1ee22ecc2c0e3ea0839f3ce1fb19d70b7~xlU1jSh8u0147201472eucas1p1Z; Mon, 15 Jul 2019 12:45:05 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 53.35.04298.0557C2D5; Mon, 15 Jul 2019 13:45:04 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124504eucas1p1afe0da2c6ac3a8b45d85017a77ba9edf~xlU0wR_Db0154701547eucas1p1b; Mon, 15 Jul 2019 12:45:04 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124504eusmtrp1cfb09b312f9156b6b18b4e2b7be4d23d~xlU0vrhCg0488104881eusmtrp1I; Mon, 15 Jul 2019 12:45:04 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-e7-5d2c75503d53 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id EB.17.04140.0557C2D5; Mon, 15 Jul 2019 13:45:04 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124503eusmtip231c903003c4068ed5360f3f7a9e6f719~xlUz5PmBq0528005280eusmtip21; Mon, 15 Jul 2019 12:45:03 +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 37/50] ARM: dts: exynos: change parent and rate of bus_fsys in Exynos5422 Date: Mon, 15 Jul 2019 14:44:04 +0200 Message-Id: <20190715124417.4787-38-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: H4sIAAAAAAAAA0WSaUhUYRSG++auihPXUfSgWTRROC2aEvRhaQZZ91fYX6Ny0ouJjstcrVyo KcoNyzArW63QrNEyzdRWRxuSMh21csUKFyRTJxslTJTmdqf6957nvO974ONjCdUzyouNTUgR 9AnaeDXtTNa9nmvfEJ66ft/GnsdBuP9BO4Wri6so3DMzR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 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2MeW09bAXn2Ss6Fp1nbGDcwdbFyMkhIWAicf/pDeYuRi4OIYGljBKr rmxihEiISUzat50dwhaW+HOtiw2i6BOjxPcfDUAdHBxsAnoSO1YVgtSICKxglJh8whukhlng NZPEkaPvWEESwgIxEr+/zGICqWcRUJWYsp8HJMwrYC/x/f1BFoj58hKrNxxgBrE5geI/p10A O05IwE5i8dGfTBMY+RYwMqxiFEktLc5Nzy020itOzC0uzUvXS87P3cQIjJxtx35u2cHY9S74 EKMAB6MSD69DinasEGtiWXFl7iFGCQ5mJRFe269AId6UxMqq1KL8+KLSnNTiQ4ymQDdNZJYS Tc4HRnVeSbyhqaG5haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU1ILUIpg+Jg5OqQZG+SmZYUc5 HDoK5li+r+fwtzxav0tD0K91aYogl4DPLj0D37/7HCZuj+HZtSku8XngYbO2/67fFISWWPE6 ivbp6s4+nzOd16Zp59XfnB9bvxhdP1ww22xlXsjLFcuYVDTdVZJnaHezlclXRRYdfSHKbHcz KvHLP8ce7spZTxw//Qz4c2S7zQElluKMREMt5qLiRACNe08esgIAAA== X-CMS-MailID: 20190715124504eucas1p1afe0da2c6ac3a8b45d85017a77ba9edf X-Msg-Generator: CA X-RootMTR: 20190715124504eucas1p1afe0da2c6ac3a8b45d85017a77ba9edf X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124504eucas1p1afe0da2c6ac3a8b45d85017a77ba9edf 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 The FSYS bus 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index d460041f716c..6a82dd175b8a 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -72,6 +72,11 @@ &bus_fsys { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK200_FSYS>, + <&clock CLK_DOUT_ACLK200_FSYS>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>; + assigned-clock-rates = <0>, <240000000>,<1200000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043783 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 909C013B1 for ; Mon, 15 Jul 2019 12:46:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 828DC2766D for ; Mon, 15 Jul 2019 12:46:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76D2828498; Mon, 15 Jul 2019 12:46:04 +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 31DBC2766D for ; Mon, 15 Jul 2019 12:46:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730381AbfGOMpJ (ORCPT ); Mon, 15 Jul 2019 08:45:09 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49995 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730366AbfGOMpI (ORCPT ); Mon, 15 Jul 2019 08:45:08 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124507euoutp02f47cecd5b861d194b62244d1818cf14b~xlU3ZZq8a0722707227euoutp02n for ; Mon, 15 Jul 2019 12:45:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124507euoutp02f47cecd5b861d194b62244d1818cf14b~xlU3ZZq8a0722707227euoutp02n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194707; bh=j5TaKzjwXWO0slJIy85XDb0TdS8H6AlFvyUZNbcpDis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ia7CT42t/ZH6q0QPHbB9Cii6f6y2cvd71iUU5238LIwEHMghCyutJJvjMU5uhdgqO tMFX+UKbYOG+4zXtof6uIeJ3aLiVNQZ74ucygLJHiufJC/iMGhV2DlvtixSqwAce4B kCWXRj+wFb1U9dc35btR91sjCfj9nxr5t27uprC0= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124506eucas1p1ecb230a4d7648efbb4292c1604c873f9~xlU2fFbc43056930569eucas1p1r; Mon, 15 Jul 2019 12:45:06 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 56.35.04298.1557C2D5; Mon, 15 Jul 2019 13:45:06 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124505eucas1p14e68a537cb53cda2cfd832e59425cd25~xlU1silrT0571105711eucas1p1R; Mon, 15 Jul 2019 12:45:05 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124505eusmtrp1707efe250da92fa1641bdffe8b2f4481~xlU1qxVLr0488104881eusmtrp1O; Mon, 15 Jul 2019 12:45:05 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-ec-5d2c75513367 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id DD.17.04140.1557C2D5; Mon, 15 Jul 2019 13:45:05 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124504eusmtip217a627d4fe60fb1b3302a6b57e00d008~xlU0rtPq21173411734eusmtip2y; Mon, 15 Jul 2019 12:45:04 +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 38/50] ARM: dts: exynos: change parent and rate of bus_fsys2 in Exynos5422 Date: Mon, 15 Jul 2019 14:44:05 +0200 Message-Id: <20190715124417.4787-39-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: H4sIAAAAAA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/RCxurTvHarFxxnpW i+tfnrNazD8C5PY/fs1scf78BnaLs01v2C1uNchYbHp8jdXiY889VovLu+awWcw4v4/JYu2R u+wWS69fZLK4eMrV4nbjCjaL1r1H2C0Ov2lntfh3bSOLg7DHmnlrGD3e32hl99i0qpPNY/OS eo+D7/YwefRtWcXo8XmTXAB7lJ5NUX5pSapCRn5xia1StKGFkZ6hpYWekYmlnqGxeayVkamS vp1NSmpOZllqkb5dgl7G2XOvmQsaOSqmLd3D0sD4gK2LkZNDQsBEomHzTSYQW0hgKaPEl3Ma EHExiUn7trND2MISf651AdVzAdV8YpT4tvI0UIKDg01AT2LHqkKQGhGBFYwSk094g9QwC7xm kjhy9B0rSEJYIFbi4IIfYMtYBFQldp/uZgGxeQXsJdp2T4BaIC+xesMBZhCbEyj+c9oFNoiD 7CQWH/3JNIGRbwEjwypGkdTS4tz03GIjveLE3OLSvHS95PzcTYzAyNl27OeWHYxd74IPMQpw MCrx8DqkaMcKsSaWFVfmHmKU4GBWEuG1/QoU4k1JrKxKLcqPLyrNSS0+xGgKdNREZinR5Hxg VOeVxBuaGppbWBqaG5sbm1koifN2CByMERJITyxJzU5NLUgtgulj4uCUamAM8ir2cImTDa+z aKm02z9RL+dS6vKd320ZFQ5UO16zFU1/eshsvwCzyzwXnslPTROuWd6bX6r/NOsXy2ShhJrG F/WrlTnzNlWtuSXUG2/64ePZla/nTZj3bMduFwOJbCdlu7qwF+pqX2L/CwUevqU4aRbvQR8D +zqjW1bb6yYWOwuvOynR81KJpTgj0VCLuag4EQBKudLKsgIAAA== X-CMS-MailID: 20190715124505eucas1p14e68a537cb53cda2cfd832e59425cd25 X-Msg-Generator: CA X-RootMTR: 20190715124505eucas1p14e68a537cb53cda2cfd832e59425cd25 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124505eucas1p14e68a537cb53cda2cfd832e59425cd25 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 The FSYS2 bus OPP table has been aligned to the new parent rate. The OPP table is also shared with bus_fsys. 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 6a82dd175b8a..0e71ba64a4fe 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -82,6 +82,11 @@ &bus_fsys2 { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK200_FSYS2>, + <&clock CLK_DOUT_ACLK200_FSYS2>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>; + assigned-clock-rates = <0>, <240000000>,<1200000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043785 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 0C57514F6 for ; Mon, 15 Jul 2019 12:46:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F02262848B for ; Mon, 15 Jul 2019 12:46:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3D97284AA; Mon, 15 Jul 2019 12:46:08 +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=ham 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 809D92848B for ; Mon, 15 Jul 2019 12:46:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730376AbfGOMqE (ORCPT ); Mon, 15 Jul 2019 08:46:04 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50010 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730367AbfGOMpJ (ORCPT ); Mon, 15 Jul 2019 08:45:09 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124508euoutp02fc0ccfce5b1d50228b6d6d6d2c19bb25~xlU4WOfkO0715707157euoutp02z for ; Mon, 15 Jul 2019 12:45:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124508euoutp02fc0ccfce5b1d50228b6d6d6d2c19bb25~xlU4WOfkO0715707157euoutp02z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194708; bh=XhUDLyvAYykblA3EHwJ2pxWkkIbmOz+RUrQVAuinKU8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TOs+29rxkglqUtqTLJwTcZvXXCiIU4WmrsmwXs0WBX9IUxov4gvzfN86OKCVnHEFr pb+FLO52uPV7zGqiiVZr6ZPsUOzquAKr2s5yLxVAm+S9FXw8of/sZon+zCWh1M6/TJ prYyazKi1uhF348BTEsr5mVuFc0D1n0CJ57xlObM= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124507eucas1p1e15d35a3d812d9d6a14333295e4d5a93~xlU3Xaf_h3144231442eucas1p1w; Mon, 15 Jul 2019 12:45:07 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 2B.C0.04325.2557C2D5; Mon, 15 Jul 2019 13:45:06 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124506eucas1p2b4e906a88978e3edd875e92b1a9fedc4~xlU2mAnTA2241522415eucas1p20; Mon, 15 Jul 2019 12:45:06 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124506eusmtrp1e460a5445e84f362472fb7486559d8ed~xlU2X45sU0488104881eusmtrp1T; Mon, 15 Jul 2019 12:45:06 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-09-5d2c7552cfc9 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A0.60.04146.2557C2D5; Mon, 15 Jul 2019 13:45:06 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124505eusmtip22d9421b51e11d47ede1590ca565c1880~xlU1hDjNR1242312423eusmtip2X; Mon, 15 Jul 2019 12:45:05 +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 39/50] ARM: dts: exynos: change parent and rate of bus_fsys_acp in Exynos5422 Date: Mon, 15 Jul 2019 14:44:06 +0200 Message-Id: <20190715124417.4787-40-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: H4sIAAAAAAAAA+NgFtrFKsWRmVeSWpSXmKPExsWy7djPc7pBpTqxBs8vW1vcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6MSzvKC66xV3xYndLAuJeti5GTQ0LA ROLk5f1ANheHkMAKRol3jRAJIYEvjBL9jx0gEp8ZJbY9+c8E09F7u4EFIrGcUaLr8WImCAeo o6etESjDwcEmoCexY1UhSIOIwBJGiSM/k0BqmAVuMknsebKTFSQhLJAk8fzQdmaQehYBVYnt b7xBwrwC9hIHtr1hgVgmL7F6wwFmEJsTKP5z2gWwUyUELrFLXD64gBWiyEVi363n7BC2sMSr 41ugbBmJ05N7oAYVSzT0LmSEsGskHvfPhaqxljh8/CIryA3MApoS63fpQ4QdJY58gzhNQoBP 4sZbQZAwM5A5adt0qDCvREebEES1hsSWngvQ4BGTWL5mGtRwD4l9DZuhoTOJUeLS5RtsExjl ZyEsW8DIuIpRPLW0ODc9tdg4L7Vcrzgxt7g0L10vOT93EyMwRZ3+d/zrDsZ9f5IOMQpwMCrx 8DqkaMcKsSaWFVfmHmKU4GBWEuG1/QoU4k1JrKxKLcqPLyrNSS0+xCjNwaIkzlvN8CBaSCA9 sSQ1OzW1ILUIJsvEwSnVwHjrmG7IzKm/Hilyre/Q36IYnrn/199agS/fJFh3Xqs9n9DzM9kj +0Ej5/OWt60tZrY6O0O3sBjf0XfsYU6NWbN34e4O65fskTYqb9SjeXYHbDmht61lS3pK0acD qi1eDM3+/9SLa//dc5y/5o/fUum0+z4NMZPKLjUwZLQ+qJYULzZVPn9WUomlOCPRUIu5qDgR AOpPy4JNAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLIsWRmVeSWpSXmKPExsVy+t/xe7pBpTqxBv2/WS1urTvHarFxxnpW i+tfnrNazD8C5PY/fs1scf78BnaLs01v2C1uNchYbHp8jdXiY889VovLu+awWcw4v4/JYu2R u+wWS69fZLK4eMrV4nbjCjaL1r1H2C0Ov2lntfh3bSOLg7DHmnlrGD3e32hl99i0qpPNY/OS eo+D7/YwefRtWcXo8XmTXAB7lJ5NUX5pSapCRn5xia1StKGFkZ6hpYWekYmlnqGxeayVkamS vp1NSmpOZllqkb5dgl7GpR3lBdfYKz6sTmlg3MvWxcjJISFgItF7u4Gli5GLQ0hgKaPE8/Vz GCESYhKT9m1nh7CFJf5c62KDKPrEKPFk3xqmLkYODjYBPYkdqwpBakQEVjBKTD7hDVLDLPCa SeLI0XesIAlhgQSJz+dPM4LUswioSmx/4w0S5hWwlziw7Q0LxHx5idUbDjCD2JxA8Z/TLoAd JyRgJ7H46E+mCYx8CxgZVjGKpJYW56bnFhvqFSfmFpfmpesl5+duYgRGzbZjPzfvYLy0MfgQ owAHoxIPr0OKdqwQa2JZcWXuIUYJDmYlEV7br0Ah3pTEyqrUovz4otKc1OJDjKZAN01klhJN zgdGdF5JvKGpobmFpaG5sbmxmYWSOG+HwMEYIYH0xJLU7NTUgtQimD4mDk6pBkb2R68/v1vF dLVwb9mRtx1aYn+O/nLyOhAyJe7TvbRLWxYbls74kcaom1s03YZxuumT7881GT/WbhIR+XNp XR/f+/KnXwQTVHmZC6+oXHvxYicfxzZl8wt6tz71HLm2p/JvfcqC9Act3/+7OG3rVb77OPet /79Aa21bs5sbvsuqtG+59un+clcjJZbijERDLeai4kQAv92rQrACAAA= X-CMS-MailID: 20190715124506eucas1p2b4e906a88978e3edd875e92b1a9fedc4 X-Msg-Generator: CA X-RootMTR: 20190715124506eucas1p2b4e906a88978e3edd875e92b1a9fedc4 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124506eucas1p2b4e906a88978e3edd875e92b1a9fedc4 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 The FSYS APB bus 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 (MPLL to 600MHz). Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 0e71ba64a4fe..6225d044d01c 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -67,6 +67,11 @@ &bus_fsys_apb { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_PCLK200_FSYS>, + <&clock CLK_DOUT_PCLK200_FSYS>, + <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <200000000>,<600000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043777 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 E4B9714F6 for ; Mon, 15 Jul 2019 12:46:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D40F62000A for ; Mon, 15 Jul 2019 12:46:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C82C527F94; Mon, 15 Jul 2019 12:46:02 +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=ham 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 6F0EF2000A for ; Mon, 15 Jul 2019 12:46:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730397AbfGOMpL (ORCPT ); Mon, 15 Jul 2019 08:45:11 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60562 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730385AbfGOMpK (ORCPT ); Mon, 15 Jul 2019 08:45:10 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124509euoutp0105cca3a1277156da8b309de409ca8215~xlU5KwE9o1972419724euoutp01j for ; Mon, 15 Jul 2019 12:45:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124509euoutp0105cca3a1277156da8b309de409ca8215~xlU5KwE9o1972419724euoutp01j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194709; bh=n9AhB7aGZTT5hZs6nEyn2FJO5PAlgdwzqj/W1h2+0R8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hCljCIs64yRKsA9M1QMt+M7eMsDpo0s+iJ4/RohzgJxrzak7rN6M5nlQX+hVjK+UM Yojkz1A+FG1Gfr95s0GTuFnnvmiPw3tJjAzAIQeBEl3ZUN5vG5foZG3moNGgyXTB8n 0yofzg6erA8v8QelJUUFxI1qevRjaeP4qjuNA6Tw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124508eucas1p2369cd4871b6c009b9fd10d5e069341e7~xlU4ZGEXs2439124391eucas1p2q; Mon, 15 Jul 2019 12:45:08 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 1D.C0.04325.4557C2D5; Mon, 15 Jul 2019 13:45:08 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124507eucas1p17793ab35cd6a64fc5626b751e7f095ee~xlU3ahDBG3056930569eucas1p1t; Mon, 15 Jul 2019 12:45:07 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124507eusmtrp12da439c79e879c1ff5e5106b63bd73d2~xlU3MRUWP0488104881eusmtrp1Z; Mon, 15 Jul 2019 12:45:07 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-0e-5d2c75548359 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 00.27.04140.2557C2D5; Mon, 15 Jul 2019 13:45:06 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124506eusmtip264234280107d475e0a174fa130039d34~xlU2WQx7a0528005280eusmtip23; Mon, 15 Jul 2019 12:45:06 +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 40/50] ARM: dts: exynos: change parent and rate of bus_gen in Exynos5422 Date: Mon, 15 Jul 2019 14:44:07 +0200 Message-Id: <20190715124417.4787-41-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: H4sIAAAAAAAAA0WSfSxVYRzHe865557DXJ0u8UyW7S5LFEmzp3fW21Gz1bTWMtXFGZa37nFF JbIpmZAapoTFiCtvNyGsuEuRtyxcjSnCykvyslTons6t/vv8vr/v7+X57aFwaT1hQQUEh7GK YHmgTGwoqnq52L7lhHKz19bedhz1P24nUHlGKYF658YIlK3RhcnDX3DU0VFGorbYCRL1x1ii iuEeAs0kDhKou/a+GGV0NGCoRDNAovzeLgx1tRxE768VilFcvYZETRM3CLTcUy5yMWFUD1SA me6LI5mKoptipjIvmnkxVYcxSeoiwMxWrD9Gnjbc7csGBoSzCoe95wz9W1ZyiNBnZERX8gIW A4rFCcCAgvR2qO0bAAnAkJLShQDOJ62QQjAHYErrgj6YBXBhXosnAOpPyfjSYUEvALDlaQP+ r+K1Sk3yJjFtD6uLLvAjTOk8ADWL3rwHp7UYrBupIfiECe0FEwtVJM8i2hp+HK/BeJbQ+2Bm aSYQ9rOCxWXPcZ4NdPpiWqeYbwTptyScqRwVCaYDsGNoHBfYBH5uVpMCW8LWO4l6DwdjbuXq m16Bw8lZes8u2NTcRfBL4/QmWFrrIMiuMFdVQAgPNoZ9k2t4GddhalW6/g4SGH9dKrhtoDqx ExPYDBao0vTNGbg42K+/biqA43Gx4hRglfl/WA4ARcCcVXJBfiznFMxetOfkQZwy2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8aL3PxtgrfTPSQ4/IN+yOybEzu3fv17MtXT7zXA+s1pkS /eCrUj5Px+Za3QLmZzo84dMsTu6r3Hfw/RqB39Ytvx9W/bxwwMJDVUNe9fqH15NfZh4LCuDj ODqlv0bE+2fG/RzJhx+XKdfO6tVUYinOSDTUYi4qTgQAwEnjorECAAA= X-CMS-MailID: 20190715124507eucas1p17793ab35cd6a64fc5626b751e7f095ee X-Msg-Generator: CA X-RootMTR: 20190715124507eucas1p17793ab35cd6a64fc5626b751e7f095ee X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124507eucas1p17793ab35cd6a64fc5626b751e7f095ee 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 The bus_gen 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 (MPLL to 600MHz). Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 6225d044d01c..75664ff6d966 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -102,6 +102,10 @@ &bus_gen { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266>, + <&clock CLK_DOUT_ACLK266>, <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <300000000>,<600000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043773 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 112C213B1 for ; Mon, 15 Jul 2019 12:46:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 018852766D for ; Mon, 15 Jul 2019 12:46:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9B7D28477; Mon, 15 Jul 2019 12:45:59 +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=ham 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 8E7012766D for ; Mon, 15 Jul 2019 12:45:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730407AbfGOMpL (ORCPT ); Mon, 15 Jul 2019 08:45:11 -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 S1730389AbfGOMpL (ORCPT ); Mon, 15 Jul 2019 08:45:11 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124510euoutp014307ab9c128e3e4780f80bbf32ae3dfc~xlU6C5lHk1950319503euoutp01J for ; Mon, 15 Jul 2019 12:45:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124510euoutp014307ab9c128e3e4780f80bbf32ae3dfc~xlU6C5lHk1950319503euoutp01J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194710; bh=ee94+F6hORuAwwelQIZmpY2Tr7I1P2DDKGnneocnmZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vjKTvLFn6GqEQxOspRJKSj7VEqcIhD16QPycA7NQ0lCq1s0HZMBZYnpP2WcWNbVCA IAZfLxCcGpi6daUH1RSfuA/N39IpvSVWdrzznezYyGIBahtdaNoUPMEbLG7mWT6xtE eCP79dFATsYRRmqcPJwj/0z8JSoIsznpfyee6ffE= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124509eucas1p1f4d73f22c13ee965bb69f7ab7c72be04~xlU5GIJya0572305723eucas1p1a; Mon, 15 Jul 2019 12:45:09 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id C8.35.04298.4557C2D5; Mon, 15 Jul 2019 13:45:08 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124508eucas1p2b66d72b7eadd7428063387c6881aca64~xlU4J31kV0273902739eucas1p2F; Mon, 15 Jul 2019 12:45:08 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124507eusmtrp14d0d8bfc478c8b562f2d47e11c62b013~xlU37s3AU0488104881eusmtrp1d; Mon, 15 Jul 2019 12:45:07 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-f5-5d2c755400fe Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E2.60.04146.3557C2D5; Mon, 15 Jul 2019 13:45:07 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124507eusmtip21a316748be85eea85af46ae8c63c8679~xlU3JlWVg1172811728eusmtip2o; Mon, 15 Jul 2019 12:45:06 +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 41/50] ARM: dts: exynos: change parent and rate of bus_g2d in Exynos5422 Date: Mon, 15 Jul 2019 14:44:08 +0200 Message-Id: <20190715124417.4787-42-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: H4sIAAAAAAAAA+NgFtrLKsWRmVeSWpSXmKPExsWy7djPc7ohpTqxBp3XDSxurTvHarFxxnpW i+tfnrNazD8C5PY/fs1scf78BnaLs01v2C1uNchYbHp8jdXiY889VovLu+awWcw4v4/JYu2R u+wWS69fZLK4eMrV4nbjCjaL1r1H2C0Ov2lntfh3bSOLg7DHmnlrGD3e32hl99i0qpPNY/OS eo+D7/YwefRtWcXo8XmTXAB7FJdNSmpOZllqkb5dAlfGv933mAoOs1csvHOfvYFxM1sXIyeH hICJRF/LS/YuRi4OIYEVjBL/f71mhHC+MErs3PiXFcL5zCix9/9eJpiW2yteMkEkljNK3J2/ hxmuZcOxs0AtHBxsAnoSO1YVgjSICCxhlDjyMwmkhlngJpPEnic7WUESwgKxEpfe3QI7hEVA VWL+0gYWEJtXwF7i+f97jBDb5CVWbzjADGJzAsV/TrvABjJIQuASu8SrUxuhilwkFm76DmUL S7w6voUdwpaROD25hwXCLpZo6F0IVVMj8bh/LlSNtcTh4xfBjmY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uKK3MPMUpwMCuJ8Np+BQrxpiRWVqUW5ccXleakFh9iNAU6aiKz lGhyPjCq80riDU0NzS0sDc2NzY3NLJTEeTsEDsYICaQnlqRmp6YWpBbB9DFxcEo1MIb6qD3x 2ZGatcntstu/1zUy0a7ei8oubljEbdI+k7Ujau2+yOJHVe7LRApMoyW3NclEtGuV9T3rXFt0 zzH3Tc7DkFfPkp3TWDzcGjbfS7fcsFA7NkV900/D5oR5h+/fZQpb03Wp5Y1/i+a5Niv/EquZ Hbv5ymN9w6zcTpz+yn1t4tGzedOKlFiKMxINtZiLihMBZh5OOLICAAA= X-CMS-MailID: 20190715124508eucas1p2b66d72b7eadd7428063387c6881aca64 X-Msg-Generator: CA X-RootMTR: 20190715124508eucas1p2b66d72b7eadd7428063387c6881aca64 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124508eucas1p2b66d72b7eadd7428063387c6881aca64 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 The bus_g2d 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 (MPLL to 600MHz). Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 75664ff6d966..198e33cf115f 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -116,6 +116,10 @@ &bus_g2d { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266_G2D>, + <&clock CLK_DOUT_ACLK266_G2D>, <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <300000000>,<600000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043769 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 E52A513B1 for ; Mon, 15 Jul 2019 12:45:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3946200E5 for ; Mon, 15 Jul 2019 12:45:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B97E428498; Mon, 15 Jul 2019 12:45:56 +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=ham 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 02C5227FAC for ; Mon, 15 Jul 2019 12:45:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730418AbfGOMpy (ORCPT ); Mon, 15 Jul 2019 08:45:54 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60585 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730400AbfGOMpM (ORCPT ); Mon, 15 Jul 2019 08:45:12 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124510euoutp01c571d4c738c1d7361d7d3189df3055e9~xlU6lkErZ1961119611euoutp011 for ; Mon, 15 Jul 2019 12:45:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124510euoutp01c571d4c738c1d7361d7d3189df3055e9~xlU6lkErZ1961119611euoutp011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194710; bh=dWEd0/DZ+13JAJ+RMOvQKrkdBKE1toKGyUC8I38ocEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AUSnw1qQ14scOap3lTRxUblLX66EO/kcGoEUxwTCSM0Y+XddSa+SN3r86OwQVjWoP NaMDpChSV/phurZsRHh7icWaM7PnlK2kN91FZu3SrM1dzKvuR4nlhjCGfbIp1nMfGN 2+3npX1Fr3jkLnY2XUaTGo977rv20iMTVJe3rVkQ= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124509eucas1p2ab93d8b09ab3547efb0799d596495831~xlU5zNXw93211132111eucas1p2j; Mon, 15 Jul 2019 12:45:09 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 63.F1.04377.5557C2D5; Mon, 15 Jul 2019 13:45:09 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124508eucas1p2f2e09e296dd4ad97a52a2023ede8ae98~xlU462H3e1859018590eucas1p2S; Mon, 15 Jul 2019 12:45:08 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124508eusmtrp146c0c5bb31a6a5b68d6f832e0206ba56~xlU4swOzv0488104881eusmtrp1k; Mon, 15 Jul 2019 12:45:08 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-34-5d2c75551239 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id F1.27.04140.4557C2D5; Mon, 15 Jul 2019 13:45:08 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124507eusmtip2931182578dc8771e17aa1a6eee51acd3~xlU39DPDc1172811728eusmtip2p; Mon, 15 Jul 2019 12:45:07 +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 42/50] ARM: dts: exynos: change parent and rate of bus_mscl in Exynos5422 Date: Mon, 15 Jul 2019 14:44:09 +0200 Message-Id: <20190715124417.4787-43-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: H4sIAAAAAAAAA+NgFtrJKsWRmVeSWpSXmKPExsWy7djPc7qhpTqxBtseKVrcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6M3/tnMBXs5a7YffgmewPjKc4uRg4O CQETiSePDboYuTiEBFYwSuyYepYRwvnCKNHefpEFwvnMKPF27h9WmI453yq6GDmB4ssZJWYd jIdrmPTyMRNIDZuAnsSOVYUgNSICSxgljv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EBWIkpu1TAqlhEVCVOL9jL1iYV8BeYt7fLIjp8hKrNxxgBrE5gcI/p12A 2mQnsfjoT6YJjHwLGBlWMYqklhbnpucWG+kVJ+YWl+al6yXn525iBMbMtmM/t+xg7HoXfIhR gINRiYfXIUU7Vog1say4MvcQowQHs5IIr+1XoBBvSmJlVWpRfnxRaU5q8SFGU6CbJjJLiSbn A+M5ryTe0NTQ3MLS0NzY3NjMQkmct0PgYIyQQHpiSWp2ampBahFMHxMHp1QD48SE2oz5c35X 7f55k9fiIMuTcq7wkv8uJl1POPTM14Xva23M1gkKnLlBsN7kh/gR66QM+caZSw5ZzrhqwHVH MLX1kGMya5WlsO3G5dNyQ10VhEUFZtrwJ8z/6Wol9sMoRSxzf8wNz4UC3ov/+G/hylj0lEP5 Q/aEr2EnHuxYkuoza+UVRTdDJZbijERDLeai4kQAV54j+68CAAA= X-CMS-MailID: 20190715124508eucas1p2f2e09e296dd4ad97a52a2023ede8ae98 X-Msg-Generator: CA X-RootMTR: 20190715124508eucas1p2f2e09e296dd4ad97a52a2023ede8ae98 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124508eucas1p2f2e09e296dd4ad97a52a2023ede8ae98 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 The bus_mscl OPP table has been aligned to the new parent rate. This patch sets the proper parents in the clock tree and picks the init frequency before the devfreq governor starts working. It sets also parent rate (MPLL to 600MHz). Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 198e33cf115f..990fe03fce75 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -103,7 +103,8 @@ &bus_gen { devfreq = <&bus_wcore>; assigned-clocks = <&clock CLK_MOUT_ACLK266>, - <&clock CLK_DOUT_ACLK266>, <&clock CLK_FOUT_MPLL>; + <&clock CLK_DOUT_ACLK266>, + <&clock CLK_FOUT_MPLL>; assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; assigned-clock-rates = <0>, <300000000>,<600000000>; status = "okay"; @@ -155,6 +156,13 @@ &bus_mscl { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK400_MSCL>, + <&clock CLK_MOUT_SW_ACLK400_MSCL>, + <&clock CLK_DOUT_ACLK400_MSCL>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>, + <&clock CLK_DOUT_ACLK400_MSCL>; + assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>; status = "okay"; }; 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/JfS163Q2QCFEXQYfCOJZVvmEtXAeieVPEZjH4rgq0f7+K8EUhHw495xQTPYnopbCseAzxL 6c3w2ZVaIGyTw9qGNoxniU+fLO0k+EGQ7iZhk/MUJoSi4E/HKVzgQDja3ug/NQR2XCgSC8xB 45lK/9ATcKj4qj+zHj5s78L5ozF6Oax3hgvyVvih+hPBy5CeDXu/zOFlzIclty9hgiyFBXky Ib0MNhZ1igSeD2uspf7hDPx0s0IsPE8JgOU/H+DngLz8/7IKACwgiE3ndBqWW6tnj4ZxSh2X rteEHUzROYDvU3VMtf+4A+7/VrkATQHFLOkW9Yr9MlyZwWXqXABSmGKudOMPnyRVKzOzWENK oiFdy3IusJASK4Kkx2e8T5DRGmUae5hlj7CGaVdESYKNYJtEpaq7nNxAJ2SVGU3hwbonnYUh N+SeJTEtx93jOXE2r2odIc8ODlq8ZnPjrmptLM7aC3ebByLjYyvVfXGSX6P2vUzFzJRmQ2pr jQ6y/ezVP6Y/TVp24aNDr+ZFNBG27dU7vHRMYnNnxj5dszN7xHUoKDc0uX6npk17PsqoEHNJ ytWhmIFT/gVQBGnnUAMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAIsWRmVeSWpSXmKPExsVy+t/xe7qhpTqxBpf/SFvcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2Ml0efMxXc46y4t+sDcwPjFI4uRk4OCQETiXe7XzF3MXJxCAksZZRY /e4/C0RCTGLSvu3sELawxJ9rXWwQRZ8YJRo+9zF1MXJwsAnoSexYVQhSIyKwglFi8glvkBpm gddMEkeOvmMFSQgLuEo8aetnA7FZBFQlDvS/YQSxeQXsJc7MWc0IsUBeYvWGA8wgNidQ/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>; }; From patchwork Mon Jul 15 12:44:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043735 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 96DD214F6 for ; Mon, 15 Jul 2019 12:45:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8432D223C7 for ; Mon, 15 Jul 2019 12:45:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8260D284AA; Mon, 15 Jul 2019 12:45:15 +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=ham 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 1AC59223C7 for ; Mon, 15 Jul 2019 12:45:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730427AbfGOMpN (ORCPT ); Mon, 15 Jul 2019 08:45:13 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60606 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730419AbfGOMpN (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 20190715124512euoutp01d81e0dc9e1750e6e0ec4af119ae32021~xlU7zktEW2021920219euoutp01J for ; Mon, 15 Jul 2019 12:45:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124512euoutp01d81e0dc9e1750e6e0ec4af119ae32021~xlU7zktEW2021920219euoutp01J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194712; bh=DEJi1afhOcMSvTeqvKmCvnJ8BWJtbxFkYMOBNRRsFsE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QJ6fmG+ohum6z5MvxCtlHe/ExvHzAfBN3tQt+kfRwLcy4dmKEzdl/hg7VAAZvG1OI /pASitmRSvugGUF+rQLuKM44I6Ht32EEbSoanc+GbZGlDnYSsSw0Yzalwwj30qV6hm JU8FzxAdSl5CHuH6ei1KwkRKzI0dZKOLyg1fbMhw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124511eucas1p2fd300f330ed4de52c0de1b772054abfb~xlU7Dcbt61849318493eucas1p2R; Mon, 15 Jul 2019 12:45:11 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id EB.35.04298.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 20190715124510eucas1p1a88fcaa3b6175a5dae69e6879a534746~xlU6P53aX3125231252eucas1p1M; Mon, 15 Jul 2019 12:45:10 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124510eusmtrp14e6f1d254f3d3c5c9dc2c48a8bcf35f3~xlU6PVVwz0524305243eusmtrp1N; Mon, 15 Jul 2019 12:45:10 +0000 (GMT) X-AuditID: cbfec7f2-3615e9c0000010ca-ff-5d2c75564a3c Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 06.60.04146.6557C2D5; Mon, 15 Jul 2019 13:45:10 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124509eusmtip2d50191a3bdce94faca15f26bfd4d038b~xlU5d6xZe0528005280eusmtip26; Mon, 15 Jul 2019 12:45:09 +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 44/50] ARM: dts: exynos: change rate of bus_jpeg in Exynos5422 Date: Mon, 15 Jul 2019 14:44:11 +0200 Message-Id: <20190715124417.4787-45-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: H4sIAAAAAAAAA0WSaUhUURiGO3PXGZq8jVMeNDSGpEXTJMlDZdkm4w8pEvpRSI56UXNtrmsF joKaMmoYjRouZYajaS6JqKm4oaG5FbhFUrnmXu4a2oxX69/7vt/z8b0cDo1Jaghj2icgmFUG KPxkpAivaFnrOnkrxNL1VPYfOzT4tpNApWnFBOpbHCdQdrPOJg9PYairq4RCHdHTFBpUHUJl w70E+qUeItDn6gwSpXXVCVBR81cKve7rEaCetmvoS5SWRDG1zRRqmo4j0GZvKe5gKC/MKgTy uf4YSl5WEE/K3+VGyhtmawTypPICIF8oM71B3Rad92T9fEJZpfUFN5H3StQ8FrRKhI83pGIq EEckACENGVu4sbyKJQARLWG0AKbn5wl4swjgdEcFwZsFAJfTu8ndlfr5SZIf5AGYvJGD/Vv5 UJeKJwCaJhkrWFlwX78gZXIBbF5z1zMYMyCANSNVhJ4xZFygZuKInsEZc/h9ZprSazFzEZbW xu70M4NvSuoxvRbq8jVN9/ZhyHRSMHlSjfPQVTiXnb/TzhBOtpZTvD4E25/uMhxUJb4EvH4E h5Mzd5hzsKm1Z7sPxhyHxdXWfHwJlo+tkvoYMvtg/8x+fYzpZEpFKsbHYvg4VsLTx2C5ulvA 64Mwr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1OqgTFl4+KjiyOD8j+E RGqpy9mWK+54vdPU7sjayX531M68enCz2clGkn+18JzivUHbVa5eOPrtiuO91XUZMwIWSS3c GdLAe+r2t7YHElZvJ1bq1c2W+Ll3AXtRTcTvo4wFDwtmNXIFtMYF3XiT2OF7qMY8/uO8S+uZ mSQf3JvMHOYSzChuNJvN5YsSS3FGoqEWc1FxIgCyR8ZpsgIAAA== X-CMS-MailID: 20190715124510eucas1p1a88fcaa3b6175a5dae69e6879a534746 X-Msg-Generator: CA X-RootMTR: 20190715124510eucas1p1a88fcaa3b6175a5dae69e6879a534746 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124510eucas1p1a88fcaa3b6175a5dae69e6879a534746 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 The bus_gen OPP table has been aligned to the parent rate. This patch sets the proper initial frequency before the devfreq governor starts working. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 852cb3dd495d..27f6ed323ba1 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -131,6 +131,8 @@ &bus_jpeg { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_JPEG>; + assigned-clock-rates = <300000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043737 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 24E4A13B1 for ; Mon, 15 Jul 2019 12:45:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 144CC223C7 for ; Mon, 15 Jul 2019 12:45:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 11E11284AA; Mon, 15 Jul 2019 12:45:16 +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=ham 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 B9859223C7 for ; Mon, 15 Jul 2019 12:45:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730439AbfGOMpP (ORCPT ); Mon, 15 Jul 2019 08:45:15 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50041 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730425AbfGOMpO (ORCPT ); Mon, 15 Jul 2019 08:45:14 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124513euoutp02164592bb40d55edbb47d8d0af976a595~xlU8_hg5x0722707227euoutp02t for ; Mon, 15 Jul 2019 12:45:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124513euoutp02164592bb40d55edbb47d8d0af976a595~xlU8_hg5x0722707227euoutp02t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194713; bh=o6Z1zLp+glL4NXfMdLJGkavR2ugnNQVpXq1paUuAP3Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NA4xPVQjmiDtYrHIe0AazN67WG5BuRYT+x7FzwvHMTNmbGmk8Ygtlczo++PPTBnZI 1rGWet4ATE2vSR7RhFZGFL4dsQf8NEGQJ1cn0jopGRrF1mFW6Zc00GObhBIfSmV5yG 6OGqN3ovkQaTEM2gM3luiJXxsM8OmXtD1o1XnAFI= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124512eucas1p17531bb76d9ba80ee553432a7ab274e79~xlU8B6cwP3092130921eucas1p1A; Mon, 15 Jul 2019 12:45:12 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 77.F1.04377.7557C2D5; Mon, 15 Jul 2019 13:45:11 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124511eucas1p2b11ef3a5bc093e686ae5450d16785225~xlU7QAtye0273902739eucas1p2H; Mon, 15 Jul 2019 12:45:11 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124511eusmtrp1aee1a22a77edcdbc09abbe8fc0e2f1df~xlU7B2QlZ0524305243eusmtrp1T; Mon, 15 Jul 2019 12:45:11 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-40-5d2c7557b057 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 28.60.04146.7557C2D5; Mon, 15 Jul 2019 13:45:11 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124510eusmtip2d955fbabd17b1a22867a36be84bdff71~xlU6PrUmA1099510995eusmtip23; Mon, 15 Jul 2019 12:45:10 +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 45/50] ARM: dts: exynos: change rate of bus_disp1_fimd in Exynos5422 Date: Mon, 15 Jul 2019 14:44:12 +0200 Message-Id: <20190715124417.4787-46-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: H4sIAAAAAAAAA+NgFtrLKsWRmVeSWpSXmKPExsWy7djP87rhpTqxBgveW1vcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNSczLLUIn27BK6MibdmMBY0sVX0d09gamCcyNrFyMkh IWAi8ffCIbYuRi4OIYEVjBKtSx6xQzhfGCX+tH9lBKkSEvjMKDFxZRVMx+7dT5ghipYzSlxo 2ckC13Fry3Wgdg4ONgE9iR2rCkEaRASWMEoc+ZkEUsMscJNJYs+TnWC7hQUiJZZ/+8IOYrMI qEp83LwWbBuvgL3E9qMXmCC2yUus3nCAGcTmBIr/nHYB7FYJgXPsEpsvPoZ6wkWi4eJGRghb WOLV8S3sELaMxOnJPSwQdrFEQ+9CqJoaicf9c6FqrCUOH7/ICnI0s4CmxPpd+hBhR4m1G1vA fpEQ4JO48VY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hVX5h5ilOBgVhLhtf0KFOJNSaysSi3Kjy8qzUktPsRoCnTURGYp0eR8 YFTnlcQbmhqaW1gamhubG5tZKInzdggcjBESSE8sSc1OTS1ILYLpY+LglGpgjPJU+qidECwq cqDpXYm0SeP1zUmB3/0V8yQdzJ5yX9zL6Oq2ZzHHdxbHWZXdTb9r/1YcmLHH9eLuyVXbfkyS 3iKwV/u98g/tdzniHz+d+qT9YfuMglcPT7IGHp5lU3qqI6J7qliUxtaZr9wStf8//Hrw/9Kt l7wWNS9nuD7bK6P11G0u25Ko6UosxRmJhlrMRcWJAI30x4uyAgAA X-CMS-MailID: 20190715124511eucas1p2b11ef3a5bc093e686ae5450d16785225 X-Msg-Generator: CA X-RootMTR: 20190715124511eucas1p2b11ef3a5bc093e686ae5450d16785225 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124511eucas1p2b11ef3a5bc093e686ae5450d16785225 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 The bus_disp1_fimd OPP table has been aligned to the new parent rate. This patch sets the proper frequency before the devfreq governor starts working. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 27f6ed323ba1..2cfe1effe290 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -143,6 +143,8 @@ &bus_disp1_fimd { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_DISP1>; + assigned-clock-rates = <300000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043741 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 E6AAF13B1 for ; Mon, 15 Jul 2019 12:45:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D8E51223C7 for ; Mon, 15 Jul 2019 12:45:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D70DF284AA; Mon, 15 Jul 2019 12:45:16 +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 8AC56223C7 for ; Mon, 15 Jul 2019 12:45:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730445AbfGOMpP (ORCPT ); Mon, 15 Jul 2019 08:45:15 -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 S1730409AbfGOMpP (ORCPT ); Mon, 15 Jul 2019 08:45:15 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124514euoutp02a19d89be7822a636b8872a999edf4374~xlU92Zpw70730707307euoutp02Z for ; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124514euoutp02a19d89be7822a636b8872a999edf4374~xlU92Zpw70730707307euoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194714; bh=SAzXsKHOymM7Nf0c7urmnuAYn2JuU3b4W7hMQuBtNSk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hbc1JXcYhmIsgdQZj2aCxkN9ZVpYeWw1Xer3j94RMRfGNcsKgRn+3BMD1qdUqsxF0 mq62EGHUhPyR1zf70WcgqLt27P/D5aA01MqwVmOI62TEt191H1gH0tGCvYYdSebv+o E1TP4EOeCQxiFcNb+YIHihPAPm7xN1YnLUtSqikc= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190715124513eucas1p279ca6f45a7660c16bb8a8999ce8a8b7c~xlU82OqX52439624396eucas1p2v; Mon, 15 Jul 2019 12:45:13 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 0F.35.04298.8557C2D5; Mon, 15 Jul 2019 13:45:12 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124512eucas1p1bd847805f945ada00f2b7952592cc104~xlU8GE5aJ0572305723eucas1p1f; Mon, 15 Jul 2019 12:45:12 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124512eusmtrp1a046ecf1e93c0bceb3d7b9d366f470ab~xlU734WUQ0524305243eusmtrp1X; Mon, 15 Jul 2019 12:45:12 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-08-5d2c75589bb0 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 17.27.04140.7557C2D5; Mon, 15 Jul 2019 13:45:12 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124511eusmtip2ca884ce70884c076ff777cc9e27659fe~xlU7B8ra81184611846eusmtip2b; Mon, 15 Jul 2019 12:45:11 +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 46/50] ARM: dts: exynos: change rates of bus_disp1 in Exynos5422 Date: Mon, 15 Jul 2019 14:44:13 +0200 Message-Id: <20190715124417.4787-47-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: H4sIAAAAAAAAA0WSaUhUURzFu/PmLU69eo2WN7WkCSFzayDhgmYGBQN9qC9FWJZjPlTU0eY5 lgs4FZMLLrmgppUGbrjkmpm5lI4Ko6ljoOZQitNqWuYCWTE14xvr2+9//ufcw71cChN34Q5U uCKWVSrkkRJCJGwbWB/1OK9yDzycleONph+N4KipqAFHk6sfcVSqNY/Zxi8YGh1tJNHLmwsk mlY7oWbjBI6+Z7zF0auOewQqGu0WoHrtGxJVTOoFSK87iQw3qgmk6dKSqG8hBUemiSahv62s 7kEdkH2b0pCy5po0QtZSnix78bVTIMtqrQGyleZ9Z8gAkW8IGxkexyq9/IJEYRX9S2TMAHk9 Py0PV4M2Ih3YUJA5AvX6RmE6EFFiphpATaPROqwCmDavsQ4rAC7mF+ObkZz6QoJfVAGYUmnC /kVGRtSCdEBRBOMJ22uuWgJ2TDmA2vVgiwdjXgtg57unGyf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Ij3wJGhlWMIqmlxbnpucVGesWJucWleel6yfm5mxiBcbPt2M8tOxi73gUfYhTg YFTi4XVI0Y4VYk0sK67MPcQowcGsJMJr+xUoxJuSWFmVWpQfX1Sak1p8iNEU6KaJzFKiyfnA mM4riTc0NTS3sDQ0NzY3NrNQEuftEDgYIySQnliSmp2aWpBaBNPHxMEp1cBYdazgaZbaLuVn r84EV3zrVbbWYuqs/JkXqzFr+YpzrqURfz4xzQqtWvDFkXfK489vg2LP3V1RFRXx76tSYOZJ 7muXpq1X1vvlL2gW+ev4ZMXzh59X/Xe8lXxD69yM2ULxmge6bdkbFuhOXfut7/n7dv3716Ua VCdu4DZ0PrCNk2dH3/w17OellFiKMxINtZiLihMBzjyds7ECAAA= X-CMS-MailID: 20190715124512eucas1p1bd847805f945ada00f2b7952592cc104 X-Msg-Generator: CA X-RootMTR: 20190715124512eucas1p1bd847805f945ada00f2b7952592cc104 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124512eucas1p1bd847805f945ada00f2b7952592cc104 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 The bus_disp1 OPP table has been aligned to the new parent rate. This patch sets the proper frequencies before the devfreq governor starts working. It sets 200MHz to bus ACLK_200_DISP1 which is controlled via CLK_DOUT_ACLK200 and 400MHz to ACLK400_DISP1 which is controlled via CLK_DOUT_ACLK400_DISP1. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 2cfe1effe290..fac5659516ad 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -150,6 +150,9 @@ &bus_disp1 { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK200>, + <&clock CLK_DOUT_ACLK400_DISP1>; + assigned-clock-rates = <200000000>, <400000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043759 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 D56DF1510 for ; Mon, 15 Jul 2019 12:45:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6ED8205F7 for ; Mon, 15 Jul 2019 12:45:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB31527FC0; Mon, 15 Jul 2019 12:45:36 +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 A5DFC26D05 for ; Mon, 15 Jul 2019 12:45:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730432AbfGOMpQ (ORCPT ); Mon, 15 Jul 2019 08:45:16 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50021 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730438AbfGOMpQ (ORCPT ); Mon, 15 Jul 2019 08:45:16 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124514euoutp0237c489cb4f258f1546691bffa3216e1f~xlU_ax1vz0731207312euoutp02a for ; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124514euoutp0237c489cb4f258f1546691bffa3216e1f~xlU_ax1vz0731207312euoutp02a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194714; bh=FjmbfDssqB1Pt5EstrFD/CLWu/qb+x06QxtPLMK5QfE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gnOQge25LU+Z1PAUZeg842LC9nix6uzLNf2JC7uU5E2u8GVYtM/+kOUeLYgEnP+7H JNBa7/L+6lySE7J0lYLj7pg/RXhrbzUy2CLBafWgfNxX2ThuMkRGobsFFc7FnvfjYL Y7RvSaBLyERzh25bVHmzOdG/bXPs+vGRn1gDcgBQ= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124514eucas1p1ab4218808c3a1c386d88f954ceef1bed~xlU9qyvx50147201472eucas1p1l; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 70.45.04298.9557C2D5; Mon, 15 Jul 2019 13:45:13 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124513eucas1p2c30a951141622994d350df5e61fdaed4~xlU84p03j3211032110eucas1p2Z; Mon, 15 Jul 2019 12:45:13 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190715124512eusmtrp254a37a7793c98d1b0bfd479a3396b732~xlU8qY3Uf2735227352eusmtrp2J; Mon, 15 Jul 2019 12:45:12 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-0b-5d2c75597d1e Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id AB.60.04146.8557C2D5; Mon, 15 Jul 2019 13:45:12 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124512eusmtip262d35c752c7d48281902dc0616b3d84c~xlU71xqNH1099510995eusmtip25; Mon, 15 Jul 2019 12:45:12 +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 47/50] ARM: dts: exynos: change rate of bus_gscl_scaler in Exynos5422 Date: Mon, 15 Jul 2019 14:44:14 +0200 Message-Id: <20190715124417.4787-48-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: H4sIAAAAAAAAA+NgFtrHKsWRmVeSWpSXmKPExsWy7djPc7qRpTqxBkcbNCxurTvHarFxxnpW i+tfnrNazD8C5PY/fs1scf78BnaLs01v2C1uNchYbHp8jdXiY889VovLu+awWcw4v4/JYu2R u+wWS69fZLK4eMrV4nbjCjaL1r1H2C0Ov2lntfh3bSOLg7DHmnlrGD3e32hl99i0qpPNY/OS eo+D7/YwefRtWcXo8XmTXAB7FJdNSmpOZllqkb5dAlfGz/etbAXNbBXv7v9gb2CcxNrFyMkh IWAi8fTIWrYuRi4OIYEVj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YkbTcaYuRi4OIYGljBI/ 1i9hhkiISUzat50dwhaW+HOtiw3EFhL4xCjx8nN2FyMHB5uAnsSOVYUgYRGBFYwSk094g8xh FnjNJHHk6DuwBcICERJLZs9kBLFZBFQlFl6cARbnFbCXWDt3KSPEfHmJ1RsOgO3lBIr/nHYB apedxOKjP5kmMPItYGRYxSiSWlqcm55bbKhXnJhbXJqXrpecn7uJERg524793LyD8dLG4EOM AhyMSjy8DinasUKsiWXFlbmHGCU4mJVEeG2/AoV4UxIrq1KL8uOLSnNSiw8xmgIdNZFZSjQ5 HxjVeSXxhqaG5haWhubG5sZmFkrivB0CB2OEBNITS1KzU1MLUotg+pg4OKUaGHs3n5tnVneO QfL5utWbbY5UGfx2COUJ/LBrz5SSq/qLnmz/4jA3LyLcxujpzbTfwaI3gnseXykpNE0/fqsx dFLKvuWv+A1nn+O+u0CuuOfp/g36axOWndkYv3t+fp6h7a38f/Ovdqpe9BBmiFkqETPXip+5 R/6ulll6irjmjOOtf962Pz+QnKzEUpyRaKjFXFScCAAIgydtsgIAAA== X-CMS-MailID: 20190715124513eucas1p2c30a951141622994d350df5e61fdaed4 X-Msg-Generator: CA X-RootMTR: 20190715124513eucas1p2c30a951141622994d350df5e61fdaed4 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124513eucas1p2c30a951141622994d350df5e61fdaed4 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 The bus_gscl_scaler OPP table has been aligned to the new parent rate. This patch sets the proper frequency before the devfreq governor starts working. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index fac5659516ad..d278339f259c 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -158,6 +158,8 @@ &bus_gscl_scaler { devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_GSCL>; + assigned-clock-rates = <300000000>; status = "okay"; }; From patchwork Mon Jul 15 12:44:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043755 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 0D53A13B1 for ; Mon, 15 Jul 2019 12:45:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3A9227FAC for ; Mon, 15 Jul 2019 12:45:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1CAB27FC0; Mon, 15 Jul 2019 12:45:34 +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 A6DE526D08 for ; Mon, 15 Jul 2019 12:45:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730457AbfGOMpR (ORCPT ); Mon, 15 Jul 2019 08:45:17 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50059 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730446AbfGOMpR (ORCPT ); Mon, 15 Jul 2019 08:45:17 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124515euoutp0239c214ef051dfccfa1ee335d8b49fca6~xlU-Lz8SR0731207312euoutp02b for ; Mon, 15 Jul 2019 12:45:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715124515euoutp0239c214ef051dfccfa1ee335d8b49fca6~xlU-Lz8SR0731207312euoutp02b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194715; bh=+y97K1qUSQhqt3rK3hQzR4lKeiVtsP9SfytOcS6HUUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vps+r5gbL9U74IaIvaGLfXqgyGRYnjxN8BpUCExnvM7gNjv+/bgArw9TO4Mzs+f0s RotAOtXgJNwsueP9QRzko/ZmhVGdWod0aMjmew9FW5UwmuqlIUNqe0BjLGOGKbBlsR hoqaFNFK383vBcb/+yTHN7ZOCBiWbwJuXvTwf3UA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124514eucas1p1ad1189121ecc539717d054628d2ddb56~xlU_akhC80573705737eucas1p1S; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id F1.45.04298.A557C2D5; Mon, 15 Jul 2019 13:45:14 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124514eucas1p1531a88cfb9b4e2fdb801074963372688~xlU9rcF3m0571105711eucas1p1Y; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124513eusmtrp126716a1cae719af372f069afa1d1af00~xlU9dV1ij0524305243eusmtrp1d; Mon, 15 Jul 2019 12:45:13 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-0d-5d2c755ada2f Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 8A.27.04140.9557C2D5; Mon, 15 Jul 2019 13:45:13 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124512eusmtip20ee5b5360fdc63f8b013184c7afedd87~xlU8okb3D1173411734eusmtip24; Mon, 15 Jul 2019 12:45:12 +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 48/50] ARM: dts: exynos: set proper parents to bus_isp266 Exynos5422 Date: Mon, 15 Jul 2019 14:44:15 +0200 Message-Id: <20190715124417.4787-49-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: H4sIAAAAAAAAA+NgFtrDKsWRmVeSWpSXmKPExsWy7djPc7pRpTqxBodWyVvcWneO1WLjjPWs Fte/PGe1mH8EyO1//JrZ4vz5DewWZ5vesFvcapCx2PT4GqvFx557rBaXd81hs5hxfh+Txdoj d9ktll6/yGRx8ZSrxe3GFWwWrXuPsFscftPOavHv2kYWB2GPNfPWMHq8v9HK7rFpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KC6blNScz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grI1Ml fTublNSczLLUIn27BL2M9z/mMRZ84qq4smkVawNjJ2cXIweHhICJxI12/i5GLg4hgaWMElu2 NLB1MXICxcUkJu3bzg5hC0v8udbFBlH0iVFi/cGfbCDNbAJ6EjtWFYLUiAisYJSYfMIbpIZZ 4DWTxJGj71hBaoQFwiX23ckCqWERUJXYPeELE0iYV8Be4tF9bojx8hKrNxxgBrE5gcI/p10A O0FIwE5i8dGfTBMY+RYwMqxiFEktLc5Nzy020itOzC0uzUvXS87P3cQIjJptx35u2cHY9S74 EKMAB6MSD69DinasEGtiWXFl7iFGCQ5mJRFe269AId6UxMqq1KL8+KLSnNTiQ4ymQDdNZJYS Tc4HRnReSbyhqaG5haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU1ILUIpg+Jg5OqQZGTUXpwIw/ xX+Fd0YWVnioSQX/6+9gte2TqxZduurDqX7xzwk1TdV/n9v8nbnvjfLKzfd07x5p+z/9gGZK S7F/14GLefoLkyfmJPNLOB6rc/+77sO2W6cyLR9e9jFr+Pzxhe+uE4E/ZL9evujiNifuytJt h//FXyjJndMrufX2hl//1hszP+VJVWIpzkg01GIuKk4EABye/BuwAgAA X-CMS-MailID: 20190715124514eucas1p1531a88cfb9b4e2fdb801074963372688 X-Msg-Generator: CA X-RootMTR: 20190715124514eucas1p1531a88cfb9b4e2fdb801074963372688 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124514eucas1p1531a88cfb9b4e2fdb801074963372688 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 On Exynos5422 there is a dedicated clock hierarchy for ACLK_266_ISP which should be set to proper values to fully use the HW performance. The old settings left after boot set minimal values to this bus. In the Exynos5420 the bus is connected to ACLK_266 so there is no need for aligning the values. In the Exynos5422 the proper hierarchy of these clocks should be model in the software to use the full HW feature set. The patch sets proper parent (MPLL) and initial frequency to the bus also enabling it. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index d278339f259c..c770d17141e8 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -187,6 +187,17 @@ status = "okay"; }; +&bus_isp266 { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266_ISP>, + <&clock CLK_MOUT_USER_ACLK266_ISP>, + <&clock CLK_DOUT_ACLK266_ISP>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>, + <&clock CLK_MOUT_SW_ACLK266_ISP>; + assigned-clock-rates = <0>, <0>,<300000000>; + status = "okay"; +}; + &cpu0 { cpu-supply = <&buck6_reg>; }; From patchwork Mon Jul 15 12:44:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043747 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 81D3113B1 for ; Mon, 15 Jul 2019 12:45:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71FD62849B for ; Mon, 15 Jul 2019 12:45:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F870223C7; Mon, 15 Jul 2019 12:45:30 +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=ham 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 CE25026D08 for ; Mon, 15 Jul 2019 12:45:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730465AbfGOMp2 (ORCPT ); Mon, 15 Jul 2019 08:45:28 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60572 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730438AbfGOMpS (ORCPT ); Mon, 15 Jul 2019 08:45:18 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124516euoutp01561c086dcddbb011f3811b3be12d36af~xlVATq--t1960819608euoutp01D for ; Mon, 15 Jul 2019 12:45:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124516euoutp01561c086dcddbb011f3811b3be12d36af~xlVATq--t1960819608euoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194716; bh=LR6wVN9M871+aI+Zz2/xAtq0PjCbEVYLnCfnQUmJAAU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TH3vrDwFxFP2684e7h0NgXK4tvPJE56+FYE1ZpKDcApesyklc74kuoE4o89jUNXNZ WtaJeuKrwBLJvDKD/cSuWEe9geyVdVfUorBFm6Eod29YHMdvy0I5nzEgPyFhGOpnbT 6g6UsYV5PaHO8IBCTmcof0/yt4CCxH3TxsyUh0B0= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124515eucas1p108b426eaa33d9fe510ae208b72392523~xlU-SaHDx3191231912eucas1p1F; Mon, 15 Jul 2019 12:45:15 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 53.D0.04325.B557C2D5; Mon, 15 Jul 2019 13:45:15 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124514eucas1p1dcbbcbac0503980825d5e4ebae32003b~xlU_X-DGF0146601466eucas1p1v; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190715124514eusmtrp21c632d15dbbe3d9e5a7d65adb92ab2ef~xlU_J1NmX2735227352eusmtrp2N; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-24-5d2c755bde19 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id AD.60.04146.A557C2D5; Mon, 15 Jul 2019 13:45:14 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124513eusmtip219fb635485904465e149061e04d5f99f~xlU9Yc20b1099510995eusmtip26; Mon, 15 Jul 2019 12:45:13 +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 49/50] ARM: dts: exynos: add buses support for Exynos5800 Peach Pi Date: Mon, 15 Jul 2019 14:44:16 +0200 Message-Id: <20190715124417.4787-50-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: H4sIAAAAAAAAA+NgFtrHKsWRmVeSWpSXmKPExsWy7djP87rRpTqxBp2TJS1urTvHarFxxnpW i+tfnrNazD8C5PY/fs1scf78BnaLs01v2C1uNchYbHp8jdXiY889VovLu+awWcw4v4/JYu2R u+wWS69fZLK4eMrV4nbjCjaL1r1H2C0Ov2lntfh3bSOLg7DHmnlrGD3e32hl99i0qpPNY/OS eo+D7/YwefRtWcXo8XmTXAB7FJdNSmpOZllqkb5dAlfGzfnXmQp+aVXMmf2MsYFxt3IXIyeH hICJxKPJi9i6GLk4hARWMEpMu/iACcL5wijRO30eK4TzmVHi+o1n7DAt/663QCWWM0p8bn/A CtfSMvcoUBUHB5uAnsSOVYUgDSICSxgljvxMAqlhFrjJJLHnyU5WkISwQLjEjXlvmUFsFgFV iYe/lzOC2LwC9hL3Nn9hhdgmL7F6wwGwGk6g+M9pF8COlRC4xC5xuXsmE0SRi8S2N61sELaw xKvjW6BOlZH4v3M+VE2xREPvQkYIu0bicf9cqBpricPHL7KCHM0soCmxfpc+RNhRYtLFVhaQ sIQAn8SNt4IgYWYgc9K26cwQYV6JjjYhiGoNiS09F6AWiUksXzMNariHxOkPa5ghwTOJUWLr 7PdMExjlZyEsW8DIuIpRPLW0ODc9tdg4L7Vcrzgxt7g0L10vOT93EyMwVZ3+d/zrDsZ9f5IO MQpwMCrx8DqkaMcKsSaWFVfmHmKU4GBWEuG1/QoU4k1JrKxKLcqPLyrNSS0+xCjNwaIkzlvN 8CBaSCA9sSQ1OzW1ILUIJsvEwSnVwKj5nVme0+r4t3lB/buWrpM5ZbqtyczP1/+DXGmRaU0q vyrj3ZYvzMvbxc2YdTkvXHpzyE960ZsK6Yfbw0PZm/as+u386hnX9TQ/U85fG1gXPRbt093V XVmavbY+8jtf+sHbR/epC85arJ4pPaVfYy3bmpy7wWs/7zt5isX7fejhrItHZjiraCixFGck GmoxFxUnAgCUutmGUQMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPIsWRmVeSWpSXmKPExsVy+t/xe7pRpTqxBg1HZC1urTvHarFxxnpW i+tfnrNazD8C5PY/fs1scf78BnaLs01v2C1uNchYbHp8jdXiY889VovLu+awWcw4v4/JYu2R u+wWS69fZLK4eMrV4nbjCjaL1r1H2C0Ov2lntfh3bSOLg7DHmnlrGD3e32hl99i0qpPNY/OS eo+D7/YwefRtWcXo8XmTXAB7lJ5NUX5pSapCRn5xia1StKGFkZ6hpYWekYmlnqGxeayVkamS vp1NSmpOZllqkb5dgl7GzfnXmQp+aVXMmf2MsYFxt3IXIyeHhICJxL/rLaxdjFwcQgJLGSU6 z/axQSTEJCbt284OYQtL/LnWxQZR9IlR4uhFkAQHB5uAnsSOVYUgNSICKxglJp/wBqlhFnjN JHHk6DtWkBphgVCJH32JIDUsAqoSD38vZwSxeQXsJe5t/sIKMV9eYvWGA8wgNidQ/Oe0C2A3 CAnYSSw++pNpAiPfAkaGVYwiqaXFuem5xYZ6xYm5xaV56XrJ+bmbGIGRs+3Yz807GC9tDD7E KMDBqMTD65CiHSvEmlhWXJl7iFGCg1lJhNf2K1CINyWxsiq1KD++qDQntfgQoynQUROZpUST 84FRnVcSb2hqaG5haWhubG5sZqEkztshcDBGSCA9sSQ1OzW1ILUIpo+Jg1OqgVF7ezaP050e 9i12vrttukNcjjZN1V7294isxMWPd5zuTzxge32J7OwbXRZLpn84WbxBz8bS2vc2a176xjqF Zy3bfNtLmXkvnVeWn5pZE3k+O/fK+Yees6rzj0al2P858F3UcM1Bn0WOkpu3nnWqZZa6erDg 8Yz1J0uDMx6adJ//U1XHsnBqzzklluKMREMt5qLiRACmXNvfsgIAAA== X-CMS-MailID: 20190715124514eucas1p1dcbbcbac0503980825d5e4ebae32003b X-Msg-Generator: CA X-RootMTR: 20190715124514eucas1p1dcbbcbac0503980825d5e4ebae32003b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124514eucas1p1dcbbcbac0503980825d5e4ebae32003b 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 The patch adds SoC buses support. It also changes connections of the clocks pinning to the rigth parent. There is also frequency set of the needed clock to make it working at the right rate. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 172 ++++++++++++++++++++++ 1 file changed, 172 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index e0f470fe54c8..38edb00c7f1b 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -151,6 +151,163 @@ vdd-supply = <&ldo9_reg>; }; +&bus_wcore { + devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>, + <&nocp_mem1_0>, <&nocp_mem1_1>; + vdd-supply = <&buck3_reg>; + exynos,saturation-ratio = <100>; + assigned-clocks = <&clock CLK_MOUT_ACLK400_WCORE>, + <&clock CLK_MOUT_SW_ACLK400_WCORE>, + <&clock CLK_DOUT_ACLK400_WCORE>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>, + <&clock CLK_DOUT_ACLK400_WCORE>; + assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>; + status = "okay"; +}; + +&bus_noc { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK100_NOC>, + <&clock CLK_DOUT_ACLK100_NOC>; + assigned-clock-parents = <&clock CLK_FF_DOUT_SPLL2>; + assigned-clock-rates = <0>, <100000000>; + status = "okay"; +}; + +&bus_fsys_apb { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_PCLK200_FSYS>, + <&clock CLK_DOUT_PCLK200_FSYS>, + <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <200000000>,<600000000>; + status = "okay"; +}; + +&bus_fsys { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK200_FSYS>, + <&clock CLK_DOUT_ACLK200_FSYS>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>; + assigned-clock-rates = <0>, <240000000>,<1200000000>; + status = "okay"; +}; + +&bus_fsys2 { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK200_FSYS2>, + <&clock CLK_DOUT_ACLK200_FSYS2>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>; + assigned-clock-rates = <0>, <240000000>,<1200000000>; + status = "okay"; +}; + +&bus_mfc { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_gen { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266>, + <&clock CLK_DOUT_ACLK266>, <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <300000000>,<600000000>; + status = "okay"; +}; + +&bus_peri { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_g2d { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266_G2D>, + <&clock CLK_DOUT_ACLK266_G2D>, + <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <300000000>,<600000000>; + status = "okay"; +}; + +&bus_g2d_acp { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_jpeg { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_JPEG>; + assigned-clock-rates = <300000000>; + status = "okay"; +}; + +&bus_jpeg_apb { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_disp1_fimd { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_DISP1>; + assigned-clock-rates = <300000000>; + status = "okay"; +}; + +&bus_disp1 { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK200>, + <&clock CLK_DOUT_ACLK400_DISP1>; + assigned-clock-rates = <200000000>, <400000000>; + status = "okay"; +}; + +&bus_gscl_scaler { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_GSCL>; + assigned-clock-rates = <300000000>; + status = "okay"; +}; + +&bus_mscl { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK400_MSCL>, + <&clock CLK_MOUT_SW_ACLK400_MSCL>, + <&clock CLK_DOUT_ACLK400_MSCL>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>, + <&clock CLK_DOUT_ACLK400_MSCL>; + assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>; + 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"; +}; + +&bus_isp266 { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266_ISP>, + <&clock CLK_MOUT_USER_ACLK266_ISP>, + <&clock CLK_DOUT_ACLK266_ISP>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>, + <&clock CLK_MOUT_SW_ACLK266_ISP>; + assigned-clock-rates = <0>, <0>,<300000000>; + status = "okay"; +}; + &clock_audss { assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>; assigned-clock-parents = <&clock CLK_MAU_EPLL>; @@ -736,6 +893,21 @@ bus-width = <4>; }; +&nocp_mem0_0 { + status = "okay"; +}; + +&nocp_mem0_1 { + status = "okay"; +}; + +&nocp_mem1_0 { + status = "okay"; +}; + +&nocp_mem1_1 { + status = "okay"; +}; &pinctrl_0 { pinctrl-names = "default"; From patchwork Mon Jul 15 12:44:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11043745 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 1D88A14F6 for ; Mon, 15 Jul 2019 12:45:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DDF228495 for ; Mon, 15 Jul 2019 12:45:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01984284A3; Mon, 15 Jul 2019 12:45:27 +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=ham 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 9A1622849D for ; Mon, 15 Jul 2019 12:45:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730436AbfGOMpT (ORCPT ); Mon, 15 Jul 2019 08:45:19 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60585 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730463AbfGOMpT (ORCPT ); Mon, 15 Jul 2019 08:45:19 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124517euoutp01c21a20475e4fcf1088ad22c9efd84d84~xlVBF_HYe1961119611euoutp01- for ; Mon, 15 Jul 2019 12:45:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124517euoutp01c21a20475e4fcf1088ad22c9efd84d84~xlVBF_HYe1961119611euoutp01- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194717; bh=SlSGrP0biJS3zDm28jQoSzzy5NHzoOLSngg63Rw4Q50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uLg4LNhYLTRONvtmFq2gVSn98R37ztNRtB5hBMiD8+aSo/HugLjgJLfqKxlo074/J w5YbGS22ldqFt7VRFsTZFCe8hPQEOkGiSjaXk/8Ca+f3meLOZhncl7C4u0gl/tR17I gX05uQ7TMo7qpIe/jqT0hEwucXSDzPTYOFvstwF8= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124516eucas1p1c35ae1baf457096ce1dfb6d2cf4014bb~xlVADe4cT3144231442eucas1p16; Mon, 15 Jul 2019 12:45:16 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 0D.F1.04377.C557C2D5; Mon, 15 Jul 2019 13:45:16 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190715124515eucas1p240a8c61dd62d56cbbd0e4d313be2273e~xlU-K-MxC0240802408eucas1p2O; Mon, 15 Jul 2019 12:45:15 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715124515eusmtrp12a318e65182f0b206d6366f52c851fbd~xlU_81_CM0524305243eusmtrp1f; Mon, 15 Jul 2019 12:45:15 +0000 (GMT) X-AuditID: cbfec7f4-5632c9c000001119-51-5d2c755cd02f Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id EB.27.04140.B557C2D5; Mon, 15 Jul 2019 13:45:15 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124514eusmtip21d70cd0d4c02b38744c66ad59139b0f8~xlU_KG5Bs1184611846eusmtip2d; Mon, 15 Jul 2019 12:45:14 +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 50/50] ARM: dts: exynos: change MMC0 clock parent in Exynos5800 Peach Pi Date: Mon, 15 Jul 2019 14:44:17 +0200 Message-Id: <20190715124417.4787-51-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: H4sIAAAAAAAAA0WSe0gUURTGvTM7D6WNaQ29vrIWBM3UCpErlZkUDAU9CAoq0zUntXS1HbW0 xE0yTXyVpmIPFRRt87mJj8EiHykmtamUr5LSUDNNwi1YMmtnx+i/3/m+75xzOVwaV3QQjnSU Op7TqFXRStJG1tJreu11JmFb8PbOR3I0Xv+aQE0l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FpVSebx+Yl 9R4H3+1h8ujbsorR4/MmuQD2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1Ml fTublNSczLLUIn27BL2Mta/+MBasYquY/X4vYwPjNtYuRk4OCQETiVWXNzJ1MXJxCAksZZR4 P2kiVEJMYtK+7ewQtrDEn2tdbBBFnxglrv/+BpTg4GAT0JPYsaoQpEZEYAWjxOQT3iA1zAKv mSSOHH0HNkhYIFpiy5cZbCA2i4CqRMf7XjCbV8BeYvLae2wQC+QlVm84wAxicwLFf067ABYX ErCTWHz0J9MERr4FjAyrGEVSS4tz03OLjfSKE3OLS/PS9ZLzczcxAmNn27GfW3Ywdr0LPsQo wMGoxMPrkKIdK8SaWFZcmXuIUYKDWUmE1/YrUIg3JbGyKrUoP76oNCe1+BCjKdBRE5mlRJPz gXGdVxJvaGpobmFpaG5sbmxmoSTO2yFwMEZIID2xJDU7NbUgtQimj4mDU6qB0di6xtz3YEuF ZUuYyDmNuWYbu+/v/ury0/38B6vVaVPvfF13TSjp66RPmwV6KgvezlCe+EVK90OqvXeJpcse 34RO1QW/P8/4uuPp4a7rWT7cj/bMYMwp3Hijsev+gVv1KfzTtzXcUclMePfHVGvJdM1HE10W lk/y3btA6k8A58YjV08GXbq7hF2JpTgj0VCLuag4EQAozPNCswIAAA== X-CMS-MailID: 20190715124515eucas1p240a8c61dd62d56cbbd0e4d313be2273e X-Msg-Generator: CA X-RootMTR: 20190715124515eucas1p240a8c61dd62d56cbbd0e4d313be2273e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124515eucas1p240a8c61dd62d56cbbd0e4d313be2273e 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 Change MMC0 clock settings and set parent to MOUT_SPLL with proper rate. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 38edb00c7f1b..c8e02ecc6627 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -891,6 +891,9 @@ pinctrl-names = "default"; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; bus-width = <4>; + assigned-clocks = <&clock CLK_MOUT_MMC0>, <&clock CLK_FOUT_SPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_SPLL>; + assigned-clock-rates = <0>, <800000000>; }; &nocp_mem0_0 {