From patchwork Fri Mar 23 11:32:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10304163 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 861B760385 for ; Fri, 23 Mar 2018 11:33:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76C9728D19 for ; Fri, 23 Mar 2018 11:33:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B88828DA5; Fri, 23 Mar 2018 11:33: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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI 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 D6E2928D19 for ; Fri, 23 Mar 2018 11:33:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755178AbeCWLdC (ORCPT ); Fri, 23 Mar 2018 07:33:02 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:46165 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755321AbeCWLc7 (ORCPT ); Fri, 23 Mar 2018 07:32:59 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 23 Mar 2018 20:32:57 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 92CE88E671; Fri, 23 Mar 2018 20:32:57 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.48,349,1517842800"; d="scan'208";a="276041037" Received: from mail-sg2apc01lp0241.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.241]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 23 Mar 2018 20:32:56 +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=tu79dtQiKH+0l6fJgQRsChcpRW9cM4IEd7AJ0vEgB2w=; b=mIDPuS9LK3aGK3uPXwOjIFkSSa9kdjtG64vWXpN+k6ZJ8wfem6wgalTlUZV0dsacdo/AOhGnGp7mEqC0RCTnF3pCzrrQilNnlx8Pgmnila1JKXxOrTrJqOyXPYQLvG2NUmEC64+VpvEBO+qdl2yUhCMz1BtLN1LC6Iii6GJZniM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost.localdomain (211.11.155.138) by SG2PR06MB0984.apcprd06.prod.outlook.com (2a01:111:e400:5213::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Fri, 23 Mar 2018 11:32:54 +0000 From: Yoshihiro Shimoda To: horms@verge.net.au, magnus.damm@gmail.com Cc: linux-renesas-soc@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH] arm64: dts: r8a77965: Add PWM device nodes Date: Fri, 23 Mar 2018 20:32:51 +0900 Message-Id: <1521804771-27735-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: SG2PR0401CA0007.apcprd04.prod.outlook.com (2603:1096:3:1::17) To SG2PR06MB0984.apcprd06.prod.outlook.com (2a01:111:e400:5213::26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a60eb2cd-ea45-42db-98d4-08d590b1d20d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(2017052603328)(7153060)(7193020); SRVR:SG2PR06MB0984; X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0984; 3:/Q2wNnx4l3TQPdVQCKeb/0EX5WjTeMMM+Kkt2GPi0iYqpJjCkkqR46LVdWZvozGN027xUdZlVhMuZhYz1XJHy3QIMzp0jySsm5ohjwrCuRuB9HaivzscwzDjP1ah0JRmDRGHFo1fJx3zzSmy3/tPPB+PsjOutRKs0w8jT1csFYd3B6Ln9c4maS/TxWliH274SQjwHzVvuttD8U42DhS+dCfmTi6Ex+y8jWS39DplzT6Noh70uO8Afvhm56/mtebn; 25:lghzQIOaKvgazTQtKZ+AC2r0wQ5dFLeG4xHeFAeiH7MTLtSW5gZoI7MyxLckens5cpyxz6jll8RjI/Lcoxc27J3Nf3dkX3h51wD9dCpaLoklYQVBKyrdtDN4F/0vK7waQgWqPgQ8vYNhBKEwhNkNf/WWym1t1yA94v/EeOdNDgd08OTlby7vDMTgYFAnjlqEa+dwX+6/uJURxYMwz2f74eCv1iu+gOM6Z06iQN/nSY302aItg2YiTTfEb2DRwNz30OkGY9Vu+3axqEtK66VWJ5o1BnYH9rCy2gNrxFi+NLFY9sL90iDut8nHQqwKI0HGM6R4F24bXs2MqER7Hdfs41ajShQPnfnaeNGNvcCtLGU=; 31:v6ppROvI+IChMVv/i3zq+S4gLfDXSP38FK1+ZZ8czHymonlVCrN0NjchL2mPbAtTtY53/iqhu1bjVKNdWg9kmtQKc0Zogvb13aXYbfz30fqD8+dSKUcr8XGSqZOYks4EkqPgi/EJCQzKQRvQp01p9zS9SRqeVVawjwajvmV5SSiP2NEhuIw3US/Fnl3NiSLN+coZjxADAXbjtGj7nJlTwO3TAp68ScZlDA0W9Dmqa8Y= X-MS-TrafficTypeDiagnostic: SG2PR06MB0984: X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0984; 20:qdBAQM1cYgg/NSLkR9RYSxhTY89NdU2zjMXuqpTar1KmL701Bs6Ig6Sw4RtpAJCCF/10Eqrh8kW5R4qwxAF+RJJYisNJtCuu7CJT+2BJqnAJSHjbynO/UoOnsrwg37iHXLuts3+1NJpIxjlaJyXHn+qPL145/qamExBWUqeQO8FAPQwml7A4O/H9LcPPN56zLsV2JmKXi241ORvDPT9ELTnF6iVygeEn1VGQvvaSxdDvF6aiPvXGLsbUyt6smFIbkaOfY9m+3pA6VTUNa2bqutvhaPtZdL77wfLPFGrSVfCn7AKEWkh8h6wfZLMkbR9uUbWcxv3LraXVxzxsJABnF3gv1IC5/EbxXTHD7Fxhf0HEYyJSOsWrYbPGgVQwRrZ9u3W4IUtyoC8R8lWEnxEp+tvU5KOH/EJi9Aox1uDtxQRMNHWZrMYWgm451qSE0T8ABj0RL5Q/T7HnXHtcT9jlGYLf1WayoeAqC/VzImB9yHHarzjSFJVq8zJiL+VZ9C6t; 4:9HxZQk0qnYDMUfDFuxcMajwtGxf8N7cMnbvqG/yosK7bPjqZvLA6Ck+aP85CM9CJMM2G43sw7xkvxmFQ6gjFIaLm2Trjc8As8OW6r04i9ntHRU26gmsEQCQ0aoL2o19lya9JmLyKLj9Yw5DJ3/rLh403oM1SaRfiaGCd7l7DDaS0r4sWT6rwWcpz/Gvbygv/Fz21K3HiAeJ8AIFJq2Mpi8UuXwZl8F7t11aVKZ8B94iQbeOHilLiYte9RvJ4hRTfeDinSO0GD1SZQnTgR8IvGg== 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)(93006095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123562045)(6072148)(201708071742011); SRVR:SG2PR06MB0984; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0984; X-Forefront-PRVS: 0620CADDF3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(346002)(366004)(39840400004)(39380400002)(376002)(396003)(199004)(189003)(42882007)(50226002)(305945005)(26005)(51416003)(106356001)(16586007)(6486002)(16526019)(316002)(498600001)(39060400002)(47776003)(68736007)(36756003)(5660300001)(105586002)(6666003)(107886003)(7736002)(6512007)(97736004)(50466002)(8936002)(48376002)(66066001)(52116002)(3846002)(6116002)(2906002)(53936002)(25786009)(6506007)(386003)(4326008)(1857600001)(81156014)(81166006)(8676002)(59450400001)(78352004)(3720700003); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0984; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; Received-SPF: None (protection.outlook.com: localhost.localdomain does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0984; 23:QntRgu83AUfqCjBMnxM2PsDtiI9sDMaaoaKEMltrg?= =?us-ascii?Q?FWPJG/Bz2qKfihvN+aR5npuxYhsZ+bBvbrX9Ad56S4rLDBSY/UvUb1qW3QY8?= =?us-ascii?Q?dB68moxRy1FJREjxf7pYVpDRfl4Xk6+o6OWzz7it2f7s3yoeU1XMTee8A0BZ?= =?us-ascii?Q?XZlGz9PZghgwSFzDkiR+93T20lBRNi7yXmociEde+j92kQoaggn7WChKGBav?= =?us-ascii?Q?JVK11WUjXXXtdlp3BhUKb6671iKB09HjTWsSBG/ubDp2HQFFhATmAiPP94Er?= =?us-ascii?Q?ZWYE/VtC0AShfFwXAe7AHY1G5MgmjCV+MMbNrCOaq7Rwn7spLtEYbovMMhER?= =?us-ascii?Q?A7wM38jwQTN0G79L1vmMgIjn8FEp+JU2mMpFgJ5s4U9nQ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oWvLbbzaVR81E5C SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0984; 20:IS42TcNs4UNlSxs4kygtpggqJk/3Vk+TeNG87oMf7fwRU+Tt6jtGP2RcN/cXdDRcGlYFQRartz9qz9aL4/vtlwPJW4VEx6ERCpIEWzRo9FdSouuaZnQzPceb8mfjiEVqyPw8MzJYOwSzvkdzv+5rwFFmJ2jVL0c6TCBd0xmw3Vo= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2018 11:32:54.5041 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a60eb2cd-ea45-42db-98d4-08d590b1d20d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0984 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds PWM device nodes for r8a77965. Signed-off-by: Yoshihiro Shimoda --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 48 ++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 6f748e94a..5dc6a7c 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -770,39 +770,73 @@ }; pwm0: pwm@e6e30000 { + compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar"; reg = <0 0xe6e30000 0 8>; - /* placeholder */ + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + resets = <&cpg 523>; + power-domains = <&sysc 32>; + status = "disabled"; }; pwm1: pwm@e6e31000 { + compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar"; reg = <0 0xe6e31000 0 8>; #pwm-cells = <2>; - /* placeholder */ + clocks = <&cpg CPG_MOD 523>; + resets = <&cpg 523>; + power-domains = <&sysc 32>; + status = "disabled"; }; pwm2: pwm@e6e32000 { + compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar"; reg = <0 0xe6e32000 0 8>; - /* placeholder */ + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + resets = <&cpg 523>; + power-domains = <&sysc 32>; + status = "disabled"; }; pwm3: pwm@e6e33000 { + compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar"; reg = <0 0xe6e33000 0 8>; - /* placeholder */ + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + resets = <&cpg 523>; + power-domains = <&sysc 32>; + status = "disabled"; }; pwm4: pwm@e6e34000 { + compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar"; reg = <0 0xe6e34000 0 8>; - /* placeholder */ + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + resets = <&cpg 523>; + power-domains = <&sysc 32>; + status = "disabled"; }; pwm5: pwm@e6e35000 { + compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar"; reg = <0 0xe6e35000 0 8>; - /* placeholder */ + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + resets = <&cpg 523>; + power-domains = <&sysc 32>; + status = "disabled"; }; pwm6: pwm@e6e36000 { + compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar"; reg = <0 0xe6e36000 0 8>; - /* placeholder */ + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + resets = <&cpg 523>; + power-domains = <&sysc 32>; + status = "disabled"; }; du: display@feb00000 {