From patchwork Wed Sep 30 08:47:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7293601 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B4510BEEA4 for ; Wed, 30 Sep 2015 08:48:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0E8520678 for ; Wed, 30 Sep 2015 08:48:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BC7C020664 for ; Wed, 30 Sep 2015 08:48:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754990AbbI3IsZ (ORCPT ); Wed, 30 Sep 2015 04:48:25 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:65380 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754968AbbI3IsI (ORCPT ); Wed, 30 Sep 2015 04:48:08 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 30 Sep 2015 17:48:06 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id CFE1D504A5; Wed, 30 Sep 2015 17:48:06 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id B5C53480A3; Wed, 30 Sep 2015 17:48:06 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id AF97B48014; Wed, 30 Sep 2015 17:48:06 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id TAH23067; Wed, 30 Sep 2015 17:48:06 +0900 X-IronPort-AV: E=Sophos;i="5.17,611,1437404400"; d="scan'";a="195454234" Received: from mail-hk2apc01lp0213.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.213]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 30 Sep 2015 17:48:05 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by SIXPR06MB0921.apcprd06.prod.outlook.com (10.162.173.13) with Microsoft SMTP Server (TLS) id 15.1.280.20; Wed, 30 Sep 2015 08:48:04 +0000 From: Yoshihiro Shimoda To: , , , , , CC: , , , Yoshihiro Shimoda Subject: [PATCH v7 1/2] pwm: Add device tree binding document for R-Car PWM Timer Date: Wed, 30 Sep 2015 17:47:52 +0900 Message-ID: <1443602873-4316-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1443602873-4316-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1443602873-4316-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0006.jpnprd01.prod.outlook.com (25.161.225.144) To SIXPR06MB0921.apcprd06.prod.outlook.com (25.162.173.13) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0921; 2:O0cqmR8GDoENGMUZI3Vu2WdP5HQWfU21jBXWj7pmO0kAdp4nXbk0dufoqUUy2Hw8hZHcBQl3rZGxjHEnyZ1rPhTCGZvlPizKaCBgBfYdh7QngR2mx5sff/oJFJGsfstu3elM4KCche/5ze40KYUlh9/UFz6+uL7ToVVTUN5Ls6s=; 3:NBkKz5u9dunRSs956u3TCb/ACsliHPOyJ675fN0x0//pVVeK3yapw3LIy+hWC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uZM2kDDoTL1K94Zw+U6pnFjTt1gySBFNIJL+uTEF6Mv9jlvnSVmm8o9zErMI9svmt5Dt63x7EUYx7iJmPtdR74ObYvZqoaMh8GG8k8ERsCWODxDivGcu01/JjOKABoZt8nT7sZPxpVhRxYSZHae1xN0xx9OKL0DDlANvSx49CYEQiAS79Qwm0fqMsEfoT3Q2LZjz3KxvtytTaJSX8CuOeUbouL4f+jbmmO5dwBkrou1uZX3oVGNoW8Hz1MbC/n2+r1YGpW10= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001); SRVR:SIXPR06MB0921; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0921; X-Forefront-PRVS: 071518EF63 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(6009001)(199003)(189002)(46102003)(105586002)(77156002)(5003940100001)(5001960100002)(66066001)(62966003)(33646002)(64706001)(189998001)(19580395003)(47776003)(76506005)(42382002)(19580405001)(78352002)(2950100001)(101416001)(107886002)(36756003)(50986999)(5007970100001)(76176999)(4001540100001)(50466002)(87976001)(229853001)(50226001)(48376002)(5004730100002)(5008740100001)(5001830100001)(42186005)(5001860100001)(68736005)(81156007)(575784001)(122386002)(77096005)(5001770100001)(97736004)(40100003)(106356001)(92566002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0921; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB0921; 23:qIO571IABhOaSj9PZbs1myILPeb3QMHgi1nEkhujr?= =?us-ascii?Q?gr2SYCWqtTlVCArLIer+YNat7vAN/HS3oVTEffh6X5Jten/shQz12GUK854v?= =?us-ascii?Q?CHvr0xUvphsitzU2mDArDNuCEWRjwiKXTowBCFhO7IHxYtKzBuDlL43Ix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u8aKRTSM4SMHk0wK0bNPf0Sh7L8zyRkkfO?= =?us-ascii?Q?KJe9XPe/fMpp/el4pFTWQYzWVnfoILdpzhD6Ui1VinduW29TgfMZ+CmeY9v6?= =?us-ascii?Q?ZvwMw9ngNTMJOzlsBIwINCWteN0ldxB6l4WIf8XxouxtFdI0ll+cQxmQZe/k?= =?us-ascii?Q?w8riqB1JCDfTxVhUTz7lX0nqfmMQ8UzhSjAstwlmNmOMXHKes2kB4uVJCTZj?= =?us-ascii?Q?qDXPc+houARSNrORA9vNv6p7KZmWNManYbBuqQzBiWtXG+orACDUZoKLEXz8?= =?us-ascii?Q?LxyzppqyPbnen49CwFYvka3f46SQYiKGL/4zW3MP97y?= X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0921; 5:Khzn+QhAWwLWhKLLZO0f7HFH1UiyeaQaEetErfZ6DKLsPPR0qU5aNIKnF9Yxx8SNVOoYg9HAcZJznWjAceJa2OF+2KcWsMEYg9yzuFh1UFPDmjUb6uyF0H65RYPZdKW4amNtBljEWlz49DT9p1mmbw==; 24:81CssSqRceyPR89ofju56QJMLXyzkYGpxH1WZO9ggJw8CYvxdJkemcH5SAqeAAtCKmdc4AQ7kt6I94vZy5sYI9Ap6fzgrSbIxyzM9F/lpBM=; 20:f96Ba+Y40Y4xA50qI6W4TQGNKz3//MiQXfqgJF8dbhStpHH8WKxpoCbbGIbyRX6IRJyfmyTZopdvt0ib3D/ucpf5Cot5l9t/wTd8J61/aGYeBLSLGhHPZRdUkYcIadIoYh1DXj5WjPA5FC2CT0zf2mq/H04Xx/Ir3NkPn/ZfVPM= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2015 08:48:04.4119 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0921 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-4.1 required=5.0 tests=AXB_X_OUTLOOKPROT_ENVSDR, BAYES_00, RCVD_IN_DNSWL_HI, T_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 Reviewed-by: Simon Horman --- .../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"; + };