From patchwork Fri Jan 18 13:16:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10770041 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 DF72713BF for ; Fri, 18 Jan 2019 13:17:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE4A02A55B for ; Fri, 18 Jan 2019 13:17:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1EDC2DF66; Fri, 18 Jan 2019 13:17:15 +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 695692DF5F for ; Fri, 18 Jan 2019 13:17:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727619AbfARNRP (ORCPT ); Fri, 18 Jan 2019 08:17:15 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60147 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbfARNRO (ORCPT ); Fri, 18 Jan 2019 08:17:14 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190118131712euoutp019ab07ea0be8d340530b26162e7f93479~688EMHEOb1775617756euoutp01J for ; Fri, 18 Jan 2019 13:17:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190118131712euoutp019ab07ea0be8d340530b26162e7f93479~688EMHEOb1775617756euoutp01J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547817432; bh=HxNjjUH0dy5OUDmDqQnZovTMvUqO83p0U2Td8KAVE70=; h=From:To:Cc:Subject:Date:References:From; b=mJkYQSN3BDOBJn2dThGf9WAiOTx1hlUVtO524XD5C0OWakl7QELjGEMhiJ5hxogG4 pgDYbLRyFhMjIK6BGe2XTUNBrhbOGva6ytm9mtM3l8ISCdfyFe/p+WbB1hT4QT81Tl ConZjZWQjvYyym0pm0/BqYX7Y2ojW9raXvtQHGNQ= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190118131711eucas1p29fcf06afaedd974209f3775dac3ab214~688DY85h81558215582eucas1p2V; Fri, 18 Jan 2019 13:17:11 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id BE.B0.04441.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 20190118131710eucas1p1b4d7f67c5aa2832b669b1f3cff0235aa~688CsZTPt1004810048eucas1p1B; Fri, 18 Jan 2019 13:17:10 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190118131710eusmtrp1aeb1fa4cf217b1b12ab77b158ebdf72b~688CdP8Fs1588415884eusmtrp1G; Fri, 18 Jan 2019 13:17:10 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-1e-5c41d1d74da1 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id DA.0F.04284.6D1D14C5; Fri, 18 Jan 2019 13:17:10 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190118131709eusmtip155f7ebe171d5903c44e0422ef9468923~688B6iyNZ2065420654eusmtip1O; Fri, 18 Jan 2019 13:17:09 +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 0/5] Add imem clock for Exynos 5433 Date: Fri, 18 Jan 2019 14:16:34 +0100 Message-Id: <20190118131639.17578-1-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGKsWRmVeSWpSXmKPExsWy7djPc7rXLzrGGHzcJWSxccZ6VovrX56z Wsw/co7Vom/ff0aL/sevmS3On9/AbvGx5x6rxYzz+5gs1h65y26x9PpFJovWvUfYLQ6/aWd1 4PFYM28No8emVZ1sHgff7WHy6NuyitHj8ya5ANYoLpuU1JzMstQifbsEroxv550LNvNWLHv8 kqmB8RZXFyMHh4SAiURvW1YXIxeHkMAKRok/T5ayQDhfGCX+LpvHCuF8ZpSY/+YrkMMJ1nHr /ix2iMRyRomnjY1scC3HP81hB6liEzCXeLT9DBOILSLgJtE3eTZYEbNAG7PE09ldYAlhATOJ a4/WgjWwCKhK7Nn+khHE5hVwkdh86yEbxDp5iWmrIep5BQQlTs58wgJiMwPFm7fOZgYZKiEw nV1i7uvzjBAfuUgsmeUM0Sss8er4FnYIW0bi9OQeFgi7XGL31mfsEL0tjBJzJy9igkhYSxw+ fpEVZA6zgKbE+l36EGFHiT+3r7JDjOeTuPFWEOIEPolJ26YzQ4R5JTrahCCqdSXm/T8DDSxp ia7/66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ZpakFoE 08fEwSnVwNj5JYZj6a7D5udvqy43MmRhlb+mFb/fjL0ibm/VoYLjtV6nH7294calvGKN5KS5 b08UGU95ZOetpHEqJUHm81Zu7vJfymlZTNlnmG+v3bEnWSSty1vFUSlDqtmsWqA382XEBM00 xd9tp1WlGfhkHTLWf/GwcO9iXJskeTvS89PMRKVzQpuOK7EUZyQaajEXFScCAFoXAS6gAgAA X-CMS-MailID: 20190118131710eucas1p1b4d7f67c5aa2832b669b1f3cff0235aa X-Msg-Generator: CA X-RootMTR: 20190118131710eucas1p1b4d7f67c5aa2832b669b1f3cff0235aa X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190118131710eucas1p1b4d7f67c5aa2832b669b1f3cff0235aa References: Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add imem clock for Exynos 5433. This will allow to use SlimSSS (Slim Security SubSystem) with crypto functions. Changes since v3: - added Acked-by and Reviewed-by to patches 2 and 3 - dropped "[PATCH v3 4/5] arm64: dts: exynos: add imem clock" because it was already applied - split "[PATCH v3 5/5] clk: samsung: exynos5433: add imem clocks" into two parts, first for DT bindings and second for clock driver. In clock driver I dropped all SSS clocks and left only two slimSSS, as I was unable to test SSS with crypto driver s5p-sss. Changes since v2: - added Reviewed-by to two first patches - fixed subject for 3rd patch and commit message - in patch 3 moved documentation of imem to end of clocks after CMU_CAM1 - in patch 4 moved cmu_imem declarations after cmu_cam1 - in patch 5 added newlines after clock registers, moved code after cmu_cam1, removed CLK_OF_DECLARE and exynos5433_cmu_imem_init, moved cmu_imem compatible to the end of exynos5433_cmu_of_match Changes since v1: - splitted typo patch into two, one of them for stable, suggested by Krzysztof Kozlowski - added more registers as suggested by Chanwoo Choi Kamil Konieczny (5): clk: samsung: exynos5433: fix typo in imem divider clk: samsung: exynos5433: fix name typo in sssx dt-bindings: clk: exynos5433: document imem clock dt-bindings: clk: exynos5433: add imem clock clk: samsung: exynos5433: add imem clocks .../bindings/clock/exynos5433-clock.txt | 23 ++++++++ drivers/clk/samsung/clk-exynos5433.c | 38 ++++++++++++- include/dt-bindings/clock/exynos5433.h | 57 ++++++++++++++++++- 3 files changed, 114 insertions(+), 4 deletions(-)