From patchwork Wed May 13 09:27:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 6395821 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 0DF88BEEE1 for ; Wed, 13 May 2015 09:27:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 36D7C20412 for ; Wed, 13 May 2015 09:27:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45F89203DF for ; Wed, 13 May 2015 09:27:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933633AbbEMJ1j (ORCPT ); Wed, 13 May 2015 05:27:39 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:9025 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933632AbbEMJ1i (ORCPT ); Wed, 13 May 2015 05:27:38 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 13 May 2015 18:27:36 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id C7CBB4F7FF; Wed, 13 May 2015 18:27:36 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id B9F751806F; Wed, 13 May 2015 18:27:36 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id B35131800A; Wed, 13 May 2015 18:27:36 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id UAE27609; Wed, 13 May 2015 18:27:36 +0900 X-IronPort-AV: E=Sophos;i="5.13,420,1427727600"; d="scan'208";a="186108912" Received: from mail-sg1lp0088.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.88]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 13 May 2015 18:27:35 +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 (25.162.180.29) with Microsoft SMTP Server (TLS) id 15.1.160.19; Wed, 13 May 2015 09:27:33 +0000 From: Yoshihiro Shimoda To: , , , , , CC: , , , Yoshihiro Shimoda Subject: [PATCH 1/2] pwm: Add device tree binding document for R-Car PWM Timer Date: Wed, 13 May 2015 18:27:17 +0900 Message-ID: <1431509238-7648-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1431509238-7648-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1431509238-7648-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: OS2PR01CA0013.jpnprd01.prod.outlook.com (25.161.74.151) To SIXPR06MB0924.apcprd06.prod.outlook.com (25.162.180.29) 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)(5005006)(3002001); SRVR:SIXPR06MB0924; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0924; X-Forefront-PRVS: 0575F81B58 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(6009001)(50226001)(42382002)(33646002)(92566002)(77156002)(62966003)(47776003)(50466002)(78352002)(2950100001)(40100003)(48376002)(46102003)(66066001)(189998001)(5001770100001)(42186005)(87976001)(122386002)(36756003)(5001960100002)(76506005)(107886002)(50986999)(76176999)(229853001)(19580395003)(19580405001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0924; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2015 09:27:33.6083 (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=-6.9 required=5.0 tests=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 --- .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 21 +++++++++++++++++++++ 1 file changed, 21 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..38123f9 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt @@ -0,0 +1,21 @@ +* Renesas R-Car PWM Timer Controller + +Required Properties: +- compatible: must contain "renesas,pwm-rcar" +- reg: base address and length of the registers block for the PWM +- #pwm-cells: should be 7. 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 + + pwm: pwm@e6e30000 { + compatible = "renesas,pwm-rcar"; + reg = <0 0xe6e30000 0 0x7000>; + #pwm-cells = <7>; + clocks = <&mstp5_clks R8A7790_CLK_PWM>; + pinctrl-0 = <&pwm3_pins>; + pinctrl-names = "default"; + };