From patchwork Mon Mar 25 07:13:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10868009 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 D9BF11390 for ; Mon, 25 Mar 2019 07:13:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C25A229250 for ; Mon, 25 Mar 2019 07:13:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B40C82924F; Mon, 25 Mar 2019 07:13:57 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 4F51C2924B for ; Mon, 25 Mar 2019 07:13:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729720AbfCYHN4 (ORCPT ); Mon, 25 Mar 2019 03:13:56 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:59646 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729760AbfCYHN4 (ORCPT ); Mon, 25 Mar 2019 03:13:56 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190325071355euoutp029cccbc17896321dedc22764542a7b2fb~PIjttfH2b0790207902euoutp02O; Mon, 25 Mar 2019 07:13:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190325071355euoutp029cccbc17896321dedc22764542a7b2fb~PIjttfH2b0790207902euoutp02O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553498035; bh=Ao2HOdOIMpdOHxYHqFVbMPTpXRytBEtjaol8ordIYWs=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=L5CSnw8Z1MpJX1ADRcCDrFz6FddgY6S76KzK6jS8olOCVlCIorQlPNhZ0vhdVsLC8 CPrHM+YAF442PQ7HFZFaMjKpw7PIwBjaUfBpPZ4NtthDFt0AanFInxnrxouW7MXbcP uKlnNR1XqcgAwQEX7RdU8X2zLegZN1x+vuratJaM= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190325071354eucas1p218b57ef685c84c092bdb30186e14cd18~PIjtTzzYb3045430454eucas1p2y; Mon, 25 Mar 2019 07:13:54 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 87.4E.04325.2BF789C5; Mon, 25 Mar 2019 07:13:54 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190325071353eucas1p13470b85473aa92b25d38fcf4eceea76e~PIjsZPEkA2364523645eucas1p1E; Mon, 25 Mar 2019 07:13:53 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-8c-5c987fb29eb1 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A0.69.04146.1BF789C5; Mon, 25 Mar 2019 07:13:53 +0000 (GMT) Received: from AMDC3748.DIGITAL.local ([106.120.51.74]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0POW003QHUR43P00@eusync3.samsung.com>; Mon, 25 Mar 2019 07:13:53 +0000 (GMT) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v3 RESEND 01/24] arm64: dts: exynos: configure GSCALER related clocks Date: Mon, 25 Mar 2019 08:13:26 +0100 Message-id: <20190325071349.22600-2-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20190325071349.22600-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsWy7djP87qb6mfEGDx7LWZxa905VouNM9az Wlz5+p7NYtL9CSwW589vYLeYcX4fk8XaI3fZHdg9Nq3qZPO4332cyaNvyypGj8+b5AJYorhs UlJzMstSi/TtErgyft5YwVTQJVCx+E9uA+M13i5GTg4JAROJ67vesXQxcnEICaxglJh74CUT hPOZUWLt9jfMXYwcYFV/nyZAxJcxSmxr/cEM4fxnlNi18yc7yCg2AU2Jv5tvsoHYIgLKEqv2 tbODFDEL/GaUmL58G1iRsEC4RMvWvUwgNouAqsT/mYdYQWxeAQuJu1vXskLcJC+xesMBZhCb U8BS4v/pS2DbJAQa2SSubv8LVeQiseTVYzYIW0ais+MgE4RdL3F/RQtUQwejxNYNO5khEtYS h49fBGtmFuCTmLRtOtRvvBIdbUIQJR4SHScWsUK81sMosWPCW7YJjBILGBlWMYqnlhbnpqcW G+ellusVJ+YWl+al6yXn525iBMbX6X/Hv+5g3Pcn6RCjAAejEg/vi53TY4RYE8uKK3MPMUpw MCuJ8D4RnREjxJuSWFmVWpQfX1Sak1p8iFGag0VJnLea4UG0kEB6YklqdmpqQWoRTJaJg1Oq gdGVS3S95YdQk9oEAf5U0WnPk36fe+L0vuupumzqwe0qbILXa47EFnVy3qqP35njuYkhte+8 6ouMRZ+WfOKJvpy04mtohtKu3VF75+g3nNhoctyf1SDMfdHnqCOOIlqRU2zkl5+2efzjxrEn f3Uf9j37dOHxLudrricXmfbM4NwvsSHlm6tnyUslluKMREMt5qLiRABjQZBNqwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkluLIzCtJLcpLzFFi42I5/e/4Vd2N9TNiDBraNSxurTvHarFxxnpW iytf37NZTLo/gcXi/PkN7BYzzu9jslh75C67A7vHplWdbB73u48zefRtWcXo8XmTXABLFJdN SmpOZllqkb5dAlfGzxsrmAq6BCoW/8ltYLzG28XIwSEhYCLx92lCFyMXh5DAEkaJOZ9OskI4 jUwS+zpuMHcxcnKwCWhK/N18kw3EFhFQlli1r50dpIhZ4DejxOcZX8GKhAXCJQ483MMCYrMI qEr8n3mIFcTmFbCQuLt1LZgtISAvsXrDAbB6TgFLif+nL4HZQkA1e5c1sk9g5FnAyLCKUSS1 tDg3PbfYUK84Mbe4NC9dLzk/dxMjMGC2Hfu5eQfjpY3BhxgFOBiVeHgd9kyPEWJNLCuuzD3E KMHBrCTC+0R0RowQb0piZVVqUX58UWlOavEhRmkOFiVx3vMGlVFCAumJJanZqakFqUUwWSYO TqkGxkaGNacWPwrOU9vuoW0yX8bv7qy5PW8vrL/z+V3514WLpos6P6r9LX/R7VXAlJCSOYsX bN88Z0Xgoqj1HKfF+ItvrN5XtjvHv8bp7beW/rpv8o5qW1jXlwXsu1PYeOxT08ezWjnyQeb2 Wvvajh67uOvEkYcfjp7J/NI7Mz74e/tR1zXXxTVPnxBSYinOSDTUYi4qTgQA1IsQVRQCAAA= X-CMS-MailID: 20190325071353eucas1p13470b85473aa92b25d38fcf4eceea76e CMS-TYPE: 201P X-CMS-RootMailID: 20190325071353eucas1p13470b85473aa92b25d38fcf4eceea76e References: <20190325071349.22600-1-a.hajda@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 GSCALER should be feed with clock at certain rates. Signed-off-by: Andrzej Hajda --- Already merged !!! --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 6 ++++++ arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index d88e2f0e179a..d2de16645e10 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -289,6 +289,12 @@ assigned-clock-parents = <&cmu_top CLK_ACLK_MFC_400>; }; +&cmu_mif { + assigned-clocks = <&cmu_mif CLK_MOUT_SCLK_DSD_A>, <&cmu_mif CLK_DIV_SCLK_DSD>; + assigned-clock-parents = <&cmu_mif CLK_MOUT_MFC_PLL_DIV2>; + assigned-clock-rates = <0>, <333000000>; +}; + &cmu_mscl { assigned-clocks = <&cmu_mscl CLK_MOUT_ACLK_MSCL_400_USER>, <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>, diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index 3d7e0a782243..dda5d2746a74 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -33,7 +33,8 @@ <&cmu_disp CLK_MOUT_DISP_PLL>, <&cmu_mif CLK_MOUT_SCLK_DECON_TV_ECLK_A>, <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK_USER>, - <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK>; + <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK>, + <&cmu_disp CLK_MOUT_SCLK_DSD_USER>; assigned-clock-parents = <0>, <0>, <&cmu_mif CLK_ACLK_DISP_333>, <&cmu_mif CLK_SCLK_DSIM0_DISP>, @@ -45,7 +46,8 @@ <&cmu_disp CLK_FOUT_DISP_PLL>, <&cmu_mif CLK_MOUT_BUS_PLL_DIV2>, <&cmu_mif CLK_SCLK_DECON_TV_ECLK_DISP>, - <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK_USER>; + <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK_USER>, + <&cmu_mif CLK_SCLK_DSD_DISP>; assigned-clock-rates = <250000000>, <400000000>; };