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 v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g7HrXfAhRgEORiUe3hfb 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.