From patchwork Sat Aug 18 19:58:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Masney X-Patchwork-Id: 10569647 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AB4D51390 for ; Sat, 18 Aug 2018 20:07:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84ED529A7F for ; Sat, 18 Aug 2018 20:07:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 616AD2A279; Sat, 18 Aug 2018 20:07:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 304C829A7F for ; Sat, 18 Aug 2018 20:07:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726332AbeHRXQQ (ORCPT ); Sat, 18 Aug 2018 19:16:16 -0400 Received: from onstation.org ([52.200.56.107]:47928 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726326AbeHRXQQ (ORCPT ); Sat, 18 Aug 2018 19:16:16 -0400 X-Greylist: delayed 480 seconds by postgrey-1.27 at vger.kernel.org; Sat, 18 Aug 2018 19:16:16 EDT Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 2CF6A1020; Sat, 18 Aug 2018 19:59:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=onstation.org; s=default; t=1534622365; bh=e+FRXECGK4SqzbEocIibP8JfgagJNGbiwyJ9iJ+INbA=; h=From:To:Subject:Date:From; b=l6mvIQVALqGIwR9BPSqluX49fFzk3Kw2OGDlFjKUy5GODqC3d+bW7nfoYJcwcRZXZ rurVGz5WREluheZ/y1azuy4hZgHYvVGq59gCaRDldWCA6UXz+2wPDaKdfiqlaCRZ+2 2m4iw1FN+Mfa6qG52uM1WDM9OBJmksQ8m0dL3dXE= From: Brian Masney To: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, sebastian.reichel@collabora.co.uk, robh@kernel.org, mark.rutland@arm.com, masneyb@onstation.org Subject: [PATCH] dt-bindings: input: pwm-vibrator: correct pwm-names in example Date: Sat, 18 Aug 2018 15:58:55 -0400 Message-Id: <20180818195855.13429-1-masneyb@onstation.org> X-Mailer: git-send-email 2.17.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In the example for the pwm-vibrator bindings, pwm8 is the direction pin, and pwm9 is the enable pin. The pwm-names on the vibrator node has these two values swapped. This patch corrects the values for pwm-names. Signed-off-by: Brian Masney --- arch/arm/boot/dts/omap4-droid4-xt894.dts is actual implementation for the example and it is correct. Documentation/devicetree/bindings/input/pwm-vibrator.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/input/pwm-vibrator.txt b/Documentation/devicetree/bindings/input/pwm-vibrator.txt index 09145d18491d..2731cbb7e8d7 100644 --- a/Documentation/devicetree/bindings/input/pwm-vibrator.txt +++ b/Documentation/devicetree/bindings/input/pwm-vibrator.txt @@ -60,7 +60,7 @@ Example from Motorola Droid 4: compatible = "pwm-vibrator"; pwms = <&pwm8 0 1000000000 0>, <&pwm9 0 1000000000 0>; - pwm-names = "enable", "direction"; + pwm-names = "direction", "enable"; direction-duty-cycle-ns = <1000000000>; }; };