From patchwork Mon Jun 15 09:08:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 6607151 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1FF1F9F326 for ; Mon, 15 Jun 2015 09:09:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D209204B5 for ; Mon, 15 Jun 2015 09:09:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 356B6204A0 for ; Mon, 15 Jun 2015 09:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754089AbbFOJJD (ORCPT ); Mon, 15 Jun 2015 05:09:03 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:9621 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753294AbbFOJJB (ORCPT ); Mon, 15 Jun 2015 05:09:01 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 15 Jun 2015 18:09:00 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id CA2004AE66; Mon, 15 Jun 2015 18:09:00 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id A5F058002F; Mon, 15 Jun 2015 18:09:00 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 8AD348002E; Mon, 15 Jun 2015 18:09:00 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id UAJ20382; Mon, 15 Jun 2015 18:09:00 +0900 X-IronPort-AV: E=Sophos;i="5.13,617,1427727600"; d="scan'";a="188313981" Received: from mail-sg1lp0094.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.94]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 15 Jun 2015 18:08:59 +0900 Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none; Received: from localhost (211.11.155.147) by SIXPR06MB0924.apcprd06.prod.outlook.com (10.162.180.29) with Microsoft SMTP Server (TLS) id 15.1.190.14; Mon, 15 Jun 2015 09:08:57 +0000 From: Yoshihiro Shimoda To: , , , , , CC: , , , Yoshihiro Shimoda Subject: [PATCH v5 1/2] pwm: Add device tree binding document for R-Car PWM Timer Date: Mon, 15 Jun 2015 18:08:43 +0900 Message-ID: <1434359324-2964-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1434359324-2964-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1434359324-2964-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: OS2PR01CA0044.jpnprd01.prod.outlook.com (25.164.161.154) To SIXPR06MB0924.apcprd06.prod.outlook.com (25.162.180.29) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0924; 2:UnLlZX+gvbpQF/cShfywcRjZcJvnKvu2+Vq3BCxqfP82CG8H7O4TfZTZlsC3OJIo; 2:bo5MYUfx9E31dAbplBriz/eQ32D29f5L919z0B01iaY1Y/S4U3ynXBYjkgC7Jdq9i4OwUPxiZhf2h+uwv+q2VjfGeLYHKSsIVgiDnxH3O0BcN9UgJw6bGdVvTr7vaO2mat9+UCDqF3Bv4j2NNEzXjA==; 6:qqZflyh+CUZOWxiHCOoOsHl8TlsJ2job/e5VY9CMX4GOda4W6rDq9LuvSHmUqlYNSo18lEu0NeUJAFuGJNuqDk3+t/becokPDQlNqgnk29jc913aYiALAKdzZGKr50997aXgf0wM/kMFswgC9ffZRHqdJiQwawNBvYpYcklRU3e8zKCRqvvoJD+JgRRsz6aFS69dChp4huTUbaeumPDx3ZKTgjmhH3N9+U0NjztrZnE+LwPfzPvFuEBXBx7IMPkvn4+FKX0YXdcI/eQ3glzZHdXMTdn3z7gUQjp2fTQ0RmW7dxdJ0AaYVs3qyO42y/k9X8QSmU7GIM2EWnbX90ii4+yxYwOUOu8BzVG6hSU7poPazICSsNHEQkEkUmCiDkA+YI2J2cvnnqwYyD3QWcOY3Ydzznt12LwMJdtJa5B+JdyoS7zA8dEpA6j94WPrMQPbe19Tt9i0SI7mSglBmpPlcDhWn48I+sHGGZiQCZqckX6Cg2XZED89WXlgwA12wTxE X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB0924; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:SIXPR06MB0924; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0924; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0924; 3:4VO3awl893mOCLOf9W2LTpvoWZWBae5xUR8sbkAeYFXQKd26HrSca697T6XugyGcu3quJV1x7Z4hFOla+iqabEM8a0NLqP2H1BdDVtl51KyB7q2SODO07vuRbMSuz1nMpMhfGP5OYL/O/q+0kmG8xQ5GEQLfzcJGasPdndk1pNkOU62s7KPBMlUeVFLo3jKiZGj9mGG2W1ISsuPlZUXZoObykII9jjRFRHEd+/XkABQjhzppl/lW23eVa1jsA651cUgUWb0nr88BrlCE7E8tyBAGfekVT/UpEruDSFKm5C/CqtEjOye6ObRTAGgXVaVx X-Forefront-PRVS: 0608DEDB67 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(92566002)(229853001)(48376002)(50986999)(50466002)(2950100001)(42186005)(50226001)(36756003)(40100003)(33646002)(47776003)(122386002)(76176999)(575784001)(77096005)(78352002)(62966003)(87976001)(19580395003)(42382002)(19580405001)(46102003)(76506005)(66066001)(5001770100001)(77156002)(107886002)(5001960100002)(189998001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0924; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0924; 9:dE73Pw2Xy4/Y+Sl5VDkeY6REp0FNJIAxCNHNTLQcFkVnC1xpZ87q/GKAJIKibpq+/af47kilJwLUlT9eRwm70QB1eUSZdm4QRWg2ZDExzFvhdb0pCHFU7WncWO7cAR8MJ0a0ZeRZ3ditrD7QczhIuY2ivmCNU7Ipnw52+dr7U9O/javVHxy5l+E/BpcMWS7hsYWylxExx+MaxFWh9zELeJVrV0s2lxFGoLCt4pNVb/lBzVv7OizipRA2Ca2pZz7SbkBOi8f87Qs6nEVCM/RMWPVY8x9qNEDz72n4+Ee9pLrb1oLU49yY/MTXQLAP5IFN0URIxK3SarAYZZ9Mxd0R5UB96eFJcfwSkpQpIFtrVn81zs37x6icOxc1ohMsq4YUBT+h/arby8pHbBjCbAx/3cPXeA44vpgzIBGJFCCkCpMAaoeYB4+g85JK/q9eE2kOiKz8VGIKwliISipjAhR/qSwAX0w/YbRUng6MPJWRTAaTAA/rWiz03ID2CgQ8cQqL9YpYm9MO37UirvZWdol7pXp8C9q/D35qBKclIpNkqhS/HNfzOZSZZTQFvbXwzW4XOr5w7EZWCRzF42AoVQbuw9qEcAEGWqxyEJUc+ykPoa4eBqiJmXLUs/LOY974HoQF8sxTnJW4V+g42P2khXbkRZRiFLhQ6i3zhVK9RD+3o8F7wBoB/ij+7J8jEWks/55yWDwBGzMaMuQ9LBPYOR/kJ50YXteOBW34Y137nicRC7DldchtceV+K8zEtY0z82dtKLpFWpr39KZXuLOfngR9g5x/0vtGxINKiq4HPK5fyNqlzwqBwZ954rIusmmiVSLfLfPjsYjDtuc4u6qpehag77BiVLHlIwRMqhRMTlgUl2Wwc7zriaXzzURbg1x1vrM4jgX/YIqlIAda0xEta6H3sA== X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0924; 3:9Z5aoLo5zmIgJXm/K5Yl4SVBCXKYOuGK2Mglfw2f6IxAa3/4CqEkymbG6kX6zoIledwibNSGKotD99wyJ2r+r18Bm0h/SfMFXx6CL7qxMsD0Sa34qk8RI/NqTBoPaJ5GFP+iKb/X7uuFB1oUPa20ow==; 10:Ke7I7T5s8kDn472Q9prp7m+cQLodHfkbW4PEX5cYgt7wb3/a/IkvihSpR56ce4WeQuJEQ4DLh25o9+fpXPaH+DMUB/5mXaWE/SU63Gjd640=; 6:D+1ijmDQsBexvEWCZ2KBYeXoWuVFzQeKsJmO0u240oNqD8yP7Yr43uKJmS+xB2Xa08GWaV3YwrOuOpJbdIPR1pnL3u7iJMiiGdFWxCZzTcznmhI9CFwbFIJm5nU30aT7RACo9ftYrzr6fi1QEPe1Mg== X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2015 09:08:57.6606 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0924 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add binding document for Renesas PWM Timer on R-Car SoCs. Signed-off-by: Yoshihiro Shimoda Acked-by: Geert Uytterhoeven --- .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt new file mode 100644 index 0000000..ea0a27b --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt @@ -0,0 +1,27 @@ +* Renesas R-Car PWM Timer Controller + +Required Properties: +- compatible: should be one of the following. + - "renesas,pwm-rcar": for generic R-Car compatible PWM Timer + - "renesas,pwm-r8a7778": for R-Car M1A + - "renesas,pwm-r8a7779": for R-Car H1 + - "renesas,pwm-r8a7790": for R-Car H2 + - "renesas,pwm-r8a7791": for R-Car M2-W + - "renesas,pwm-r8a7794": for R-Car E2 +- reg: base address and length of the registers block for the PWM. +- #pwm-cells: should be 2. See pwm.txt in this directory for a description of + the cells format. +- clocks: clock phandle and specifier pair. +- pinctrl-0: phandle, referring to a default pin configuration node. +- pinctrl-names: Set to "default". + +Example: R8A7790 (R-Car H2) PWM Timer node + + pwm0: pwm@e6e30000 { + compatible = "renesas,pwm-r8a7790", "renesas,pwm-rcar"; + reg = <0 0xe6e30000 0 0x8>; + #pwm-cells = <2>; + clocks = <&mstp5_clks R8A7790_CLK_PWM>; + pinctrl-0 = <&pwm0_pins>; + pinctrl-names = "default"; + };