From patchwork Wed Aug 19 04:13:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7034911 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 63D98C05AC for ; Wed, 19 Aug 2015 04:14:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F33020822 for ; Wed, 19 Aug 2015 04:14:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 154C520840 for ; Wed, 19 Aug 2015 04:14:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750901AbbHSEOQ (ORCPT ); Wed, 19 Aug 2015 00:14:16 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:28628 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750888AbbHSEOO (ORCPT ); Wed, 19 Aug 2015 00:14:14 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 19 Aug 2015 13:14:12 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 00F494AB7F; Wed, 19 Aug 2015 13:14:13 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id EDBBF2806E; Wed, 19 Aug 2015 13:14:12 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id D23372806D; Wed, 19 Aug 2015 13:14:12 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id PAL00799; Wed, 19 Aug 2015 13:14:12 +0900 X-IronPort-AV: E=Sophos;i="5.15,706,1432566000"; d="scan'";a="192579040" Received: from mail-hk1lp0119.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.119]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 19 Aug 2015 13:14:11 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by SG2PR06MB0919.apcprd06.prod.outlook.com (10.162.204.152) with Microsoft SMTP Server (TLS) id 15.1.231.21; Wed, 19 Aug 2015 04:14:09 +0000 From: Yoshihiro Shimoda To: , , , , , CC: , , , Yoshihiro Shimoda Subject: [PATCH v6 1/2] pwm: Add device tree binding document for R-Car PWM Timer Date: Wed, 19 Aug 2015 13:13:58 +0900 Message-ID: <1439957639-4816-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1439957639-4816-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1439957639-4816-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0017.jpnprd01.prod.outlook.com (25.161.131.155) To SG2PR06MB0919.apcprd06.prod.outlook.com (25.162.204.152) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0919; 2:TEEscuILbIGR5dd0rTSwBn7IISmeXxodVk9xpyQNsKdYnLmDJXvKbdo1gcubW3VauyHNB1AwfpxIhp19H3/ouAP/5PpOma03sARlVGw1MDrAlu3khXQAzd4paIj3ge5PL94sacnkCxDuG++Jd+P7xuH5EXLbLwqp3ZvHtRe2t8o=; 3:BPaodfYd3ax/Rrf/4pyM5o+Y76myEtsv7N9/h0Z1MrDNXh/Gp7utljfyizlLpf6/lo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rpJlmie1bHyrWe7SE1VVibZu5zp/lFApx/9yGpDPRfL56Y2p3+j7/N8VLVCZxwYu2UtdKw9cm4P/dMug0IgkFUPpBKGXQfZtCESXafmkoASbq8JunsJBqnrNY5W16i2NAyrAHcvMzKadaLlAilte804Tsr8ypd+e5LWswBMZZXTjRNjIukCvQMoA+QexbcVAatEoMn1FzWFhELdBQLMhT4dU/CbARr1hwz8wq5KPpevJOHVw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:SG2PR06MB0919; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0919; X-Forefront-PRVS: 0673F5BE31 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(6009001)(199003)(189002)(78352002)(66066001)(5001830100001)(62966003)(92566002)(46102003)(19580395003)(19580405001)(77156002)(575784001)(122386002)(33646002)(77096005)(2950100001)(4001540100001)(68736005)(81156007)(40100003)(48376002)(5001770100001)(106356001)(105586002)(76506005)(42186005)(47776003)(5001860100001)(97736004)(50466002)(101416001)(87976001)(36756003)(229853001)(76176999)(50986999)(42382002)(5003940100001)(50226001)(189998001)(64706001)(5001960100002)(107886002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0919; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0919; 23:OQMHYcDiInqde3iLkBdknZkn8MkPjAX6JPLZdXv+z?= =?us-ascii?Q?blvzkVR2Udo1F2m78fRRb564anjRYs7E3jVmc7ZccY1Lp3z1snRfttjbnXlQ?= =?us-ascii?Q?+K2AsiVuNCjgFMZbvbfvp4OJyFH5GxlsrhQmn1eSLqHnndwDq+yJ9NeyPk6H?= =?us-ascii?Q?o+fuicaVRMSqiCNXqkieIv+AujolT5F+mXwr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q?8L9bT8BXtbYsxjt7Wi3xcMb3sHwHgZEarl8O1utiokrAvXEJ0XFz/ockOOwb?= =?us-ascii?Q?pVTdYA406tTXCC/c8yyqLYNaTJ5uEGYSW4Gs5gzK4Tu1MrYaytP3x7HfySop?= =?us-ascii?Q?7R5jk7Y2WHb/HNRu3O/uzCrdg8KyyK5R6xITKbBq2wvJoasQ4qBoz1oKnO7+?= =?us-ascii?Q?NOkozz9pvhjHG/Hvu4=3D?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0919; 5:smvXsuRwNHrOUjrxG3GNmNIMAztb/rYldutm7qo41TN6K+yUos9GptKG3JJ0Z4JhCl/PYAGWXR0/AnBfGSgenxQC6VfBvsWk09Qq2D03l7OT8EG+QHtoycRXVSWmH2hk5CQ7tUeDerJlaEEmN7g3xg==; 24:hkoJx3w/FKU3e7wHgdRCkLTFeUruZdI4f8jdgd2MVA1yhANMPTYIpNQllrRGdFDKmVm3EBsBOYzB7j30uTLje7PhjiEy9YatCpKrJ7Oa9cs=; 20:8nRkp8T3HuqKLoFCLtYKLcMTNjhqldoRl/c2etxndFMFXzE/7KIA45Bbd+3Bz/dkFgAo/R5jxaAWqM3Lt2O5GIJdgAJ/ONOPTyC20yBw4AsEY146SpaBLwNnxT+EJD0nDWKfQn3Yj/cQlMcYgU+Nig+1Tw3vlUST5j0d8aL27gQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2015 04:14:09.9762 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0919 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.3 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 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"; + };