From patchwork Tue Dec 4 16:52:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10712249 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 7997313A4 for ; Tue, 4 Dec 2018 16:53:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D6A729A7D for ; Tue, 4 Dec 2018 16:53:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 613F32A5FD; Tue, 4 Dec 2018 16:53:54 +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 0F79029EDC for ; Tue, 4 Dec 2018 16:53:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727115AbeLDQxx (ORCPT ); Tue, 4 Dec 2018 11:53:53 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:53932 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbeLDQxU (ORCPT ); Tue, 4 Dec 2018 11:53:20 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181204165318euoutp01a13e05b162d34def4266effcb288de2a~tL26EAC_u0146001460euoutp01X for ; Tue, 4 Dec 2018 16:53:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181204165318euoutp01a13e05b162d34def4266effcb288de2a~tL26EAC_u0146001460euoutp01X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1543942399; bh=GPa2JE3HFr5rdstyWjxdMgU2tSngpsXZpX3djZ/WFi8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kg9Q5+IGEG7M9eSTXQHejQqGS+cj6NSw4GCAptP70KRq/2YtlZb84XR6OvQbnuS8i nlRWIQ1jP4+jO6sIlRhSXZ9ZrLQXctR2T4FI0ABNlEVrUQCGxxGwdgR+FAyi9WG/Cc rHuFKIlNzOHZP2+CN88vkELH4KFsPm8aq8NHVps8= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181204165318eucas1p1281e6eb7a581e4d84060b516039b55cf~tL25T7dfR2847328473eucas1p1x; Tue, 4 Dec 2018 16:53:18 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id F0.61.04806.DF0B60C5; Tue, 4 Dec 2018 16:53:17 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181204165317eucas1p10bef0207ee57a9420911410ed2a22453~tL24VvL1I1618116181eucas1p1t; Tue, 4 Dec 2018 16:53:17 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181204165316eusmtrp22e30c0d7519a5c5c7c1cf652a1e8ce56~tL24GsoaN2531625316eusmtrp2H; Tue, 4 Dec 2018 16:53:16 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-56-5c06b0fde83a Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 39.6D.04128.CF0B60C5; Tue, 4 Dec 2018 16:53:16 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20181204165316eusmtip184acd29add7ccc35203ac4e2ee73fa7d~tL23kMgml1979419794eusmtip1M; Tue, 4 Dec 2018 16:53:16 +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 v3 3/5] dt-bindings: clk: exynos5433: document imem clock Date: Tue, 4 Dec 2018 17:52:46 +0100 Message-Id: <20181204165248.17572-4-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181204165248.17572-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOKsWRmVeSWpSXmKPExsWy7djP87p/N7DFGBw8YmixccZ6VovrX56z Wsw/co7Vom/ff0aL/sevmS3On9/AbvGx5x6rxYzz+5gs1h65y26x9PpFJovWvUfYLQ6/aWd1 4PFYM28No8emVZ1sHgff7WHy6NuyitHj8ya5ANYoLpuU1JzMstQifbsEroyPvYfZChYLVNxs nsrcwLiet4uRk0NCwERi+d+bbF2MXBxCAisYJZae3csCkhAS+MIo8fmiJETiM6PE/ZlnWWE6 7rxZwghRtJxRYsdsqCKghmtf+sG62QTMJR5tP8MEYosIuEn0TZ4NtoJZoI1Z4unsLrCEsICn xLUZF9lBbBYBVYm/p66BTeUVcJE4sWwnM8Q2eYmGXZvBajgFXCU2TfgHVSMocXLmE7BlzEA1 zVtnM4MskBDYxC6xbdknqGYXib6ld1ggbGGJV8e3sEPYMhL/d85ngrDLJXZvfcYO0dzCKDF3 8iKohLXE4eMXgX7mANqgKbF+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zUktPsRoCvTERGYp0eR8YJTnlcQbmhqaW1gamhubG5tZKInz njeojBISSE8sSc1OTS1ILYLpY+LglGpgtFujcWbCgYJIC80djr8T3TIKzpQzXwlQT1jIVG7y Xy+TkS0m1StANl7DL/Jfxqv11b+OG/buXTd3wnH21LfXNvfLLVhvNDf9a4/pvbAHN3xjf4Sw F9g9mtPmPM/bSfp2QFJfz/t3TKvbT19QjD+YfCOkRsfXOevlzLYphhE+ydbXc9febu5QYinO SDTUYi4qTgQAAJABmroCAAA= X-CMS-MailID: 20181204165317eucas1p10bef0207ee57a9420911410ed2a22453 X-Msg-Generator: CA X-RootMTR: 20181204165317eucas1p10bef0207ee57a9420911410ed2a22453 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181204165317eucas1p10bef0207ee57a9420911410ed2a22453 References: <20181204165248.17572-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. Signed-off-by: Kamil Konieczny Acked-by: Stephen Boyd Reviewed-by: Rob Herring Acked-by: Chanwoo Choi --- .../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.