From patchwork Fri Jan 18 13:16:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10770037 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 29B2E17FB for ; Fri, 18 Jan 2019 13:17:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17B47296E6 for ; Fri, 18 Jan 2019 13:17:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B6752DF5F; Fri, 18 Jan 2019 13:17: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 AD9DF296E6 for ; Fri, 18 Jan 2019 13:17:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727194AbfARNRP (ORCPT ); Fri, 18 Jan 2019 08:17:15 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60155 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727580AbfARNRO (ORCPT ); Fri, 18 Jan 2019 08:17:14 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190118131713euoutp013031e6e9bc95d11988c7ba86287a9088~688E6b0b01815518155euoutp010 for ; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190118131713euoutp013031e6e9bc95d11988c7ba86287a9088~688E6b0b01815518155euoutp010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547817433; bh=JgyOErs3JfFd3HuYd2x+7ig5y2VM6o2o6Yl3w/nw3K8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NuXlAswgvnqCy6e2zB8PhS+Vg+DsjynEEW/9NWiZJRJfS36leKtni3jdYPrfUEuZA XjY1sfRXYK9xIQYxWN3E7TcROVk9dQyBIbY5veYg95+dLWmcTj0XgL2O0f1rE30cpd zaOWIwU40vs8lElbzrEjVj0d4zZf+LJp/aPTL42s= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190118131712eucas1p16959f3ac5a92bfff5b8ec84c06b18850~688EIG3Rt1550115501eucas1p1n; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id F9.C4.04294.7D1D14C5; Fri, 18 Jan 2019 13:17:11 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190118131711eucas1p190e9b63ac047566ba84fb4f8749aceee~688DRoEY01549215492eucas1p12; Fri, 18 Jan 2019 13:17:11 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190118131711eusmtrp13fa11c592c44c280078870061701de04~688DBuwhb1588415884eusmtrp1I; Fri, 18 Jan 2019 13:17:11 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-b6-5c41d1d71306 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 9C.0F.04284.7D1D14C5; Fri, 18 Jan 2019 13:17:11 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190118131710eusmtip1d16262442d197a3e95c8eb4653b31e86~688CdHenS2115721157eusmtip1S; Fri, 18 Jan 2019 13:17:10 +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 v4 1/5] clk: samsung: exynos5433: fix typo in imem divider Date: Fri, 18 Jan 2019 14:16:35 +0100 Message-Id: <20190118131639.17578-2-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118131639.17578-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRjuO2dn5zicHKfgm1bSwB8FXik6YJSCxrphQRCZZEsPU3LTdrzk JVilZsO8ptlEs8JLczonamY2SMWls3n5o4mGqGWsDE1/JIjmPIb+e97n8j3vCx+FS7oJType lcyqVfIEqVAk6Ohfs/lOjIZGBZxnTBVGghlfXSCYF302gikwbyKmcO4nzgwPt5DMcv5XgqkY NmNMU980ydSOj2JMzoc+kun99YhgakyzKEQsM1QbkKxV/1go+/i7G5MVtOmRbKX10CUiUnQy lk2IT2XV/qduiuJq50rwJIvT3Y7X/aQG6SktcqKAPgYa8wKmRSJKQjcgePMtX8APqwjKqyxC flhBYDDr0P+I1WzcEeoRFE6P7EbmjQukwyWkT8Ds2yHMgd3pM1BQWrmdwOlqHAbXnhIOwY0+ B5/GXuIOLKB9YGZsbLtCTIdBWdM0ztd5Q3mjdvshJzocqpsbCN7jCgPP5wUOjG95HrZX4o4C oHtI2FhsJ/lwGGTfHxHy2A3slrY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KD++qDQntfgQoynQExOZpUST84HRnlcSb2hqaG5h aWhubG5sZqEkznveoDJKSCA9sSQ1OzW1ILUIpo+Jg1OqgZHpp9NGFk9RnRctQg4TJy9vfipc xcL5J9kkSaiEeeeilx9KXzZXf3r/L7/swIOk3cfU2KMfPhJ+4f+J60NNp+PH701iO71VZ7n5 CyxnWnjZy1ThoRVb7et5JYFsd+UP3ztxMnnL4wVlKu7nWGczXVS6LXnz9ense7P7Z3hs+7+k OKA4PHSquo0SS3FGoqEWc1FxIgC904ysvgIAAA== X-CMS-MailID: 20190118131711eucas1p190e9b63ac047566ba84fb4f8749aceee X-Msg-Generator: CA X-RootMTR: 20190118131711eucas1p190e9b63ac047566ba84fb4f8749aceee X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190118131711eucas1p190e9b63ac047566ba84fb4f8749aceee References: <20190118131639.17578-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 Fri Jan 18 13:16:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10770057 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 067DA17FB for ; Fri, 18 Jan 2019 13:17:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA03128516 for ; Fri, 18 Jan 2019 13:17:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE3DC2A55B; Fri, 18 Jan 2019 13:17:24 +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 92038296E6 for ; Fri, 18 Jan 2019 13:17:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727701AbfARNRT (ORCPT ); Fri, 18 Jan 2019 08:17:19 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36258 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726593AbfARNRO (ORCPT ); Fri, 18 Jan 2019 08:17:14 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190118131713euoutp02c198674e07e90025be636a22fc245cfb~688FjYXCm1058210582euoutp02Q for ; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190118131713euoutp02c198674e07e90025be636a22fc245cfb~688FjYXCm1058210582euoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547817433; bh=v259pxNOA+ldScCU2PS9WMmlIqLRFNp7CjAhA2pWsL8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gvG8stg2yicIkwUSY9D/c6tIdsAMQ6GLp34j1bL9fgNbkylKla1A0cYvHtAPgSC5s ldXp0Bu7YaNlDT2y38elnx2/rxHJMG9gJrfLpupbkKhgnVJc/kRvB+HCkI21vO0QhT qIRbKeD/ZzxsfeOIQrxCJwxz07koYfDxNOG0rP4s= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190118131713eucas1p185ff8c49e580b538295a6d1726972060~688EyYmgR1549715497eucas1p1l; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 40.C0.04441.8D1D14C5; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190118131712eucas1p2b7e11ff6df0a78d8e7ea50b34f9cf737~688Dzwdmf0619906199eucas1p2u; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190118131711eusmtrp1e18aae81029313cf52a65a2e11c54852~688DkiiOo1588815888eusmtrp1h; Fri, 18 Jan 2019 13:17:11 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-25-5c41d1d873ff Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 02.55.04128.7D1D14C5; Fri, 18 Jan 2019 13:17:11 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190118131711eusmtip170de69b714e4422b2d9b541c72d6e43a~688DBGzBi1936519365eusmtip1T; Fri, 18 Jan 2019 13:17:11 +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 v4 2/5] clk: samsung: exynos5433: fix name typo in sssx Date: Fri, 18 Jan 2019 14:16:36 +0100 Message-Id: <20190118131639.17578-3-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118131639.17578-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01SbUhTYRjt3b1397qcXKfpg1rhIChJTQi6UYiC2YSQ+quirrx+0Pxgc5r5 R0pTh82a6GyWhjaU5efUaWWCH2imOfVH80eZ5FdpBqlBprm23Yn+O895znnPc+ClMFE/4UOl ZWSz8gypTMwX4KaRbXPg7HR43Lme92eZjuo2grFsrRBM3fAkwaj7rYgpX1jDGLO5nWR+lc0R TLW5n8e0DH8mGb1lmscUvR0mGWtfL8kM/SgmwoSS5tpmJDEaSvmSgZ99PIm6y4Akm8YT14kY weUkVp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Ji1lBipgF1jNL3O1qAisSFnCXuP7sCZjNIqAqsXj5PbAGXgEXiembXzNCbJCX mLa6CyzOKeAqMW/dClYQWwio5sKcDmaIekGJkzOfsIDYzED1zVtnM09gFJiFJDULSWoBI9Mq RpHU0uLc9NxiI73ixNzi0rx0veT83E2MwJjaduznlh2MXe+CDzEKcDAq8fC+2OYQI8SaWFZc mXuIUYKDWUmEl2uFY4wQb0piZVVqUX58UWlOavEhRlOgJyYyS4km5wPjPa8k3tDU0NzC0tDc 2NzYzEJJnPe8QWWUkEB6YklqdmpqQWoRTB8TB6dUA+OxuU1sy5ny/p/y9LKe4WX3ceXqc8ES 5jECubomesYVk7csN9FeasxRpaZaOJuXz7+q6vRsloM7BO+cFrHikRPVuNrZu/S0ZOicZ7ui D0fLb2QO3nrBYs+u7twds1Nqp1i8mK4euH7T+jubm5PveVjsWM/5oX35hr1NeqZa+5sCrk5q knzZuEeJpTgj0VCLuag4EQC9GzsevwIAAA== X-CMS-MailID: 20190118131712eucas1p2b7e11ff6df0a78d8e7ea50b34f9cf737 X-Msg-Generator: CA X-RootMTR: 20190118131712eucas1p2b7e11ff6df0a78d8e7ea50b34f9cf737 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190118131712eucas1p2b7e11ff6df0a78d8e7ea50b34f9cf737 References: <20190118131639.17578-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 Fri Jan 18 13:16:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10770043 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 1F9BB17FB for ; Fri, 18 Jan 2019 13:17:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E2BF296E6 for ; Fri, 18 Jan 2019 13:17:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 028012DF5F; Fri, 18 Jan 2019 13:17:17 +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 88DEF2A55B for ; Fri, 18 Jan 2019 13:17:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727610AbfARNRQ (ORCPT ); Fri, 18 Jan 2019 08:17:16 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60170 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727592AbfARNRQ (ORCPT ); Fri, 18 Jan 2019 08:17:16 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190118131714euoutp01ee44c3582342bf61dff806dcf9a006f6~688F2iFSL1775617756euoutp01M for ; Fri, 18 Jan 2019 13:17:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190118131714euoutp01ee44c3582342bf61dff806dcf9a006f6~688F2iFSL1775617756euoutp01M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547817434; bh=4Emby0cxzZ3GtnFFpd2my2pacgDv3hyDGGWWlsK1BYQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SgGxmSQVtAKGphhmOfzl/mCW2QlGXq5+44gnYQepEYXsD7C/aVOPA9hzkAOjynSK0 2zm2zYSZNKCPzLZfgiW/xEOwbkh0Dwk2GB7GqbBswCQeO0fhgE+zJ8zePHDb33DwzU 5Zq7jCiOX2EihFs6481AhdgBS8Hp11x1TwiQohZo= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190118131713eucas1p1eb7afa64c3064ae8ad3d282668ddb5e8~688FKOCWX1532015320eucas1p1k; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 61.C0.04441.9D1D14C5; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190118131712eucas1p2cf278b13bb4b51c2331a7e2c9d864e9d~688Ecjr-e1559015590eucas1p2N; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190118131712eusmtrp1453c0d41bd3be1ac355f324867fba206~688ENaKdW1588815888eusmtrp1j; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) X-AuditID: cbfec7f2-a1ae89c000001159-28-5c41d1d9d39f Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 13.55.04128.8D1D14C5; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190118131711eusmtip156ec1fae9c723e711541d280a1d4344e~688Dk7foz2064820648eusmtip1c; Fri, 18 Jan 2019 13:17:11 +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 v4 3/5] dt-bindings: clk: exynos5433: document imem clock Date: Fri, 18 Jan 2019 14:16:37 +0100 Message-Id: <20190118131639.17578-4-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118131639.17578-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHKsWRmVeSWpSXmKPExsWy7djP87o3LzrGGDzbym2xccZ6VovrX56z Wsw/co7Vom/ff0aL/sevmS3On9/AbvGx5x6rxYzz+5gs1h65y26x9PpFJovWvUfYLf7v2cFu cfhNO6vFv2sbWRz4PNbMW8PosWlVJ5vHwXd7mDz6tqxi9Pi8SS6ANYrLJiU1J7MstUjfLoEr Y2XPAvaCVYIV745uZm9gXM7XxcjJISFgIjGr5zI7iC0ksIJRYtoGuS5GLiD7C6PEmc3zWCAS nxklZrwLhWn4d2cBE0TRckaJq7e3scB1zGnZygRSxSZgLvFo+xkwW0TATaJv8mw2kCJmgRPM El8b5rN2MXJwCAt4Srw7VgtSwyKgKnHo7w2wel4BF4lvF7rZILbJS0xb3QUW5xRwlZi3bgUr RI2gxMmZT8CuYwaqad46mxmi/hS7xLxePpDxEkBzHh6ShAgLS7w6voUdwpaROD25hwXCLpfY vfUZO8hpEgItjBJzJy9igkhYSxw+fhHsTGYBTYn1u/Qhwo4Ss5dfY4IYzydx460gxAV8EpO2 TWeGCPNKdLQJQVTrSsz7f4YVwpaW6Pq/Dsr2kJj56SHLBEbFWUh+mYXkl1kIexcwMq9iFE8t Lc5NTy02zEst1ytOzC0uzUvXS87P3cQITFWn/x3/tIPx66WkQ4wCHIxKPLwvtjnECLEmlhVX 5h5ilOBgVhLh5VrhGCPEm5JYWZValB9fVJqTWnyIUZqDRUmct5rhQbSQQHpiSWp2ampBahFM lomDU6qBUWDp0zcFcxn0DG8un8UZfeSqWu88DZtYLpb4CcK9j0K+MC46oTn7yWXhpu9pgk9K 2ZI2W0XPs7bjfNypsNxz3ZHSbt/DWjFFN1+cLJB8LxahJR83beatDXa7GDf9OXBwPvcur7db JDX4t32+2LD8v0rVYc3kaGflfGODrnTlbgUjtWjmje9zlViKMxINtZiLihMB4qFAdlEDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPIsWRmVeSWpSXmKPExsVy+t/xu7o3LjrGGHTcFbXYOGM9q8X1L89Z LeYfOcdq0bfvP6NF/+PXzBbnz29gt/jYc4/VYsb5fUwWa4/cZbdYev0ik0Xr3iPsFv/37GC3 OPymndXi37WNLA58HmvmrWH02LSqk83j4Ls9TB59W1YxenzeJBfAGqVnU5RfWpKqkJFfXGKr FG1oYaRnaGmhZ2RiqWdobB5rZWSqpG9nk5Kak1mWWqRvl6CXsbJnAXvBKsGKd0c3szcwLufr YuTkkBAwkfh3ZwETiC0ksJRR4tgTQYi4tETj6dVMELawxJ9rXWxdjFxANZ8YJab3PWIHSbAJ mEs82n4GrEhEwENixsTFrCBFzAKXmCUeHJ7K0sXIwSEs4Cnx7lgtSA2LgKrEob83wOp5BVwk vl3oZoNYIC8xbXUXWJxTwFVi3roVrBAHuUhcmNPBDFEvKHFy5hMWEJsZqL5562zmCYwCs5Ck ZiFJLWBkWsUoklpanJueW2ykV5yYW1yal66XnJ+7iREYWduO/dyyg7HrXfAhRgEORiUe3hfb HGKEWBPLiitzDzFKcDArifByrXCMEeJNSaysSi3Kjy8qzUktPsRoCvTERGYp0eR8YNTnlcQb mhqaW1gamhubG5tZKInznjeojBISSE8sSc1OTS1ILYLpY+LglGpgrLsy4QivvumK3ffvTZ0k 0q2+o/pM+eSudZY6y5OLFm3VfHz47g+51EW90+6cz7r3g+fff/u0FVILJq+yWv7myWlL/iVC jcFnYpi3zVuf+N06KaNgyZseY77NSxfPPshrdUviSfCZ5P2/L6ebtoXfK0jtyDnH+kVBym5D 3suWqqMfLvSpnChYvFaJpTgj0VCLuag4EQCXqJ8VwgIAAA== X-CMS-MailID: 20190118131712eucas1p2cf278b13bb4b51c2331a7e2c9d864e9d X-Msg-Generator: CA X-RootMTR: 20190118131712eucas1p2cf278b13bb4b51c2331a7e2c9d864e9d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190118131712eucas1p2cf278b13bb4b51c2331a7e2c9d864e9d References: <20190118131639.17578-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 Fri Jan 18 13:16:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10770051 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 B520D13BF for ; Fri, 18 Jan 2019 13:17:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2BF82A55B for ; Fri, 18 Jan 2019 13:17:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 973BB2DF71; Fri, 18 Jan 2019 13:17:19 +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,UPPERCASE_50_75 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 4DA30296E6 for ; Fri, 18 Jan 2019 13:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727592AbfARNRR (ORCPT ); Fri, 18 Jan 2019 08:17:17 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60184 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727576AbfARNRQ (ORCPT ); Fri, 18 Jan 2019 08:17:16 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190118131714euoutp01ea5e213abc38f60734209e308d370985~688GjjwYD1775617756euoutp01O for ; Fri, 18 Jan 2019 13:17:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190118131714euoutp01ea5e213abc38f60734209e308d370985~688GjjwYD1775617756euoutp01O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547817434; bh=osX66katt/WYuYzov6/4bl1LjO7N4Isu2O4D9x+TbP8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aVxSw0WeSha9DjKiZUGu5nKrbswpMaeUKhmVUQRyo91sEq31dA2IONpiXlOl+9Qtv +b8stLzbbYrzoqnenAN7icgFF3DiYbLnF8SZwRghcahfZTmDkOYEdemcSOnFZsc5MP WyyCrGmCmEwET2mLZk6CuDd10soCy3e97joO5Zms= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190118131714eucas1p2d9606c5e8a7c7f06619b474e54177a5a~688FtZ3Z-1781517815eucas1p2M; Fri, 18 Jan 2019 13:17:14 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 6B.C4.04294.9D1D14C5; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190118131713eucas1p21e6deb9c80627cbf2e09c5b578cd410a~688E8HW0d2158821588eucas1p2o; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190118131712eusmtrp19b8950bff2562cce50e7e05b55949d13~688EtBqK61588815888eusmtrp1m; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-bd-5c41d1d9bac7 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 34.55.04128.8D1D14C5; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190118131712eusmtip1749cbc46d3098c3625bf175111666c93~688EKqbjn2115721157eusmtip1T; Fri, 18 Jan 2019 13:17:12 +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 v4 4/5] dt-bindings: clk: exynos5433: add imem clock Date: Fri, 18 Jan 2019 14:16:38 +0100 Message-Id: <20190118131639.17578-5-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118131639.17578-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOKsWRmVeSWpSXmKPExsWy7djPc7o3LzrGGPzfqW+xccZ6VovrX56z Wsw/co7Vom/ff0aL/sevmS3On9/AbvGx5x6rxYzz+5gs1h65y26x9PpFJovWvUfYLQ6/aWd1 4PFYM28No8emVZ1sHgff7WHy6NuyitHj8ya5ANYoLpuU1JzMstQifbsErowPfy6xFPQKV3xo PsDcwLhcoIuRk0NCwESiYe9y5i5GLg4hgRWMEg8n3mYHSQgJfGGUWHnNGyLxmVHi7vIvjDAd U66dYIYoWs4ocWGbNUQRUMOL7y+ZQBJsAuYS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eD59lBEsICLhK/N90Hm8oioCrxfeZeFhCbFyj+/NpEFogN8hLTVneB DeIUcJWYt24FK4gtBFRzYU4HM0S9oMTJmU/A6pmB6pu3zmaewCgwC0lqFpLUAkamVYwiqaXF uem5xUZ6xYm5xaV56XrJ+bmbGIGRtO3Yzy07GLveBR9iFOBgVOLhfbHNIUaINbGsuDL3EKME B7OSCC/XCscYId6UxMqq1KL8+KLSnNTiQ4ymQE9MZJYSTc4HRnleSbyhqaG5haWhubG5sZmF kjjveYPKKCGB9MSS1OzU1ILUIpg+Jg5OqQZGPcXtn5Pins1deZPPbdZs4VWqt42jGDnFv3rH P9vDE3b086XdmX9ai7/NCWty3vBh78JFfz7khp1bUfvhqdRyRgGr74sX2stL7Wd6sMK1w396 8KLJ034k3eSMcTjCLSuwYKbvDUVDphSpt3cUDgadZHbk8BWa5K1ssCb8YGufU3qm6LqfCYyC SizFGYmGWsxFxYkA0RNoELoCAAA= X-CMS-MailID: 20190118131713eucas1p21e6deb9c80627cbf2e09c5b578cd410a X-Msg-Generator: CA X-RootMTR: 20190118131713eucas1p21e6deb9c80627cbf2e09c5b578cd410a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190118131713eucas1p21e6deb9c80627cbf2e09c5b578cd410a References: <20190118131639.17578-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 DT bindings to describe imem clocks for SSS (Security SubSystem) and SlimSSS in Exynos5433. Signed-off-by: Kamil Konieczny Reviewed-by: Rob Herring --- include/dt-bindings/clock/exynos5433.h | 55 ++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/include/dt-bindings/clock/exynos5433.h b/include/dt-bindings/clock/exynos5433.h index 87bb2b017143..cc6153a0b5f7 100644 --- a/include/dt-bindings/clock/exynos5433.h +++ b/include/dt-bindings/clock/exynos5433.h @@ -1406,4 +1406,59 @@ #define CAM1_NR_CLK 113 +/* CMU_IMEM */ +#define CLK_ACLK_SSS 1 +#define CLK_ACLK_SLIMSSS 2 +#define CLK_ACLK_RTIC 3 +#define CLK_ACLK_XIU_SSSX 4 +#define CLK_ACLK_ASYNCAHBM_SSS_ATLAS 5 +#define CLK_ACLK_ASYNCAXI_SSSX 6 +#define CLK_ACLK_BTS_SSS_CCI 7 +#define CLK_ACLK_BTS_SSS_DRAM 8 +#define CLK_ACLK_BTS_SLIMSSS 9 +#define CLK_ACLK_SMMU_SSS_CCI 10 +#define CLK_ACLK_SMMU_SSS_DRAM 11 +#define CLK_ACLK_SMMU_SLIMSSS 12 +#define CLK_ACLK_SMMU_RTIC 13 +#define CLK_ACLK_IMEMND_266 14 +#define CLK_ACLK_ALB_IMEM 15 +#define CLK_ACLK_XIU_IMEMX 16 +#define CLK_ACLK_AXIUS_IMEMX 17 +#define CLK_ACLK_ASYNCAXI_IMEMX 18 +#define CLK_ACLK_ARBG_TX 19 +#define CLK_ACLK_BTS_ARBG_TX 20 +#define CLK_ACLK_SMMU_ARBG_TX 21 +#define CLK_ACLK_GIC 22 +#define CLK_ACLK_INT_MEM 23 +#define CLK_ACLK_XIU_PIMEMX 24 +#define CLK_ACLK_AXI2APB_IMEM0P 25 +#define CLK_ACLK_AXI2APB_IMEM1P 26 +#define CLK_ACLK_ASYNCAXIS_MIF_PIMEMX 27 +#define CLK_ACLK_AXIDS_PIMEMX_GIC 28 +#define CLK_ACLK_AXIDS_PIMEMX_IMEM0P 29 +#define CLK_ACLK_AXIDS_PIMEMX_IMEM1P 30 +#define CLK_ACLK_SROMC 31 +#define CLK_ACLK_AXIDS_SROMC 32 +#define CLK_ACLK_AXI2AHB_IMEMH 33 +#define CLK_PCLK_SSS 34 +#define CLK_PCLK_SLIMSSS 35 +#define CLK_PCLK_RTIC 36 +#define CLK_PCLK_SYSREG_IMEM 37 +#define CLK_PCLK_PMU_IMEM 38 +#define CLK_PCLK_ALB_IMEM 39 +#define CLK_PCLK_BTS_SSS_CCI 40 +#define CLK_PCLK_BTS_SSS_DRAM 41 +#define CLK_PCLK_BTS_SLIMSSS 42 +#define CLK_PCLK_SMMU_SSS_CCI 43 +#define CLK_PCLK_SMMU_SSS_DRAM 44 +#define CLK_PCLK_SMMU_SLIMSSS 45 +#define CLK_PCLK_SMMU_RTIC 46 +#define CLK_PCLK_ASYNCAPB_ARBG_TX 47 +#define CLK_PCLK_BTS_ARBG_TX 48 +#define CLK_PCLK_SMMU_ARBG_TX 49 +#define CLK_PCLK_ASYNCAXI_IMEMX 50 +#define CLK_PCLK_GPIO_IMEM 51 + +#define IMEM_NR_CLK 52 + #endif /* _DT_BINDINGS_CLOCK_EXYNOS5433_H */ From patchwork Fri Jan 18 13:16:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10770045 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 111016C2 for ; Fri, 18 Jan 2019 13:17:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3C732A55B for ; Fri, 18 Jan 2019 13:17:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E7F5F2DF71; Fri, 18 Jan 2019 13:17: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 781472A55B for ; Fri, 18 Jan 2019 13:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727589AbfARNRR (ORCPT ); Fri, 18 Jan 2019 08:17:17 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60196 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbfARNRQ (ORCPT ); Fri, 18 Jan 2019 08:17:16 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190118131715euoutp0174fa5b73e656caad84eea9336d9c2e67~688G4dyRN1775617756euoutp01Q for ; Fri, 18 Jan 2019 13:17:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190118131715euoutp0174fa5b73e656caad84eea9336d9c2e67~688G4dyRN1775617756euoutp01Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547817435; bh=0b95Ew6mlVQAmCd8W9+6vQaVfV0wIQUbFZyv/QEtiIY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HzAR1g2qzbD6VeYtja5B5iqREC/Qlyx5xOUPV5WRAf0d2drECThXVB6rqmh7w0muh YXn5chkk3jCx6zeTWGIjDQbZKu4UBxXQpxKHUxO+JUGYnaoucueJEpJqQjtIh0ru2j sexe3k6O7yy45hKidxVkl4PyTdi/dhQ7Ez4js0fc= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190118131714eucas1p1b57b44d860b376c628bac5f1bb5a3f87~688GU7AIU1967419674eucas1p1H; Fri, 18 Jan 2019 13:17:14 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id DA.3F.04806.AD1D14C5; Fri, 18 Jan 2019 13:17:14 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190118131713eucas1p11f52d9e6a11dbd2b66f289ca3c56d92c~688FlSvLX1555915559eucas1p1s; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190118131713eusmtrp163be05bc6cafe69890d30148bb80ab0f~688FQ_p5g1588415884eusmtrp1P; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-66-5c41d1dab7b9 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id AE.0F.04284.9D1D14C5; Fri, 18 Jan 2019 13:17:13 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190118131712eusmtip154225cdd136edc77330e03f3e1decfa5~688EsiqaJ2065420654eusmtip1Q; Fri, 18 Jan 2019 13:17:12 +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 v4 5/5] clk: samsung: exynos5433: add imem clocks Date: Fri, 18 Jan 2019 14:16:39 +0100 Message-Id: <20190118131639.17578-6-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118131639.17578-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHKsWRmVeSWpSXmKPExsWy7djPc7q3LjrGGLw+L22xccZ6VovrX56z Wsw/co7Vom/ff0aL/sevmS3On9/AbrHp8TVWi8u75rBZzD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d3uYPPq2rGL0+LxJLoAtSs+mKL+0JFUhI7+4xFYp 2tDCSM/Q0kLPyMRSz9DYPNbKyFRJ384mJTUnsyy1SN8uQS9jye7fbAU7+StmPt3J2sDYytvF yMkhIWAi0f/oOlMXIxeHkMBSRolp3X+ZIBLSEo2nV0PZwhJ/rnWxgdhCAp8YJT5+LwCx2QTM JR5tPwNWIyLgITFj4mJWkEHMAjuZJZbfbmcBSQgLOEr8PdTNCGKzCKhKHNrfDBbnFXCROL11 BivEAnmJaau7wAZxCrhKzFu3ghVimYvEhTkdzBD1ghInZz4B62UGqm/eOpt5AqPALCSpWUhS CxiZVjGKpJYW56bnFhvqFSfmFpfmpesl5+duYgRG1rZjPzfvYLy0MfgQowAHoxIP74ttDjFC rIllxZW5hxglOJiVRHi5VjjGCPGmJFZWpRblxxeV5qQWH2I0BXpiIrOUaHI+MOrzSuINTQ3N LSwNzY3Njc0slMR5zxtURgkJpCeWpGanphakFsH0MXFwSjUwFs3kN++233aZL4eppLFAY96e sL+XvjPcy5fi+StU1mEUyymtsNPn+lllqU7TwpfTT4Se9IzuDlCp3C48s+RIxWlzzr7PW4/6 SbYc2XNid9/Waedy9JctNrl3SueOx8Sz5tXTOf0KztidO+Ayh2f6vdy5dpxVKtXJ+h4rg5s7 LvQqRLgsZVBVYinOSDTUYi4qTgQAtiRlAMICAAA= X-CMS-MailID: 20190118131713eucas1p11f52d9e6a11dbd2b66f289ca3c56d92c X-Msg-Generator: CA X-RootMTR: 20190118131713eucas1p11f52d9e6a11dbd2b66f289ca3c56d92c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190118131713eucas1p11f52d9e6a11dbd2b66f289ca3c56d92c References: <20190118131639.17578-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. Signed-off-by: Kamil Konieczny Acked-by: Chanwoo Choi --- 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, }, { }, };