From patchwork Fri Apr 20 12:27:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10352541 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 9F72B60365 for ; Fri, 20 Apr 2018 12:28:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8EF3B212D5 for ; Fri, 20 Apr 2018 12:28:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83C3D286FC; Fri, 20 Apr 2018 12:28:14 +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 E2566212D5 for ; Fri, 20 Apr 2018 12:28:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754591AbeDTM2M (ORCPT ); Fri, 20 Apr 2018 08:28:12 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:62631 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754607AbeDTM2J (ORCPT ); Fri, 20 Apr 2018 08:28:09 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 20 Apr 2018 21:28:07 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 079538037F; Fri, 20 Apr 2018 21:28:07 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.49,301,1520866800"; d="scan'208";a="278805656" Received: from mail-ty1jpn01lp0181.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([23.103.139.181]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Apr 2018 21:28:06 +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=ryjdBm7J5X02aRhQfEV8x2vy1Gx1SVr0sXCOsHeLvIM=; b=QJUt0Gx/hkg6qUo6ro83e2+wYJXdej8z2mnBVHi0h6TqJYWIuCUuT2z+BkIzaszjFzRWILn62hJopPuHC8fr9QBohiOOjJmbKVwWkX2U30tfncFV1hKVVyC+PvsUnRP89T4/maIkgqYe8Rcaij2onQjhEfHoWXa8nTVrtaBRHeA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost.localdomain (211.11.155.138) by TY1PR06MB0992.apcprd06.prod.outlook.com (2a01:111:e400:59f2::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.14; Fri, 20 Apr 2018 12:28:04 +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 v2 1/2] clk: renesas: Add r8a77990 CPG Core Clock Definitions Date: Fri, 20 Apr 2018 21:27:43 +0900 Message-Id: <1524227264-24896-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524227264-24896-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1524227264-24896-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: KAXPR01CA0041.jpnprd01.prod.outlook.com (2603:1096:402:1a::27) To TY1PR06MB0992.apcprd06.prod.outlook.com (2a01:111:e400:59f2::26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(8559017)(5600026)(2017052603328)(7153060)(7193020); SRVR:TY1PR06MB0992; X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0992; 3:ov4xhNI8LzRUmVd0751jC2240ZjzaQcIvKiRYtEmzXbRcv0j2FZc+cSWNmmIKzzMK4UvbC4p92DJaonETMAvrXJp2scqAulh4IiGLn57kdA9p2uAwXO7d36jW2JomR8wXHz3LRl4LtT6n28zKWc7sU0Up2wECeONpYXC3MSx56lFpJEekVyCA15G6BwKWxNz4NrkA7+X1XwDeb7emPSrkCiZvywScghBb5C9T3CqBrYSo2YDHAHY+vH78TOBDqZO; 25:WjjliFEiM1Xt7JzCnRW09SfODFkJQ6u5aw1Dh3CR8PmCUujUiSru1RvI9C42uFtoqDDvMfyfW/F4QPITUqvm+oe2AzJ4u9/ajWCScnpBlTcuXPlYT33hKsqzff6tm44BnIq6SKEoJYnRfc8yHPbpHmj7YCWIOsc6zdYInC3sTA+6QXjcieou3sBhZptA7cGcYN9eZvAUBo8+B8ue5G/eFU8nGYD/VBpL3PZMwbLnsfMOt1eVmFR3bCRlcjkOIWu/uVuycZCEIv/lLP9kLgRg7ngWciNQ+4gvv/3GjTkerwrE9S3JGKmYSekIQaXt0IAQXO6UzPs3yBztaAbEzINcAA==; 31:lhg5CtfHSePSzBAIAu4hcHu7f8GGxcDA05+LBYCTzi/sv+0Kf7bD1ODQE5wLZcnMqQ01En/jcfEVwDHMEYuqpMVwoWhnqgrCou2A0kSoljhsk0g+TkVm4L1gkZ0JarpyxEq8BusA0vdjJKIEJghZol6YP9lAwlgNgCJ8xLKHlEKg0HnINqQDaBs3aG6C8jgMJmirr3BnwMGeZ8wacwc0n6kzpdf1NAguJ6yrwdXiLOQ= X-MS-TrafficTypeDiagnostic: TY1PR06MB0992: X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0992; 20:jQLPyEDSKJnZkj5u+EaWzMb7Sw1WKbkxEkmzn9wqSPwKuCLJwtIZQQQMrK77aH1xPkLGxUNKqWWwGuXffrDmi5GezZ1wstkQI3HQ6TOUMYNiLrlDOgX6hd/NUlqNzFp8irBZuyFQ2+kSonJW72+q3ncx1cXNgEGTfPA4ea+p0IY91Y0YTRyNkFJJdJUF4WOCk429xP4qIQvsrMjcHRSgnhBRLkWUt4ZYYIS8lZCfDRAwb/di/FMuBgC1v0w7jy/xucG57UliVn1XRs75/9gSjL5K5AIKhbb6XUu7fPIX83H54jG/y/cVjZ0++J05l7g7D8Dywc0+JLqA3bCiEz1X+DdjpJgEIxRwtdnQdDSiQbN28gPVfTHwyzq14RA83Scd/oQNEiGTHik+SxvWNilS0CyhyiaS6vObaWzZQdfWVLIKfDrep7yCORgDiVgTYFe79ohmVOPeCK1WXz0/V7ZIzGiggIy8910kz0iBj1QkE6TB9jjEK0fxIEyu44FCVWP5; 4:5d9/dhuuILU+gDJRcCEIWZp/ZFVeNyIFUvr226lC0LuRaIcnZSbUZiwSRbcKV9hvJktN3k4lePkRrjt/XesLEABsBJnBW7oPKhhRXchGNMwcrMSQClvELNfrsE3TpRm3jCYnXJfut3WqoItD/zhG8MQgEAY2DMmyxQV+k1N4dhvoahBEgJwbl2LSKihn7C5WTeVPNJsYyANykePlPpQyfduabauuQrEAD96tF3auusDpCn4OQztlXjPYMbOfW90IsKus8lngJ1ff66Cn0cc7gg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(3231232)(944501393)(52105095)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123558120)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:TY1PR06MB0992; BCL:0; PCL:0; RULEID:; SRVR:TY1PR06MB0992; X-Forefront-PRVS: 0648FCFFA8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(396003)(376002)(39860400002)(346002)(39380400002)(366004)(50226002)(16586007)(66066001)(6506007)(316002)(386003)(76176011)(498600001)(51416003)(54906003)(52116002)(47776003)(8936002)(81166006)(6512007)(78352004)(8676002)(3846002)(4326008)(6486002)(6116002)(25786009)(446003)(7736002)(2616005)(305945005)(11346002)(6666003)(50466002)(42882007)(5660300001)(48376002)(36756003)(16526019)(53936002)(26005)(2906002)(107886003)(575784001)(476003)(956004)(3720700003); DIR:OUT; SFP:1102; SCL:1; SRVR:TY1PR06MB0992; H:localhost.localdomain; FPR:; SPF:None; LANG:en; MLV:ovrnspm; PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: localhost.localdomain does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TY1PR06MB0992; 23:7QjERqwpxkXW25ZwAR1gs3/KTpM7Squ+rQB1ABkgc?= =?us-ascii?Q?bMtiWHcUYZXZ2WzNInMhx2gmTtV1jzv1w8hxhQxH+hMJaYpAq1hUE5m4hbgr?= =?us-ascii?Q?BBmDlAIiK5xKCALpwTrdGiLnn7ABm0gSS8OL6PqmApiPlFbMy17UzjfUv92K?= =?us-ascii?Q?cn7C9yXsRvK6P9mAsPWwrkA+Ki6xpGIvhyfEF5gKKyMk6Lbk9kJ75KYFgQUn?= =?us-ascii?Q?6pSWpGEIgzRs4Nia6uGwRxaNJSrgL90PzawxrYnxu7zkSWbHzLySAdCY5krA?= =?us-ascii?Q?LscWx+ECYa3FJuhnDveRfc+DqKn6yMQFxtu/cyh7/hbXfAbUjyxhdscyFXcc?= =?us-ascii?Q?UZG6inwfBKR3F70BiHRbGYyB8wcgQYl1Tg2iW81A5JupRvIwXeu5JEcJF5Z3?= =?us-ascii?Q?9xmq9jDg0z5WwUGQWbc0NNT5P6E++ParlJ3/i5NwWpUc6/VFpnfN3sFri6om?= =?us-ascii?Q?INd2jBE6rDqwlPG6+KorxmZAkOYe5/uhAU3ZMyIVdtHDsXYwCPIc6YBGA7Y9?= =?us-ascii?Q?/U4iEcdL2stK2NVZPQ2p6LbxJBk7pGE0dQIPanzVfqGhHad51U/FVqWKeref?= =?us-ascii?Q?17OnN11i8h8iTl3x5clXi2kHT5TflCkSL618oykooqtFue8N8+6NykiXZ405?= =?us-ascii?Q?VwkTY153loudjzddOMsJHAmdhuVY97Yo3Nu1PAQWNNyPYc+Ye+Xzun2uYSit?= =?us-ascii?Q?WAMphDH11zbk41iaR8mNjyIFAKms3oxlEe16fRozlTQrreLXW3uinMiaFlz8?= =?us-ascii?Q?BU42pMeLGZYsTbtsTkg5M8rmAE1NyNo938OZh9rR89G3jjYNm3umzhK/aHlX?= =?us-ascii?Q?tjmXvAKmq8wUsEyYEIvzFuFwsEE1NOOZMczUBPJlf7czVuMPDuIWg4BH8R87?= =?us-ascii?Q?27f0cxlvH5Oeu9YeMIWOX1Z72hAeB6TLvPRV9ytg8NVQuzLFJv8I3Od25hJ8?= =?us-ascii?Q?3BzGcsvBKTyNp+SZPNYGbvD52GoSpJ7iKrmcK5qG2cYWs8NtBMiXvKxjtjh5?= =?us-ascii?Q?elYRqtVssuRTCn3QAP3Lwc1YoHE31Fd0qpsojbYhea48tJjnC4w94jawl6o9?= =?us-ascii?Q?p+uyt3P/UToIypKwngo1iJJrwuFp+kEpD5V9UVau4baWC14AH5VJI9+0LmcZ?= =?us-ascii?Q?Ijquu1dUP0=3D?= X-Microsoft-Antispam-Message-Info: hESzhg/IHDJ09Vp5RCCitVIa6ufsuqVhEtWSARlb5i54oYSFHgZXpFRRR122W8GYaDMV/7Hb75RXsqmiE3j/odQa9OjillIYi0M4FLH0QCxXJlP3bkiC8FsoLXZQMPp6MdBjzPa6rDNemGs6RCwMsyjyUEXm0jAv/cxIWCjmnN1LUYZHpYv3kfYBWLBvPiau X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0992; 6:bBeCe1IQXlHRoqO0NXhoL/IZafsRl/NmI6gqtwKdctEVuJIjGl1Ym4cYW6VO3C0pLrIpRP0iFe2wyAK9MPCnqc83U1w/gswrTHeWLd8LA4ZyEmc1G5KE+JqmSrjzM542DPQNuJQvzaIVaQAceYI8UrCw7cDqaCx8rPr38v8BC4dCjZ2bHfY5WbqIc/HbVu1eBlbZU2eLsMBWxEcxHiAi9GpENWeXlqevcotEoWIGZVWpcWrfN8Vu4pqAPXQzfuy4onB5leXkNn0OtoVDfrG+jy8G9nMjzMBOs2VO+P5vZ0kjK2nUuLncl+GIc5JVtSiK+S3wJpF2S9GYTX+0CK1bbrcZ1STDPPBymS8GdlF1fXI7n/rWcfqVVQF4Cp+rosKPE87gvbw/1J+RG1BwytvyUqQqHyas42crq74namKD7KivcqFhI82RuZCXS/S0dVW12aMrtRT1FOBk4RdDxMWSQQ==; 5:5M0v1Hiup4wH9ygu9CfBtgs3NNP55LMZ9MhdxOyNO19so32xjkjafgvl2TPxS+lDlhdTEij9jk8V/mGDH3I3YAEwlbcGqfzAt06C5zysiXynmCupCrtAxEDpCRv0Vmdg0tUWbWOgMFvrJ2D7uQdfeGzwTXTffv1sTge5UI1R0sE=; 24:QfeCCBaktkoe3qNBdB326tTJ3fy9gedOKOvbrb5CbdiDLbJMlTrZDqOrnYva0utwyrmbQiw211mwV7mwTrIqHcV9tX2TSPaPvvwGRoqFoS0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0992; 7:Sr++lps2V1+Oxm5Xh1xcLpTQRbTx2uM6caqWCmeWs0ddB8+XhSqkxGzKkfwrHfLzPcwBVm2Az4pREaoA79Rdzyn7p4/z61hQblRDhYmQDKDD1++l0XZEbH+OgOBVW+4hJSgizadHgQH+tOtvPyN9BHnFgaawhFIt/L48XUwe5DYgwY2nj6OV3udrEG8jXvAdCNTdhgPpeztCEZFrFgcqr7ahnNBu4favcpttBU6LrLxJ/rVSKXOEp9fti+3X76hc; 20:VTynwaExM3F+LyQdeRHa3kZ7Eajt+ri9xJ2ZX6ruolkWkdiSyP/jIDsd3FjDdCp9UU0s5tErPWpscsS413J/uH6ktGzrZwuqyPw/PF6PFZynEhd1DdxTxVAnvToSfLvD1zWM+C5HIX0yCLUJDFvRHK1XnvcisPROYs9YSKY1oh0= X-MS-Office365-Filtering-Correlation-Id: 23871c33-ef07-4535-6f13-08d5a6ba2a59 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2018 12:28:04.6175 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 23871c33-ef07-4535-6f13-08d5a6ba2a59 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR06MB0992 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 Reviewed-by: Rob Herring --- include/dt-bindings/clock/r8a77990-cpg-mssr.h | 62 +++++++++++++++++++++++++++ 1 file changed, 62 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..2418e39 --- /dev/null +++ b/include/dt-bindings/clock/r8a77990-cpg-mssr.h @@ -0,0 +1,62 @@ +/* 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_CP 49 +#define R8A77990_CLK_CPEX 50 + +#endif /* __DT_BINDINGS_CLOCK_R8A77990_CPG_MSSR_H__ */