From patchwork Tue Jan 22 09:02:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10775101 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 D69011850 for ; Tue, 22 Jan 2019 09:02:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C70262A68C for ; Tue, 22 Jan 2019 09:02:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B2CAE2A6D5; Tue, 22 Jan 2019 09:02:55 +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 419D72A68C for ; Tue, 22 Jan 2019 09:02:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727636AbfAVJCy (ORCPT ); Tue, 22 Jan 2019 04:02:54 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:46975 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727364AbfAVJCx (ORCPT ); Tue, 22 Jan 2019 04:02:53 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190122090251euoutp019288eb8c54d7d0e192b27927205da71c~8IDIflJMI2247722477euoutp01H for ; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190122090251euoutp019288eb8c54d7d0e192b27927205da71c~8IDIflJMI2247722477euoutp01H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548147771; bh=JgyOErs3JfFd3HuYd2x+7ig5y2VM6o2o6Yl3w/nw3K8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=touYII18AXS55WNM15PiNPXK9zip842AC3U5BJ1utC2EAn1aGMurJ/hSk8Asb1faK H9x9xwpVkdQgsxaIqgLVqIeHctrp4iZS9sXKPnCrH+phT0yjeXA89cofwAnfJjTRp+ gCj2PuM4c9Epw4vrhcN1fRlS0hzpjFCrG9zsSBb4= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190122090250eucas1p18679703326241dd1cca79c81ef928860~8IDH3OMty1184611846eucas1p1r; Tue, 22 Jan 2019 09:02:50 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 04.86.04806.A3CD64C5; Tue, 22 Jan 2019 09:02:50 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190122090249eucas1p161cfc1364fb8ee76d2d04383935e8f3b~8IDG-ieCZ0649206492eucas1p1D; Tue, 22 Jan 2019 09:02:49 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190122090249eusmtrp199350fc6ea7e609564e7d615ad3d7eef~8IDGwP_s52578625786eusmtrp1m; Tue, 22 Jan 2019 09:02:49 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-07-5c46dc3ab70f Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 3B.E2.04284.93CD64C5; Tue, 22 Jan 2019 09:02:49 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190122090249eusmtip14f6ab9041101538e994b07c4db88537d~8IDGIL_Bw2863128631eusmtip1r; Tue, 22 Jan 2019 09:02:48 +0000 (GMT) From: Kamil Konieczny To: k.konieczny@partner.samsung.com, linux-samsung-soc@vger.kernel.org Cc: linux-clk@vger.kernel.org, Chanwoo Choi , devicetree@vger.kernel.org, Krzysztof Kozlowski , Kukjin Kim , Mark Rutland , Rob Herring , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Marek Szyprowski , stable@vger.kernel.org Subject: [PATCH v5 1/5] clk: samsung: exynos5433: fix typo in imem divider Date: Tue, 22 Jan 2019 10:02:28 +0100 Message-Id: <20190122090232.29194-2-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190122090232.29194-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTYRjG+3Z2ds6Gk89p+KZRNDHJ8NaFThZRojIMSvonKEFXHlScFzav SShYTmeZecumqShemPN+ycoGTnGUokw0pbJSy/JSEGplVOY8Wv73vM/7/L73feGjCUk36UBH RMexymi5QioQ8Tv7V4fcvF/7B3l2zjozLcVNJDO+/JFkyvuGSCbHsIaYOzMLBDM83EwxX2+9 IZniYQOPaeibpJjqcTOPufm0j2J6F9UkU9EyjU6LZfoyPZK16rIEsp4v3TxZTrsOyZZa9wSS l0QnQ1lFRAKr9DgVIgqvnskjYk3CpM6qfioN6WgNEtKAj0DbqyaBBoloCa5D0DiZjbhiGcFU 23eKK5YQLH/T8raQBX39JlKLoDK3mPqHNMyZCUtKgI/B9MPBDcIO+0NOfskGQeAyAp6vFpCW hi0OgJZHaeshmuZjZxhbOWiRYuwLhWpnbtheKKrXbDwjxH6gne8SWLQY28Cz++/5Fk2sZ9I7 SgjL84CNFFSV91Ic7AsV7S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fmHmKU4GBWEuF1vegWI8SbklhZlVqUH19UmpNafIjRFOiFicxSosn5wFjPK4k3NDU0t7A0 NDc2NzazUBLnPW9QGSUkkJ5YkpqdmlqQWgTTx8TBKdXAmHx4yYL5qgpprRGL/jEeWrDsaMIe Fu0PXje2HOvtVGet2Ld/lnu27dFr28wacrbks4ucPvk9u/Z50Wbr2FXPb04RnLRt+9t91w2u VIgffugzRb5x89VN6b5ZZTmOFrOP/Xuvtj16uY7a4aOcr5bcZL+3/exGV27zyzmi33e+bitI 6Q4t++8fbKbEUpyRaKjFXFScCADh+9LOvQIAAA== X-CMS-MailID: 20190122090249eucas1p161cfc1364fb8ee76d2d04383935e8f3b X-Msg-Generator: CA X-RootMTR: 20190122090249eucas1p161cfc1364fb8ee76d2d04383935e8f3b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190122090249eucas1p161cfc1364fb8ee76d2d04383935e8f3b References: <20190122090232.29194-1-k.konieczny@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 Fix typo in imem clock divider 200 switched with 266. Reviewed-by: Chanwoo Choi Signed-off-by: Kamil Konieczny --- drivers/clk/samsung/clk-exynos5433.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index 751e2c4fb65b..ea47f49abc7f 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -568,10 +568,10 @@ static const struct samsung_gate_clock top_gate_clks[] __initconst = { GATE(CLK_ACLK_BUS1_400, "aclk_bus1_400", "div_aclk_bus1_400", ENABLE_ACLK_TOP, 25, CLK_IS_CRITICAL | CLK_SET_RATE_PARENT, 0), - GATE(CLK_ACLK_IMEM_200, "aclk_imem_200", "div_aclk_imem_266", + GATE(CLK_ACLK_IMEM_200, "aclk_imem_200", "div_aclk_imem_200", ENABLE_ACLK_TOP, 24, CLK_IS_CRITICAL | CLK_SET_RATE_PARENT, 0), - GATE(CLK_ACLK_IMEM_266, "aclk_imem_266", "div_aclk_imem_200", + GATE(CLK_ACLK_IMEM_266, "aclk_imem_266", "div_aclk_imem_266", ENABLE_ACLK_TOP, 23, CLK_IGNORE_UNUSED | CLK_SET_RATE_PARENT, 0), GATE(CLK_ACLK_PERIC_66, "aclk_peric_66", "div_aclk_peric_66_b", From patchwork Tue Jan 22 09:02:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10775103 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 F31FE91E for ; Tue, 22 Jan 2019 09:02:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFB152A69D for ; Tue, 22 Jan 2019 09:02:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD8992A68C; Tue, 22 Jan 2019 09:02:55 +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 8F4292A69D for ; Tue, 22 Jan 2019 09:02:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727580AbfAVJCz (ORCPT ); Tue, 22 Jan 2019 04:02:55 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:51422 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727585AbfAVJCy (ORCPT ); Tue, 22 Jan 2019 04:02:54 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190122090252euoutp02dabf5c536fbe19dd9573903f580fe678~8IDJJ8JYC0949709497euoutp02z for ; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190122090252euoutp02dabf5c536fbe19dd9573903f580fe678~8IDJJ8JYC0949709497euoutp02z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548147772; bh=v259pxNOA+ldScCU2PS9WMmlIqLRFNp7CjAhA2pWsL8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D/DtEGSUVD5xxowcC2+tYYk/cuJ+xFJ7aXJP9nF+DotqWIyFAGk1DKbu9nZQGzjq7 V/lvOGRXFa+iMGNzBi++ebWbMzcuP2XvIy+5on9L5lz5cwIR6pJBQZ/u9TRvT3SsDZ etPLVvMvE0GLuvJZhSYvW20cV7QmzvsR1uacDPOk= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190122090251eucas1p25a19f8122d0a0be28a4e76ef83d55c70~8IDIV6TW-2898828988eucas1p2e; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id E0.ED.04294.B3CD64C5; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190122090250eucas1p246a6a567d77d075716fc9f257f72a26e~8IDHrG7tp2673626736eucas1p2s; Tue, 22 Jan 2019 09:02:50 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190122090250eusmtrp1e19f15a07961e0e64815740fb04ec8e2~8IDHcDh6J2578625786eusmtrp1p; Tue, 22 Jan 2019 09:02:50 +0000 (GMT) X-AuditID: cbfec7f4-c77a99c0000010c6-55-5c46dc3b4bfd Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id DD.F8.04128.A3CD64C5; Tue, 22 Jan 2019 09:02:50 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190122090249eusmtip1041f872098925df48426c86e9b684ee2~8IDGrw03j2866828668eusmtip1u; Tue, 22 Jan 2019 09:02:49 +0000 (GMT) From: Kamil Konieczny To: k.konieczny@partner.samsung.com, linux-samsung-soc@vger.kernel.org Cc: linux-clk@vger.kernel.org, Chanwoo Choi , devicetree@vger.kernel.org, Krzysztof Kozlowski , Kukjin Kim , Mark Rutland , Rob Herring , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Rob Herring Subject: [PATCH v5 2/5] clk: samsung: exynos5433: fix name typo in sssx Date: Tue, 22 Jan 2019 10:02:29 +0100 Message-Id: <20190122090232.29194-3-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190122090232.29194-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRj229nZOQ5nx2n4plY0E0xSu0GHlEjQtaLAP/4olVx6UMmpbV6y EITUdMx5i6aT1DQxvCfqxCvqaoTaEolVaFiKwlIpXYSXWm5Hy3/P+1y+93nhIzHhIO5BJian MfJkaZKIx+f2vN4w+gfNiKNOLc8R9MuKdpw2WZZwukb/FqfVQ1ZEF89/w2ijsYOgf6g+43SF cYhDt+pnCbr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dzFycQgJLGWU2Nb8gQkiIS3ReHo1lC0s8edaFxtE0SdGifnrbrCDJNgEzCUebT8D ViQi4CExY+JiVpAiZoH1zBJ3u5oYQRLCAu4S2y8/B0pwcLAIqEoc3GAFEuYVcJG4erCTBWKB vMS01V1gczgFXCVmvdrBBmILgdR0XmaFqBeUODnzCVg9M1B989bZzBMYBWYhSc1CklrAyLSK USS1tDg3PbfYSK84Mbe4NC9dLzk/dxMjMKK2Hfu5ZQdj17vgQ4wCHIxKPLwJF1xjhFgTy4or cw8xSnAwK4nwul50ixHiTUmsrEotyo8vKs1JLT7EaAr0w0RmKdHkfGC055XEG5oamltYGpob mxubWSiJ8543qIwSEkhPLEnNTk0tSC2C6WPi4JRqYPSWWxV4uC/gjfuMVQI682cc1Tn0JOQC 87d112ctF/HgExfdz1y4QPB3W8lTdzPJTUwvPu16r6Aoceqah6VP23Z2o3uP401fK2e3xhjq HPST3cS5k3fP9XAhi192LiuviTYVOng1si4zkDn3WdzgXe8aQb1VEYtW5ym9tHM0K7xstPa5 c6e2pRJLcUaioRZzUXEiAI6iX6m+AgAA X-CMS-MailID: 20190122090250eucas1p246a6a567d77d075716fc9f257f72a26e X-Msg-Generator: CA X-RootMTR: 20190122090250eucas1p246a6a567d77d075716fc9f257f72a26e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190122090250eucas1p246a6a567d77d075716fc9f257f72a26e References: <20190122090232.29194-1-k.konieczny@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 Fix typo in sssx name, there should be three letters 's'. Acked-by: Rob Herring Reviewed-by: Chanwoo Choi Signed-off-by: Kamil Konieczny --- drivers/clk/samsung/clk-exynos5433.c | 2 +- include/dt-bindings/clock/exynos5433.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index ea47f49abc7f..24c3360db65b 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -559,7 +559,7 @@ static const struct samsung_gate_clock top_gate_clks[] __initconst = { /* ENABLE_ACLK_TOP */ GATE(CLK_ACLK_G3D_400, "aclk_g3d_400", "div_aclk_g3d_400", ENABLE_ACLK_TOP, 30, CLK_IS_CRITICAL, 0), - GATE(CLK_ACLK_IMEM_SSX_266, "aclk_imem_ssx_266", + GATE(CLK_ACLK_IMEM_SSSX_266, "aclk_imem_sssx_266", "div_aclk_imem_sssx_266", ENABLE_ACLK_TOP, 29, CLK_IGNORE_UNUSED, 0), GATE(CLK_ACLK_BUS0_400, "aclk_bus0_400", "div_aclk_bus0_400", diff --git a/include/dt-bindings/clock/exynos5433.h b/include/dt-bindings/clock/exynos5433.h index 98bd85ce1e45..87bb2b017143 100644 --- a/include/dt-bindings/clock/exynos5433.h +++ b/include/dt-bindings/clock/exynos5433.h @@ -156,7 +156,7 @@ #define CLK_ACLK_G2D_266 220 #define CLK_ACLK_G2D_400 221 #define CLK_ACLK_G3D_400 222 -#define CLK_ACLK_IMEM_SSX_266 223 +#define CLK_ACLK_IMEM_SSSX_266 223 #define CLK_ACLK_BUS0_400 224 #define CLK_ACLK_BUS1_400 225 #define CLK_ACLK_IMEM_200 226 From patchwork Tue Jan 22 09:02:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10775121 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 002466C2 for ; Tue, 22 Jan 2019 09:03:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E57F22A68C for ; Tue, 22 Jan 2019 09:03:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D98922A6C7; Tue, 22 Jan 2019 09:03: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 7D2732A68C for ; Tue, 22 Jan 2019 09:03:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727336AbfAVJDD (ORCPT ); Tue, 22 Jan 2019 04:03:03 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:46995 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727299AbfAVJCx (ORCPT ); Tue, 22 Jan 2019 04:02:53 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190122090252euoutp014dd968c848390bf0b913c8d41db5dee7~8IDJqGnXt2247722477euoutp01L for ; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190122090252euoutp014dd968c848390bf0b913c8d41db5dee7~8IDJqGnXt2247722477euoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548147772; bh=4Emby0cxzZ3GtnFFpd2my2pacgDv3hyDGGWWlsK1BYQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fVgdAh/bAueR0NtBPiKqTAxNNofkYOv8os4LRVJxh/w6SGkI441u7xcMIfIyLAOSY 6T1YO5dMrQOWkP7CBYq0ZgIoYfthoZUSl7KG3ULLplu7BZNU/qRg+nmZlxdJTtuUiM M0MY5JV3H1jTQVG9lj4bSGTTS2h+rS7U0jy/gCBw= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190122090252eucas1p152d98a549c132dcdeceec9ab837c0f26~8IDI-s38k2542325423eucas1p1f; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 03.ED.04294.B3CD64C5; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190122090251eucas1p2db2f383c0b8b4034f66b6a82b0a22d67~8IDIQgcno2908029080eucas1p2j; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190122090251eusmtrp1604fd8615ffd46884b365fc3ded392f1~8IDIBpIqr2578625786eusmtrp1s; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) X-AuditID: cbfec7f4-c77a99c0000010c6-5b-5c46dc3b3f80 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 7D.E2.04284.A3CD64C5; Tue, 22 Jan 2019 09:02:50 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190122090250eusmtip1913c40601868a208a702f74fb240ecb2~8IDHPUyss2864328643eusmtip1M; Tue, 22 Jan 2019 09:02:50 +0000 (GMT) From: Kamil Konieczny To: k.konieczny@partner.samsung.com, linux-samsung-soc@vger.kernel.org Cc: linux-clk@vger.kernel.org, Chanwoo Choi , devicetree@vger.kernel.org, Krzysztof Kozlowski , Kukjin Kim , Mark Rutland , Rob Herring , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Rob Herring , Stephen Boyd Subject: [PATCH v5 3/5] dt-bindings: clk: exynos5433: document imem clock Date: Tue, 22 Jan 2019 10:02:30 +0100 Message-Id: <20190122090232.29194-4-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190122090232.29194-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMKsWRmVeSWpSXmKPExsWy7djPc7rWd9xiDJYtNrbYOGM9q8X1L89Z LeYfOcdq0bfvP6NF/+PXzBbnz29gt/jYc4/VYsb5fUwWa4/cZbdYev0ik0Xr3iPsFv/37GC3 OPymndXi37WNLA58HmvmrWH02LSqk83j4Ls9TB59W1YxenzeJBfAGsVlk5Kak1mWWqRvl8CV sbJnAXvBKsGKd0c3szcwLufrYuTkkBAwkTj+bQtzFyMXh5DACkaJBRs3skI4XxglVnzdwQjh fGaU+H36EyNMy7Z9H6ASyxklOh40McO1nO7sYQGpYhMwl3i0/QwTiC0i4CbRN3k2G0gRs8AJ ZomvDfNZQRLCAp4Smx60M4PYLAKqEkd3TgFr5hVwkfgy8RIrxDp5iWmru8AGcQq4Ssx6tYMN okZQ4uTMJ2D1zEA1zVtng10hIXCMXeLc6w8sEM0uEhcnvWGDsIUlXh3fwg5hy0icntwDVVMu sXvrM3aI5hZGibmTFzFBJKwlDh+/CHQFB9AGTYn1u/Qhwo4S/Yd3goUlBPgkbrwVhLiBT2LS tunMEGFeiY42IYhqXYl5/89AvSIt0fV/HZTtIXHq9j7mCYyKs5B8MwvJN7MQ9i5gZF7FKJ5a WpybnlpslJdarlecmFtcmpeul5yfu4kRmLRO/zv+ZQfjrj9JhxgFOBiVeHgTLrjGCLEmlhVX 5h5ilOBgVhLhdb3oFiPEm5JYWZValB9fVJqTWnyIUZqDRUmct5rhQbSQQHpiSWp2ampBahFM lomDU6qBsWynS/6Cw0fvmN42MzYoPs27Rehswup43xM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INNRiLipOBADgt3WtxAIAAA== X-CMS-MailID: 20190122090251eucas1p2db2f383c0b8b4034f66b6a82b0a22d67 X-Msg-Generator: CA X-RootMTR: 20190122090251eucas1p2db2f383c0b8b4034f66b6a82b0a22d67 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190122090251eucas1p2db2f383c0b8b4034f66b6a82b0a22d67 References: <20190122090232.29194-1-k.konieczny@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 Document DT bindings for imem clock of the Samsung Exynos5433 SSS (Security SubSystem) and SlimSSS IPs. Acked-by: Chanwoo Choi Reviewed-by: Rob Herring Acked-by: Stephen Boyd Signed-off-by: Kamil Konieczny --- .../bindings/clock/exynos5433-clock.txt | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/exynos5433-clock.txt b/Documentation/devicetree/bindings/clock/exynos5433-clock.txt index 50d5897c9849..183c327a7d6b 100644 --- a/Documentation/devicetree/bindings/clock/exynos5433-clock.txt +++ b/Documentation/devicetree/bindings/clock/exynos5433-clock.txt @@ -50,6 +50,8 @@ Required Properties: IPs. - "samsung,exynos5433-cmu-cam1" - clock controller compatible for CMU_CAM1 which generates clocks for Cortex-A5/MIPI_CSIS2/FIMC-LITE_C/FIMC-FD IPs. + - "samsung,exynos5433-cmu-imem" - clock controller compatible for CMU_IMEM + which generates clocks for SSS (Security SubSystem) and SlimSSS IPs. - reg: physical base address of the controller and length of memory mapped region. @@ -168,6 +170,12 @@ Required Properties: - aclk_cam1_400 - aclk_cam1_552 + Input clocks for imem clock controller: + - oscclk + - aclk_imem_sssx_266 + - aclk_imem_266 + - aclk_imem_200 + Optional properties: - power-domains: a phandle to respective power domain node as described by generic PM domain bindings (see power/power_domain.txt for more @@ -469,6 +477,21 @@ Example 2: Examples of clock controller nodes are listed below. power-domains = <&pd_cam1>; }; + cmu_imem: clock-controller@11060000 { + compatible = "samsung,exynos5433-cmu-imem"; + reg = <0x11060000 0x1000>; + #clock-cells = <1>; + + clock-names = "oscclk", + "aclk_imem_sssx_266", + "aclk_imem_266", + "aclk_imem_200"; + clocks = <&xxti>, + <&cmu_top CLK_DIV_ACLK_IMEM_SSSX_266>, + <&cmu_top CLK_DIV_ACLK_IMEM_266>, + <&cmu_top CLK_DIV_ACLK_IMEM_200>; + }; + Example 3: UART controller node that consumes the clock generated by the clock controller. From patchwork Tue Jan 22 09:02:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10775117 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 B0BFD91E for ; Tue, 22 Jan 2019 09:03:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A31912A68C for ; Tue, 22 Jan 2019 09:03:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9767D2A6D5; Tue, 22 Jan 2019 09:03: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=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 4F9D82A68C for ; Tue, 22 Jan 2019 09:03:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727607AbfAVJDC (ORCPT ); Tue, 22 Jan 2019 04:03:02 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:46999 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727336AbfAVJCy (ORCPT ); Tue, 22 Jan 2019 04:02:54 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190122090253euoutp01fb50214c10c7370ae9d9658345c042d2~8IDJ6QaZa2247922479euoutp01L for ; Tue, 22 Jan 2019 09:02:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190122090253euoutp01fb50214c10c7370ae9d9658345c042d2~8IDJ6QaZa2247922479euoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548147773; bh=taqJU5yfA72AunT1wQhqYaFYAc2L/FzbtvaSd6TSsA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kttGpDTdgqtlMHzAYffgxpFXzxyPFFychfh0jtj3Fu6glsEiYrhVJIXzIgR2/+PYC mcICD8HDyprxaJRLL8LDLbYub0vOkoVfRMBGdT0PPZlF3RgdjqAvJJxLRU3o3dBQdI 4WXlnxDzI5MTpNVa16WCqQIYHeCE7iX+18snReug= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190122090252eucas1p20c926dc725a3d4347738b2f7ad8994d6~8IDJfv2Oh2673626736eucas1p2v; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id F3.ED.04294.C3CD64C5; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190122090251eucas1p122f1c6d47f3cb60febeadda88ada3a76~8IDIo1MqP2542325423eucas1p1e; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190122090251eusmtrp2494296d5e40fc57c6819f763f211be99~8IDIZ7dHY2967329673eusmtrp2E; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-5d-5c46dc3c0722 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id AF.F8.04128.B3CD64C5; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190122090250eusmtip138baaa92b8bab6337c33f7aca5154f52~8IDH02z1e2589425894eusmtip1O; Tue, 22 Jan 2019 09:02:50 +0000 (GMT) From: Kamil Konieczny To: k.konieczny@partner.samsung.com, linux-samsung-soc@vger.kernel.org Cc: linux-clk@vger.kernel.org, Chanwoo Choi , devicetree@vger.kernel.org, Krzysztof Kozlowski , Kukjin Kim , Mark Rutland , Rob Herring , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Marek Szyprowski Subject: [PATCH v5 4/5] dt-bindings: clk: exynos5433: add imem clock Date: Tue, 22 Jan 2019 10:02:31 +0100 Message-Id: <20190122090232.29194-5-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190122090232.29194-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBKsWRmVeSWpSXmKPExsWy7djP87o2d9xiDFq/ilpsnLGe1eL6l+es FvOPnGO16Nv3n9Gi//FrZovz5zewW3zsucdqMeP8PiaLtUfuslssvX6RyaJ17xF2i8Nv2lkd eDzWzFvD6LFpVSebx8F3e5g8+rasYvT4vEkugDWKyyYlNSezLLVI3y6BK+NY6xb2gpOsFXv/ 5zcw3mLpYuTkkBAwkZh/4zNjFyM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aT69mgrCFJf5c62KDKPrEKHHj1mmwbjYBc4lH28+AFYkIeEjM mLgYbBKzQB+zxOeD59lBEsICLhLP5p8As1kEVCV2PnrACGLzAsUXvr0CtUFeYtrqLjCbU8BV YtarHWwgthBQzdXOy6wQ9YISJ2c+AVvMDFTfvHU28wRGgVlIUrOQpBYwMq1iFEktLc5Nzy02 0itOzC0uzUvXS87P3cQIjKNtx35u2cHY9S74EKMAB6MSD2/CBdcYIdbEsuLK3EOMEhzMSiK8 rhfdYoR4UxIrq1KL8uOLSnNSiw8xmgI9MZFZSjQ5HxjjeSXxhqaG5haWhubG5sZmFkrivOcN KqOEBNITS1KzU1MLUotg+pg4OKUaGI9dLt4nLX6fxZs3wozv9/67Aim+U17szu1e/EK4/335 uQD+F3FyyR3H7DMrxCvPmdfedv06627N8Tz32Mbk35IpG/iWFbGYyrwUWX43KOaFwKrLgsov q1VS/HOVuCa82pFtdyq6parlao7swpLpe7puPv07f83FO5IOEc4HI5LybnN/1u9ep8RSnJFo qMVcVJwIAJnnbo65AgAA X-CMS-MailID: 20190122090251eucas1p122f1c6d47f3cb60febeadda88ada3a76 X-Msg-Generator: CA X-RootMTR: 20190122090251eucas1p122f1c6d47f3cb60febeadda88ada3a76 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190122090251eucas1p122f1c6d47f3cb60febeadda88ada3a76 References: <20190122090232.29194-1-k.konieczny@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 Exynos5433 DT bindings to describe imem clocks for SlimSSS (Slim Security SubSystem). Signed-off-by: Kamil Konieczny Reviewed-by: Rob Herring --- include/dt-bindings/clock/exynos5433.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/dt-bindings/clock/exynos5433.h b/include/dt-bindings/clock/exynos5433.h index 87bb2b017143..52652aaabc06 100644 --- a/include/dt-bindings/clock/exynos5433.h +++ b/include/dt-bindings/clock/exynos5433.h @@ -1406,4 +1406,10 @@ #define CAM1_NR_CLK 113 +/* CMU_IMEM */ +#define CLK_ACLK_SLIMSSS 2 +#define CLK_PCLK_SLIMSSS 35 + +#define IMEM_NR_CLK 52 + #endif /* _DT_BINDINGS_CLOCK_EXYNOS5433_H */ From patchwork Tue Jan 22 09:02:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10775115 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 1E938139A for ; Tue, 22 Jan 2019 09:03:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EA7F2A6AB for ; Tue, 22 Jan 2019 09:03:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 034412A6D5; Tue, 22 Jan 2019 09:03: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 9336A2A6C7 for ; Tue, 22 Jan 2019 09:03:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727622AbfAVJDB (ORCPT ); Tue, 22 Jan 2019 04:03:01 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:47023 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727641AbfAVJCz (ORCPT ); Tue, 22 Jan 2019 04:02:55 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190122090253euoutp01959a13327d42bf7c1ac5afeb481efb38~8IDKw_3Er2187721877euoutp01V for ; Tue, 22 Jan 2019 09:02:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190122090253euoutp01959a13327d42bf7c1ac5afeb481efb38~8IDKw_3Er2187721877euoutp01V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548147774; bh=Q/4f3YtlujODsfOS+QnEIqs7vj836/eeMsIngMZkX1U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lK+xZFFXNjnQStJC/3L/fmlDI3YHhvjItko0UNOAEwN9bjICYS2xs90H5XG3DGZUw Mp+82K8LI1yRnuYPUO8DpGO90eKLKTnZ2qDDPYeEIcqVMc8h+KZIrI/DM1i8XnXaO0 cAo+nA1oG28iFtkbhD+NXoePmm2lJ0AbkkdT6svY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190122090253eucas1p27c9be6de97a0a1ee4b8ed944678cbaad~8IDJ82nuR2904029040eucas1p2e; Tue, 22 Jan 2019 09:02:53 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 65.ED.04294.C3CD64C5; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190122090252eucas1p2dee91ee12355eca7f79f29f945f0346d~8IDJOaAOw1350713507eucas1p2T; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190122090252eusmtrp1b52380bf1136b25cbb38e913215fedb1~8IDI-U-g92574925749eusmtrp1g; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) X-AuditID: cbfec7f4-c77a99c0000010c6-60-5c46dc3c16b2 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id DF.E2.04284.B3CD64C5; Tue, 22 Jan 2019 09:02:52 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190122090251eusmtip19fe2a3964cc9720884d063daa9d556d5~8IDIYsknD2863128631eusmtip1v; Tue, 22 Jan 2019 09:02:51 +0000 (GMT) From: Kamil Konieczny To: k.konieczny@partner.samsung.com, linux-samsung-soc@vger.kernel.org Cc: Chanwoo Choi , Rob Herring , Mark Rutland , Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Marek Szyprowski Subject: [PATCH v5 5/5] clk: samsung: exynos5433: add imem clocks Date: Tue, 22 Jan 2019 10:02:32 +0100 Message-Id: <20190122090232.29194-6-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190122090232.29194-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAKsWRmVeSWpSXmKPExsWy7djP87o2d9xiDFY9NbHYOGM9q8X1L89Z LeYfOcdq0bfvP6NF/+PXzBbnz29gt9j0+BqrxeVdc9gsZpzfx2Sx9shddoul1y8yWbTuPcJu cfhNO6sDr8eaeWsYPTat6mTz2Lyk3uPguz1MHn1bVjF6fN4kF8AWxWWTkpqTWZZapG+XwJXx 5/Zq5oKX/BVL3z1hbmDcwNvFyMkhIWAi8bX5MHsXIxeHkMAKRonVz5qhnC+MEk9O3GWFcD4z SnzefZQJpqXxWxcjiC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ApJgEzCX eLT9DFiRiICHxIyJi1lBipgFdjJLLL/dDlYkLOAosXLvO2YQm0VAVeLR/vtgNq+Ai8S82ZvZ ITbIS0xb3QU2iFPAVWLWK4grhIBqrnZeZoWoF5Q4OfMJ2ExmoPrmrbOZJzAKzEKSmoUktYCR aRWjSGppcW56brGhXnFibnFpXrpecn7uJkZgZG079nPzDsZLG4MPMQpwMCrx8HKcc40RYk0s K67MPcQowcGsJMLretEtRog3JbGyKrUoP76oNCe1+BCjKdATE5mlRJPzgVGfVxJvaGpobmFp aG5sbmxmoSTOe96gMkpIID2xJDU7NbUgtQimj4mDU6qB0fbDnckszjMaWk3iz0QGtUvkZPtJ dPq06ZZ+PJZpaMxWYLftoXLcst0ee14f2e2sl5v1UHaPbap2aAzDf7/D7fe2GkwQffyXbyb3 9h9nPS5L6LWaFa/86+F8JLKwuKzIb3bQBxsVw5VlnQlz106bvWv5fo+NE+WC50Wz+grWXpiR I7bpsm6PEktxRqKhFnNRcSIA6M0mUsICAAA= X-CMS-MailID: 20190122090252eucas1p2dee91ee12355eca7f79f29f945f0346d X-Msg-Generator: CA X-RootMTR: 20190122090252eucas1p2dee91ee12355eca7f79f29f945f0346d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190122090252eucas1p2dee91ee12355eca7f79f29f945f0346d References: <20190122090232.29194-1-k.konieczny@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 imem clocks for exynos5433. This will enable to use crypto Slim Security SubSystem (in short SlimSSS) IP block. Acked-by: Chanwoo Choi Signed-off-by: Kamil Konieczny --- drivers/clk/samsung/clk-exynos5433.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index 24c3360db65b..dae1c96de933 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -5467,6 +5467,35 @@ static const struct samsung_cmu_info cam1_cmu_info __initconst = { .clk_name = "aclk_cam1_400", }; +/* + * Register offset definitions for CMU_IMEM + */ +#define ENABLE_ACLK_IMEM_SLIMSSS 0x080c +#define ENABLE_PCLK_IMEM_SLIMSSS 0x0908 + +static const unsigned long imem_clk_regs[] __initconst = { + ENABLE_ACLK_IMEM_SLIMSSS, + ENABLE_PCLK_IMEM_SLIMSSS, +}; + +static const struct samsung_gate_clock imem_gate_clks[] __initconst = { + /* ENABLE_ACLK_IMEM_SLIMSSS */ + GATE(CLK_ACLK_SLIMSSS, "aclk_slimsss", "aclk_imem_sssx_266", + ENABLE_ACLK_IMEM_SLIMSSS, 0, CLK_IGNORE_UNUSED, 0), + + /* ENABLE_PCLK_IMEM_SLIMSSS */ + GATE(CLK_PCLK_SLIMSSS, "pclk_slimsss", "aclk_imem_200", + ENABLE_PCLK_IMEM_SLIMSSS, 0, CLK_IGNORE_UNUSED, 0), +}; + +static const struct samsung_cmu_info imem_cmu_info __initconst = { + .gate_clks = imem_gate_clks, + .nr_gate_clks = ARRAY_SIZE(imem_gate_clks), + .nr_clk_ids = IMEM_NR_CLK, + .clk_regs = imem_clk_regs, + .nr_clk_regs = ARRAY_SIZE(imem_clk_regs), + .clk_name = "aclk_imem_200", +}; struct exynos5433_cmu_data { struct samsung_clk_reg_dump *clk_save; @@ -5654,6 +5683,9 @@ static const struct of_device_id exynos5433_cmu_of_match[] = { }, { .compatible = "samsung,exynos5433-cmu-mscl", .data = &mscl_cmu_info, + }, { + .compatible = "samsung,exynos5433-cmu-imem", + .data = &imem_cmu_info, }, { }, };