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 okZQ4uTMJ2D1zEA1zVtng10hIXCMXeLc6w8sEM0uEhcnvWGDsIUlXh3fwg5hy0ic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fmHYyXNgYfYhTgYFTi4eU45xoj xJpYVlyZe4hRgoNZSYTX9aJbjBBvSmJlVWpRfnxRaU5q8SFGU6AnJjJLiSbnAyM/ryTe0NTQ 3MLS0NzY3NjMQkmc97xBZZSQQHpiSWp2ampBahFMHxMHp1QDo8oqv1tGr17l3DHY47Vej3t5 9WSB+/8rEpj2adsoad0Rv721IP3ueZf/tvy2c/JtO/1kIxu2vD/7Ysruc4ph52bP+7CIhSHh 7KbwoOT0V5slzqmzvVps8josd2WHmYH0KZ2Pt8znPv7YEHzvSsOMlVduqE2vvv6Ca61zS0FB +Ka5gnK/N2eGHlViKc5INNRiLipOBADgt3WtxAIAAA== 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.