From patchwork Wed May 7 23:08:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 4132331 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A3043BFF02 for ; Wed, 7 May 2014 23:13:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3476201F9 for ; Wed, 7 May 2014 23:13:19 +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 097E7201C8 for ; Wed, 7 May 2014 23:13:19 +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 1WiAyh-00046n-OH; Wed, 07 May 2014 23:10:19 +0000 Received: from mail-ee0-x22b.google.com ([2a00:1450:4013:c00::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WiAyX-0002x9-IX for linux-arm-kernel@lists.infradead.org; Wed, 07 May 2014 23:10:10 +0000 Received: by mail-ee0-f43.google.com with SMTP id d17so1169255eek.2 for ; Wed, 07 May 2014 16:09:46 -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=7UU+7jx4U21rXNMtTteAx3PSxH6cQnTv7K670MP5/v8=; b=qsR+JwygHR5NdmUVqBUtQSi9szUlmeFreQ/e2pR81SZxUsFX9luo6OnqpYXkMhDvSh RbMlOjgOeedRL3va7TI8W/89U65dsRoKnfQ68/Shy/4Z6Lp3Md6LWzhD1iNK+ud0qu40 Ppb1HKE2EpnUVIaPGeY50brrH6L4xYizMnuRocfgRjzkEjCfqTKAvTi663JdYgUhS4zL Qf4f5YNQMDVVbpJAQmmaYVVF5nXdni613oXDTsqUjeMVcCJwEYC3jWZxdluT2YFHaQUT a2GuAOcgZfhRyGGqAnMjFMGT8ZRZdpFk+XagiCOyXXY0WfOccFz6sNr1lZvWa0HMOYP8 0ovA== X-Received: by 10.15.75.197 with SMTP id l45mr497348eey.89.1399504186731; Wed, 07 May 2014 16:09:46 -0700 (PDT) Received: from sark.local (host214-92-dynamic.1-79-r.retail.telecomitalia.it. [79.1.92.214]) by mx.google.com with ESMTPSA id u1sm133214eex.31.2014.05.07.16.09.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 May 2014 16:09:45 -0700 (PDT) From: Beniamino Galvani To: Thierry Reding Subject: [PATCH 2/3] pwm: rockchip: document device tree bindings Date: Thu, 8 May 2014 01:08:34 +0200 Message-Id: <1399504115-16257-3-git-send-email-b.galvani@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1399504115-16257-1-git-send-email-b.galvani@gmail.com> References: <1399504115-16257-1-git-send-email-b.galvani@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140507_161009_768138_EE1388D4 X-CRM114-Status: GOOD ( 10.80 ) X-Spam-Score: -0.1 (/) 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.15 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=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 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..35deba4 --- /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>; + };