From patchwork Thu Jun 18 03:58:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 6632811 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 228369F326 for ; Thu, 18 Jun 2015 03:57:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C0216206BD for ; Thu, 18 Jun 2015 03:57:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 278E520844 for ; Thu, 18 Jun 2015 03:57:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751589AbbFRD5Z (ORCPT ); Wed, 17 Jun 2015 23:57:25 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:36046 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367AbbFRD5X (ORCPT ); Wed, 17 Jun 2015 23:57:23 -0400 Received: by pdjm12 with SMTP id m12so56366421pdj.3; Wed, 17 Jun 2015 20:57:22 -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=ygOn3DPI0ExTeo6zfKVEkIZ3Y6sKdlWJMc/IPFISjdk=; b=cAFiqlGATMhlb7ypsEWqQTCjFisdRiOYb5q8rz3p2cMIIM4B9NilSqEYdAHjDuqYAa S4swbos8qypHnJIi8z9HWwLPAqBdqyVvk6dTJKBPYs+7QiM1elKWmTsaoMtkdJO44/rB lPBBZi9CmU3JDcKXVUybCHCbPbsknadNAl0MLQjOrAn5WyoThWfUo1P/xXNIz/hOfnxH kRGLyyJOL2NWuDUtTXeFm9KFi2viUrpaCoVbTeKmB6yk5EKU6nvggN/co23hHdyrkfZt M17RJ14ezaENd/+zmeEFK0ZBUKkP1VyZHuxt8o28h40Ta4aym+KCNBAZE6YFPTUSz3br tlRw== X-Received: by 10.70.138.8 with SMTP id qm8mr17182306pdb.96.1434599842591; Wed, 17 Jun 2015 20:57:22 -0700 (PDT) Received: from localhost.localdomain (c-76-105-208-73.hsd1.or.comcast.net. [76.105.208.73]) by mx.google.com with ESMTPSA id bs4sm6325968pdb.21.2015.06.17.20.57.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jun 2015 20:57:21 -0700 (PDT) From: Matt Ranostay To: zonque@gmail.com, dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, Matt Ranostay Subject: [PATCH v5 1/2] dt: add cap11xx LED documentation Date: Wed, 17 Jun 2015 20:58:16 -0700 Message-Id: <1434599897-22505-2-git-send-email-mranostay@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434599897-22505-1-git-send-email-mranostay@gmail.com> References: <1434599897-22505-1-git-send-email-mranostay@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Signed-off-by: Matt Ranostay Acked-by: Jacek Anaszewski --- .../devicetree/bindings/input/cap11xx.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/input/cap11xx.txt b/Documentation/devicetree/bindings/input/cap11xx.txt index 7d0a300..09cdc43 100644 --- a/Documentation/devicetree/bindings/input/cap11xx.txt +++ b/Documentation/devicetree/bindings/input/cap11xx.txt @@ -38,6 +38,11 @@ Optional properties: defaults. The array must have exactly six entries. + linux,led-brightness: Defines the ON brightness when the optional LED + functionality is used. Valid values are 1-15. + By default a value of 15 is set. + + Example: i2c_controller { @@ -55,5 +60,25 @@ i2c_controller { <105>, /* KEY_LEFT */ <109>, /* KEY_PAGEDOWN */ <104>; /* KEY_PAGEUP */ + + linux,led-brightness = <15>; + #address-cells = <1>; + #size-cells = <0>; + + usr@0 { + label = "cap11xx:green:usr0"; + reg = <0>; + }; + + usr@1 { + label = "cap11xx:green:usr1"; + reg = <1>; + }; + + alive@2 { + label = "cap11xx:green:alive"; + reg = <2>; + linux,default_trigger = "heartbeat"; + }; }; }