From patchwork Wed Apr 11 09:37:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10335229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0C7E16053C for ; Wed, 11 Apr 2018 09:37:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFAF62870B for ; Wed, 11 Apr 2018 09:37:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E47872885E; Wed, 11 Apr 2018 09:37:52 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 AFA4A28798 for ; Wed, 11 Apr 2018 09:37:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752794AbeDKJhv (ORCPT ); Wed, 11 Apr 2018 05:37:51 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:20862 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752775AbeDKJhs (ORCPT ); Wed, 11 Apr 2018 05:37:48 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 11 Apr 2018 18:37:46 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id A7721882CE; Wed, 11 Apr 2018 18:37:46 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.48,435,1517842800"; d="scan'208";a="277879771" Received: from mail-pu1apc01lp0015.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.15]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-GCM-SHA384; 11 Apr 2018 18:37:45 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EhlW04DQ2Q8jusI4qivXp/pMS5Y9evOg785iFaG5EUk=; b=QSQvt/RjRiaDxWdKQkBJuXCQ67t9YaRMwDxf5tgGcrPrYLkXE0+cM35TRROuN/3vqh7pFFgt1tFst8Nimjv2Sx/unX9Vf/B2UBmb9bMCpq5PXyAOuI+Sg3L9dB2MoY53bzesFycWxujEDl6evjnC1hb2OV4FtgwKpshHp6N4Bzk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost.localdomain (211.11.155.138) by SIXPR06MB0986.apcprd06.prod.outlook.com (2a01:111:e400:51e9::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Wed, 11 Apr 2018 09:37:42 +0000 From: Yoshihiro Shimoda To: mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com, geert+renesas@glider.be, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Takeshi Kihara , Yoshihiro Shimoda Subject: [PATCH 1/2] clk: renesas: Add r8a77990 CPG Core Clock Definitions Date: Wed, 11 Apr 2018 18:37:26 +0900 Message-Id: <1523439447-1084-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1523439447-1084-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1523439447-1084-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: TYAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:404:15::18) To SIXPR06MB0986.apcprd06.prod.outlook.com (2a01:111:e400:51e9::27) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(48565401081)(2017052603328)(7153060)(7193020); SRVR:SIXPR06MB0986; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0986; 3:Rezz0+xE9Z6K/HIddzG1mxsRf2/C3tjoRbP8qQhbYe4S6Bz6SgnpB5RUlr0iAk4PofxvkkFoZRQeFtNuSTe10jwvh3adY3trIVSSapled7Ngw1uUtZuEJVsFmvIMjkVXxMMfmbyl19uo8nLdJ+6bTWIGBMgCTCAEIXMf1BnwCoKrah76RZJeGy4toMmo3QnP3wOA2bQjEMWqryS/0nAK0hanWLwQV8Qg0E/a+8cTKbODODaOavAS1QWhAQU1cGGA; 25:90EkZgiTYPtUe+tw/G4CQhuZz0wDD4+XT0FnJWU306v3UhWVRqCngQpJNjEj1t1Nj0VqjMlhJrZv/ciyiadtRWGANh5sLIDXUsyPi3XxywpM2Y4s2fd6dIklC7OVdAxFGS9OfP9+87azvb2TSD6naPw+DcumxxEa5XnDKVabWuI8pgKuvAfmTh3tTkmGPgfX+JDhLD24EF9mR63mbPBcscOHVZYbmy91C2eqIM17k/QM7PVjMHAF5lvmOfGhOvzVI3a35/1wkz+AYi/M9+KycMbVwKrBgduX6hN29SGMvUpbtURGyV8CXlTnleht2HsTgVxCZ5m3DX/2p2/9QwMPgA==; 31:EbUG6piBH/YbnvlNU3dz2ia3veXTaGcHPReGDvU7z7vNd7Zlnqvh9ZJHueJ8xu2KLXl9HuikOUhxB6DBwOkjPjKO3rzBi9wXyqSbacWQ2qeHsFv0Mi/z1M5ZRKF8LEotPVKdLqP/QBl1hTMohDoB/7SMovoEksddpqKt1FUyQySJnOw2N982frSiD/bRyBF++EgyWgsAHO7m+4QUn9qvwVHp9DDMVBE1Zj2GbVX7Q1Y= X-MS-TrafficTypeDiagnostic: SIXPR06MB0986: X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0986; 20:K7YedpEwdNfSCbBJcd1IaKvsHkTl/s5gojpMWphK1sK0vIaLzERTZ8QJMYovaDWcJJPox5mvzzKool1ozTRusAosNXEKl5SyVWzvY4ca9yCV4dFzdHxrdh3EYlhvMcabi4fTMS4t4p3PtO3gJckW8Iyza05E1DGWsFHSSbPvn34yrKNNtLvBzxY66eZ/ToWc4JHOi2INBbgm52/PR5L9bJudbumlSY5YoyX6FjrfnR2PBmphomLknTqHEea0YreyKhQB+1hL9oLLWx9EGBNizK1yxVUjXtfRveg0LxUJPSr0IAg13LlcWeDGs2HE7IaMq+uvAB3EglZ2JIj7qC7HVklCl4dXrFEL+ilmIKyHocmPGdhi6n5RUiWAn+wKK1zb/8/dO5uYq9w+YDP68Op0102N6aTOqjMfJKHjWw0P9o9CBhRsAkP/CaGSAA24cgtLm6hZjkntDNzhsIKQvfEA6q2SSbuGcWzh+8IC2+Rt3poz0z33263qYAyq6w5wLHgZ; 4:tkBkRKIMuZ7q4kPoPE8z5mEO0ZD6CUyRvHoCX7l7a9RGPT2lS0F1uobtAMraBkT01tl2VMityLrlc025d1nmilv7AN9R5RGcg7sInIJwM5PFVEHNGbO2KdA/MH6joyLFByj+KxwIsvU4mTm4pKA5OjjXuG0w4zro2mzbfZtHJV5EWf/IMFmHPlQpI39LU8H1yZLXVl8AiH73P+h/KB886a3C6Z/1JDZs6StEoRq3KswQ/q0M2yLRYnM954YzQsYg1/23C8jPWeVuzDqa89fcoA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(3231221)(944501327)(52105095)(10201501046)(6055026)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(6072148)(201708071742011); SRVR:SIXPR06MB0986; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0986; X-Forefront-PRVS: 0639027A9E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(39380400002)(376002)(366004)(39860400002)(346002)(396003)(199004)(189003)(52116002)(8936002)(54906003)(386003)(6486002)(6506007)(7736002)(316002)(47776003)(76176011)(2616005)(956004)(50466002)(476003)(575784001)(51416003)(11346002)(26005)(105586002)(36756003)(305945005)(16526019)(48376002)(8676002)(446003)(50226002)(498600001)(6116002)(3846002)(53936002)(6512007)(25786009)(42882007)(16586007)(4326008)(486006)(81166006)(81156014)(5660300001)(107886003)(68736007)(6666003)(66066001)(2906002)(78352004)(106356001)(97736004)(3720700003); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0986; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:0; Received-SPF: None (protection.outlook.com: localhost.localdomain does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB0986; 23:ZYNWO4iMQyY9gTWpXjZDr3+Bh2UJYo6wR2DGZwrWb?= =?us-ascii?Q?CihjjgjlzgrAjUlWBYJmgXwAq/bXb/H0EmEjRKUgZWzifpk6/Be5qVZXajhv?= =?us-ascii?Q?W9YOBtpaq06M72SlIoypF7Qmd58Npe7hyzT8syTgIQztRa5kQci3P75KsL4C?= =?us-ascii?Q?+uinj+A0BbcsrNsUPhACzuBEV/RjPYPddeWEy3mBkH5PQTl9k0R67iscghTq?= =?us-ascii?Q?VlT67SAmBlqeSKJew/GWiFW6m1xq0+TRLuHH0FU0Ot09l2YdFWyH+M7oSwGe?= =?us-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edstis9EQICZXDnKuzFiCTnUAWCNrLe+DNTsiUevdve06BKyLo5NbAMLZm3WXSKGFEUvd/TNGHdGuw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0986; 7:nUqAa30h60Gyis1gDyEaGPhzSREfcTscKhvNBC7QTX7XEwgVpHvlbaYmkYGcc791vaxWyfd0Q5PC15oCjXWY3SLpkeCqymnWbqHzvHdd6I1YaQcHXIKwvjqoxokBQeKdDRjzNrVVJrV5ftRRDw+TzistcJqcNX3KdHd+iKrJ0+seLKZgtug7AnAb7RYBF3xET2gfCoTj4NCZKVuKG5Ef8alozs+kJ/YQHdtb7WJv0VAW3a2GgrMO8olaCi5yLIAt; 20:XC+cmoDsqH3JPu0FiIC8pQBVMMfv3wyC4CHmzyJOKnFlUR8GCJ7MAHREljLFaGo5IvNI1qVQTNexwC2V34sx2owRhFsuo9jNkd6yZElVzWcsn6bAx/5SSUfu8Dk1dhafwWbrY0wzNGMYVyLdSk8W7BM+EiosUFbaGCFeZ0PNzfI= X-MS-Office365-Filtering-Correlation-Id: cc39dd2d-3830-4ff5-31c9-08d59f8fe02a X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2018 09:37:42.1544 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cc39dd2d-3830-4ff5-31c9-08d59f8fe02a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0986 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 From: Takeshi Kihara This patch adds all R-Car E3 Clock Pulse Generator Core Clock Outputs. Note that internal CPG clocks (S0, S1, S2, S3, SDSRC) are not included, as they are used as internal clock sources only, and never referenced from DT. Signed-off-by: Takeshi Kihara [shimoda: add SPDX-License-Identifier] Signed-off-by: Yoshihiro Shimoda --- include/dt-bindings/clock/r8a77990-cpg-mssr.h | 63 +++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 include/dt-bindings/clock/r8a77990-cpg-mssr.h diff --git a/include/dt-bindings/clock/r8a77990-cpg-mssr.h b/include/dt-bindings/clock/r8a77990-cpg-mssr.h new file mode 100644 index 0000000..c806fce --- /dev/null +++ b/include/dt-bindings/clock/r8a77990-cpg-mssr.h @@ -0,0 +1,63 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 Renesas Electronics Corp. + */ +#ifndef __DT_BINDINGS_CLOCK_R8A77990_CPG_MSSR_H__ +#define __DT_BINDINGS_CLOCK_R8A77990_CPG_MSSR_H__ + +#include + +/* r8a77990 CPG Core Clocks */ +#define R8A77990_CLK_Z2 0 +#define R8A77990_CLK_ZR 1 +#define R8A77990_CLK_ZG 2 +#define R8A77990_CLK_ZTR 3 +#define R8A77990_CLK_ZT 4 +#define R8A77990_CLK_ZX 5 +#define R8A77990_CLK_S0D1 6 +#define R8A77990_CLK_S0D3 7 +#define R8A77990_CLK_S0D6 8 +#define R8A77990_CLK_S0D12 9 +#define R8A77990_CLK_S0D24 10 +#define R8A77990_CLK_S1D1 11 +#define R8A77990_CLK_S1D2 12 +#define R8A77990_CLK_S1D4 13 +#define R8A77990_CLK_S2D1 14 +#define R8A77990_CLK_S2D2 15 +#define R8A77990_CLK_S2D4 16 +#define R8A77990_CLK_S3D1 17 +#define R8A77990_CLK_S3D2 18 +#define R8A77990_CLK_S3D4 19 +#define R8A77990_CLK_S0D6C 20 +#define R8A77990_CLK_S3D1C 21 +#define R8A77990_CLK_S3D2C 22 +#define R8A77990_CLK_S3D4C 23 +#define R8A77990_CLK_LB 24 +#define R8A77990_CLK_CL 25 +#define R8A77990_CLK_ZB3 26 +#define R8A77990_CLK_ZB3D2 27 +#define R8A77990_CLK_CR 28 +#define R8A77990_CLK_CRD2 29 +#define R8A77990_CLK_SD0H 30 +#define R8A77990_CLK_SD0 31 +#define R8A77990_CLK_SD1H 32 +#define R8A77990_CLK_SD1 33 +#define R8A77990_CLK_SD3H 34 +#define R8A77990_CLK_SD3 35 +#define R8A77990_CLK_RPC 36 +#define R8A77990_CLK_RPCD2 37 +#define R8A77990_CLK_ZA2 38 +#define R8A77990_CLK_ZA8 39 +#define R8A77990_CLK_Z2D 40 +#define R8A77990_CLK_CANFD 41 +#define R8A77990_CLK_MSO 42 +#define R8A77990_CLK_R 43 +#define R8A77990_CLK_OSC 44 +#define R8A77990_CLK_LV0 45 +#define R8A77990_CLK_LV1 46 +#define R8A77990_CLK_CSI0 47 +#define R8A77990_CLK_POST3 48 +#define R8A77990_CLK_CP 49 +#define R8A77990_CLK_CPEX 50 + +#endif /* __DT_BINDINGS_CLOCK_R8A77990_CPG_MSSR_H__ */