From patchwork Sat Jun 21 14:22:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 4394171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D65F79F314 for ; Sat, 21 Jun 2014 14:26:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 109512024F for ; Sat, 21 Jun 2014 14:26:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 404372024C for ; Sat, 21 Jun 2014 14:26:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WyMDO-0001Du-6C; Sat, 21 Jun 2014 14:24:22 +0000 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WyMD9-00010Q-UY for linux-arm-kernel@lists.infradead.org; Sat, 21 Jun 2014 14:24:08 +0000 Received: by mail-wg0-f52.google.com with SMTP id b13so4841082wgh.35 for ; Sat, 21 Jun 2014 07:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gQGGkGw7C4hxhvxKmFVz1hgZiidgvucB57VigjPstWU=; b=Ycey3OGxrzNDCVv2WTbri3HuPhSZlIUjlAUruswJMWUhEbmwOdd/B86WyLPnwZ0ySR DEMQ/s7Aoj8VOdZFVuj2JnEcmcZLX5tiby0UU/y1t0Eis+6CglHsG492wToalSch9pWd 8qG/Ap2euuXnyAcS04TIAk5ovv619F8aDNjO1LU4jZQEpWzbxutSXlXfcvORQBkmcv+Z 6GIxhDQVevLftgVtSRQd7DdoAGHu8nwbkzekvQx9vEEV1a+EHQxu/VZx8yY209//RZ1m zOlniHNKReY92aEGjwZT8riZJMpQW3Ci3cga2Fr7mWka/fxmxqmlRM4V1VVX4hJ1zP1y a4SQ== X-Received: by 10.194.216.162 with SMTP id or2mr12756264wjc.0.1403360625180; Sat, 21 Jun 2014 07:23:45 -0700 (PDT) Received: from sark.local (host188-27-dynamic.31-79-r.retail.telecomitalia.it. [79.31.27.188]) by mx.google.com with ESMTPSA id rw4sm22667978wjb.44.2014.06.21.07.23.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jun 2014 07:23:44 -0700 (PDT) From: Beniamino Galvani To: Thierry Reding Subject: [PATCH v2 2/3] pwm: rockchip: document device tree bindings Date: Sat, 21 Jun 2014 16:22:07 +0200 Message-Id: <1403360528-12757-3-git-send-email-b.galvani@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1403360528-12757-1-git-send-email-b.galvani@gmail.com> References: <1403360528-12757-1-git-send-email-b.galvani@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140621_072408_178271_2A68D5DC X-CRM114-Status: GOOD ( 10.74 ) X-Spam-Score: -0.8 (/) Cc: Mark Rutland , linux-pwm@vger.kernel.org, Heiko Stuebner , Pawel Moll , Ian Campbell , Randy Dunlap , linux-kernel@vger.kernel.org, Beniamino Galvani , devicetree@vger.kernel.org, Rob Herring , Kumar Gala , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no 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 This adds binding documentation for Rockchip SoC PWM driver. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/pwm/pwm-rockchip.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-rockchip.txt diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt new file mode 100644 index 0000000..3182126 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt @@ -0,0 +1,17 @@ +Rockchip PWM controller + +Required properties: + - compatible: should be "rockchip,rk2928-pwm" + - reg: physical base address and length of the controller's registers + - clocks: phandle and clock specifier of the PWM reference clock + - #pwm-cells: should be 2. See pwm.txt in this directory for a + description of the cell format. + +Example: + + pwm0: pwm@20030000 { + compatible = "rockchip,rk2928-pwm"; + reg = <0x20030000 0x10>; + clocks = <&cru PCLK_PWM01>; + #pwm-cells = <2>; + };