From patchwork Thu Mar 17 22:07:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin Cooper X-Patchwork-Id: 8614601 Return-Path: X-Original-To: patchwork-linux-omap@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 AC2E3C0554 for ; Thu, 17 Mar 2016 22:07:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DECBE201B4 for ; Thu, 17 Mar 2016 22:07:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 083A7202FE for ; Thu, 17 Mar 2016 22:07:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030519AbcCQWHy (ORCPT ); Thu, 17 Mar 2016 18:07:54 -0400 Received: from mail-ob0-f193.google.com ([209.85.214.193]:36489 "EHLO mail-ob0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932621AbcCQWHt (ORCPT ); Thu, 17 Mar 2016 18:07:49 -0400 Received: by mail-ob0-f193.google.com with SMTP id cf7so7121662obc.3; Thu, 17 Mar 2016 15:07:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Qy0ETBjxHqwnund9bXqdWIjeSx1/SSzAbOzULEaLu8Q=; b=YpeoNPqLQ8Ri0C1Rslv2GQ6kYZn6dHuV7Sy5g0wr6I5faxFt6iTjhXeka+vwBN5vlp UBmdrsfAIjdq7pKuSzScwM5rJvT/Aqm6zp0O49Id3u72ibXLUVwtB/3nQqHbfggTLhQa OGB/pDpTdytF8fTbYtGUdhR4lnZbokHZo3bPsDjT6Ri6psbklliBSVUaRDXZIV+3aIxE Ul1iPQo0EKuDfjAIZmnLSwK38C/yfW3bzv2C292IVBpgPLzNv0nAVgUARjE9w2V5DG9E 9p/UeYCoazY1faQDDmzOWtVzAaJMtz36e+QHu30hhb/Z8Lng1rjc5xEXCvMAceYEn1PM x0iA== X-Gm-Message-State: AD7BkJKWh2xZhm+H+T5Kvz+XeDKB6bDRyAmetEj40hhG1vV1M4amqIRkmwtbyvIYAJiQBg== X-Received: by 10.182.153.10 with SMTP id vc10mr7737558obb.10.1458252468678; Thu, 17 Mar 2016 15:07:48 -0700 (PDT) Received: from beast-server.fios-router.home (pool-173-57-21-86.dllstx.fios.verizon.net. [173.57.21.86]) by smtp.gmail.com with ESMTPSA id y67sm4578003oie.10.2016.03.17.15.07.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Mar 2016 15:07:48 -0700 (PDT) From: Franklin S Cooper Jr To: thierry.reding@gmail.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, bcousson@baylibre.com, tony@atomide.com, linux@arm.linux.org.uk, t-kristo@ti.com, mturquette@baylibre.com, sboyd@codeaurora.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Cc: Franklin S Cooper Jr Subject: [PATCH v2 3/3] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name Date: Thu, 17 Mar 2016 17:07:43 -0500 Message-Id: <1458252463-8821-4-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1458252463-8821-1-git-send-email-fcooper@ti.com> References: <1458252463-8821-1-git-send-email-fcooper@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Now that the node name has been changed from ehrpwm to pwm the document should show this proper usage. Also change the unit address in the example from 0 to the proper physical address value that should be used. Signed-off-by: Franklin S Cooper Jr --- Version 2 changes: Changed the unit address for da850 to match the value in the reg property. Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt index 9c100b2..0f9ba50 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt @@ -15,14 +15,14 @@ Optional properties: Example: -ehrpwm0: ehrpwm@0 { /* EHRPWM on am33xx */ +ehrpwm0: pwm@48300200 { /* EHRPWM on am33xx */ compatible = "ti,am33xx-ehrpwm"; #pwm-cells = <3>; reg = <0x48300200 0x100>; ti,hwmods = "ehrpwm0"; }; -ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */ +ehrpwm0: pwm@300000 { /* EHRPWM on da850 */ compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; #pwm-cells = <3>; reg = <0x300000 0x2000>;