From patchwork Wed Mar 20 13:07:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10861589 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 15BEC15AC for ; Wed, 20 Mar 2019 13:07:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFBE429928 for ; Wed, 20 Mar 2019 13:07:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EDBC029BE6; Wed, 20 Mar 2019 13:07:22 +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 921CB29928 for ; Wed, 20 Mar 2019 13:07:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727755AbfCTNHW (ORCPT ); Wed, 20 Mar 2019 09:07:22 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:55162 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727591AbfCTNHV (ORCPT ); Wed, 20 Mar 2019 09:07:21 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190320130720euoutp012f350a9f614baab49fb757cad28f8167~NrJ3VwpaZ0130601306euoutp01K; Wed, 20 Mar 2019 13:07:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190320130720euoutp012f350a9f614baab49fb757cad28f8167~NrJ3VwpaZ0130601306euoutp01K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553087240; bh=MvYayiMYt6F6XRoiQC5WSr1zewpSpCqunKSj+HsBjkU=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=qDwdVFSwJ0xNF/eZ6O80sxV1dFSUcrAoqdS8AFAOPE9sfAIlEOfNwKR+lBWXL8Yv7 UFwfbRLuYWmt+pd3QYGSwUINsx6iq9erK4+uFDTDDF87NDVuWsdVutkkDPe96QA7Lk ez9M1guD5aS0ep4aVtTd2hLjNoqOGS5Gh4lyUmKQ= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190320130720eucas1p249c98ee69e7522ec4d3da185cd7add79~NrJ2_Z5Bb1665816658eucas1p2Y; Wed, 20 Mar 2019 13:07:20 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 00.A1.04294.70B329C5; Wed, 20 Mar 2019 13:07:19 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190320130719eucas1p274be59cfcd798d21ea583bc22f218ff7~NrJ2aNeAa1665816658eucas1p2V; Wed, 20 Mar 2019 13:07:19 +0000 (GMT) X-AuditID: cbfec7f4-c77a99c0000010c6-c6-5c923b077225 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 09.AF.04284.70B329C5; Wed, 20 Mar 2019 13:07:19 +0000 (GMT) Received: from AMDC3748.DIGITAL.local ([106.120.43.17]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0POO004P71RZN460@eusync1.samsung.com>; Wed, 20 Mar 2019 13:07:19 +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 v2 RESEND 18/24] arm64: dts: exynos: configure GSCALER related clocks Date: Wed, 20 Mar 2019 14:07:01 +0100 Message-id: <20190320130707.25161-19-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20190320130707.25161-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsWy7djP87rs1pNiDPYvMLC4te4cq8XGGetZ La58fc9mMen+BBaL8+c3sFvMOL+PyWLtkbvsDuwem1Z1snnc7z7O5NG3ZRWjx+dNcgEsUVw2 Kak5mWWpRfp2CVwZE953MxV85K9Yu30TawPjYd4uRg4OCQETia/3yroYuTiEBFYwSlx/1MgK 4XxmlDj78T5jFyMnWNHpDS8ZIRLLGCW6ry6Gcv4zSjx9vp8NpIpNQFPi7+abYLaIgLLEqn3t 7CBFzAK/GSWmL9/GDpIQFgiXWHz/AVgRi4CqRNel72AreAUsJTa3P2WHWCcvsXrDAWYQmxMo /nDOf7BBEgJ/WSXe3H3MDHG4i8SXTkmIehmJzo6DTBB2vcT9FS3MEPUdjBJbN+xkhkhYSxw+ fpEVxGYW4JOYtG061BxeiY42IYgSD4nVv46xQXzWA/T/rvfMExglFjAyrGIUTy0tzk1PLTbK Sy3XK07MLS7NS9dLzs/dxAiMr9P/jn/ZwbjrT9IhRgEORiUe3gvPJ8QIsSaWFVfmHmKU4GBW EuGNUJoUI8SbklhZlVqUH19UmpNafIhRmoNFSZy3muFBtJBAemJJanZqakFqEUyWiYNTqoEx bZ1L3tlrn16s2/Lpo6Lby1P8wdtzuiTv+G+b//M98/e1phdN+N6znihaXPeis7E53cMsWSbz QNQjhZsSqhavrCViEy7cybA0O/RsgrDVVJMpsdELtEOSbzA2J21aF/eU/dIsjwk8q9553H0Y kDT98J+ChOlFtUzzKnXaVafztjxZ/rt6WspSJZbijERDLeai4kQAzF31R6sCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmluLIzCtJLcpLzFFi42I5/e/4ZV1260kxBou+iFncWneO1WLjjPWs Fle+vmezmHR/AovF+fMb2C1mnN/HZLH2yF12B3aPTas62Tzudx9n8ujbsorR4/MmuQCWKC6b lNSczLLUIn27BK6MCe+7mQo+8les3b6JtYHxMG8XIyeHhICJxOkNLxm7GLk4hASWMEqc3f4L ymlkkljTNY8ZpIpNQFPi7+abbCC2iICyxKp97ewgRcwCvxklPs/4ClYkLBAucXrZSzCbRUBV ouvSd0YQm1fAUmJz+1N2iHXyEqs3HACr4QSKP5zzHywuJGAhsfjEXcYJjDwLGBlWMYqklhbn pucWG+oVJ+YWl+al6yXn525iBAbNtmM/N+9gvLQx+BCjAAejEg9vxdMJMUKsiWXFlbmHGCU4 mJVEeCOUJsUI8aYkVlalFuXHF5XmpBYfYpTmYFES5z1vUBklJJCeWJKanZpakFoEk2Xi4JRq YEx9LGeyzHJ3vEOdQnjIFGf+NXELjY9/mVNscHaG7nFjlcIHv9Zal4stPBa2dVt64c2D+2Lf TOf75TDR5lBXQ/fqsk2frVU6jyys4zpTtJf9o73wmquBZ5iyKw0dLgmpc61T/mo5a0rcTf1J X/j3My3hfxj8/KGtQbnVv2nRv5fPY6ybMHlJsbISS3FGoqEWc1FxIgBg8c6LFgIAAA== X-CMS-MailID: 20190320130719eucas1p274be59cfcd798d21ea583bc22f218ff7 CMS-TYPE: 201P X-CMS-RootMailID: 20190320130719eucas1p274be59cfcd798d21ea583bc22f218ff7 References: <20190320130707.25161-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 --- 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>; };