From patchwork Fri Aug 22 17:12:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 35862 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A7B7220540 for ; Fri, 22 Aug 2014 17:12:52 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id r2sf7934igi.0 for ; Fri, 22 Aug 2014 10:12:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=YMcBu6i2Jtf17NW0i6mymnI6Ekncw1p6Ut4AiamlK6s=; b=XOaOXmLWjBw7t+jCKPoX6GiM2bKamjewJFTT7oMfWkigXIkkucTwpMRlrBiHLkSvPg 7xmOL8G/R34eGb209Nz9kChPLv6TI/1Lnq5vZHEf2AsCjpyKdS8im/rpOHlAipk+Fn3D Mkl6dYjZm47FemU62Eg3UIDFFgHSibVEMFEiTABqLJe5g3paH1eOiB2sEYhUA4AZah3o g6JiTgUkmSpAMuipd2qyR94zG8IZ6OkhzWxLiGUbxQCHGOBACIAoZlnKHCpUaIu32nbM GAGqz7D7smYOjfVf8k0DNGBWssk6+/ZzagkFPEv7pYzr/dVyV9QPNwDT9ea2hKUAWcBe eVNQ== X-Gm-Message-State: ALoCoQluvygr/a9TtGns/wJhAylZfH+f2sQX43G9Tg2FB8+npRb9zYcJRY8uAeE1Ea4D5OipBwfj X-Received: by 10.182.126.198 with SMTP id na6mr4072904obb.4.1408727572131; Fri, 22 Aug 2014 10:12:52 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.176 with SMTP id t45ls1203902qgt.60.gmail; Fri, 22 Aug 2014 10:12:52 -0700 (PDT) X-Received: by 10.220.49.10 with SMTP id t10mr1446149vcf.34.1408727571998; Fri, 22 Aug 2014 10:12:51 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id i4si14024219vdg.41.2014.08.22.10.12.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Aug 2014 10:12:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so12328498vcb.8 for ; Fri, 22 Aug 2014 10:12:51 -0700 (PDT) X-Received: by 10.221.61.5 with SMTP id wu5mr4662423vcb.13.1408727571889; Fri, 22 Aug 2014 10:12:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp32693vcb; Fri, 22 Aug 2014 10:12:51 -0700 (PDT) X-Received: by 10.70.60.169 with SMTP id i9mr5685524pdr.166.1408727570942; Fri, 22 Aug 2014 10:12:50 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si41737742pdn.34.2014.08.22.10.12.50 for ; Fri, 22 Aug 2014 10:12:50 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932538AbaHVRMt (ORCPT + 6 others); Fri, 22 Aug 2014 13:12:49 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:52526 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932297AbaHVRMs (ORCPT ); Fri, 22 Aug 2014 13:12:48 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s7MHCLxb028738; Fri, 22 Aug 2014 12:12:21 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7MHCL1n029872; Fri, 22 Aug 2014 12:12:21 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 22 Aug 2014 12:12:21 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7MHCLRq009075; Fri, 22 Aug 2014 12:12:21 -0500 Received: from localhost (j-172-22-73-212.vpn.ti.com [172.22.73.212]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id s7MHCKt26280; Fri, 22 Aug 2014 12:12:20 -0500 (CDT) From: Dan Murphy To: , CC: , , , Dan Murphy Subject: [PATCH v2] doc: dt/bindings: input: Fix drv260x binding document Date: Fri, 22 Aug 2014 12:12:19 -0500 Message-ID: <1408727539-15996-1-git-send-email-dmurphy@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: dmurphy@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Update the drv260x dt binding document: - Change the node name to the devices function not the device name. - Add vbat-supply to the example. - Fix indentation of the example. Signed-off-by: Dan Murphy Reviewed-by: Felipe Balbi --- v2 - Address comments on indentation, node declaration, add vbat-supply, removed description as it did not make sense - https://patchwork.kernel.org/patch/4765141/ .../devicetree/bindings/input/ti,drv260x.txt | 23 ++++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/input/ti,drv260x.txt b/Documentation/devicetree/bindings/input/ti,drv260x.txt index a9c8519..ee09c8f 100644 --- a/Documentation/devicetree/bindings/input/ti,drv260x.txt +++ b/Documentation/devicetree/bindings/input/ti,drv260x.txt @@ -1,6 +1,4 @@ -Texas Instruments - drv260x Haptics driver family - -The drv260x family serial control bus communicates through I2C protocols +* Texas Instruments - drv260x Haptics driver family Required properties: - compatible - One of: @@ -37,15 +35,16 @@ Optional properties: 3.2 v. Example: -drv2605l: drv2605l@5a { - compatible = "ti,drv2605l"; - reg = <0x5a>; - enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; - mode = ; - library-sel = ; - vib-rated-mv = <3200>; - vib-overdriver-mv = <3200>; -}; +haptics: haptics@5a { + compatible = "ti,drv2605l"; + reg = <0x5a>; + vbat-supply = <&vbat>; + enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; + mode = ; + library-sel = ; + vib-rated-mv = <3200>; + vib-overdriver-mv = <3200>; +} For more product information please see the link below: http://www.ti.com/product/drv2605