From patchwork Tue Jun 16 02:46:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 6612801 Return-Path: X-Original-To: patchwork-linux-input@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 E5582C0020 for ; Tue, 16 Jun 2015 02:45:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 18336207B5 for ; Tue, 16 Jun 2015 02:45:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 258C6207B4 for ; Tue, 16 Jun 2015 02:45:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751521AbbFPCpU (ORCPT ); Mon, 15 Jun 2015 22:45:20 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:33490 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751325AbbFPCpS (ORCPT ); Mon, 15 Jun 2015 22:45:18 -0400 Received: by pdjn11 with SMTP id n11so3606913pdj.0; Mon, 15 Jun 2015 19:45:17 -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=ItWWVUZ9u/TojJ9IgqghEMerscK1EyS8j8w3YEeiKFc=; b=hqtSzsFgWDM+UAeyJoIF5+zJF3yxj7nnrLZQiPEhcm+17iXm/6iR9rP4jkNKoXPUSn gY6Me8l03htKOr+383g5KrzPf8aX5a8g5tbOEkUx3o0jvfd8hfcKpMjpNAorJN/gpYPb fVJvrEFChNG31ImNWgrp7JnoE8hlgrPgHqyizrAafRo4wWNdLQ92f75y9caKAAcSHd9r gMnaq57kuWl2dNT6Tzbl02Z9V5uqOQ1+0nDDG4YBdzKotx4znaCdekOmkHbYZbm4clyR C4gwi3hgbdSp9NSDM7EpLkK6GYXgDSISKqWI/Hi7mdpCadcE/OZJGJ9njp3Z7shHsIQJ gZOg== X-Received: by 10.66.63.70 with SMTP id e6mr36391140pas.62.1434422717778; Mon, 15 Jun 2015 19:45:17 -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 pj4sm8132957pbb.29.2015.06.15.19.45.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 19:45:17 -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 v4 1/2] dt: add cap11xx LED documentation Date: Mon, 15 Jun 2015 19:46:09 -0700 Message-Id: <1434422770-26896-2-git-send-email-mranostay@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434422770-26896-1-git-send-email-mranostay@gmail.com> References: <1434422770-26896-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.2 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=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 Signed-off-by: Matt Ranostay --- .../devicetree/bindings/input/cap11xx.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/input/cap11xx.txt b/Documentation/devicetree/bindings/input/cap11xx.txt index 7d0a300..01bb5b8 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,23 @@ i2c_controller { <105>, /* KEY_LEFT */ <109>, /* KEY_PAGEDOWN */ <104>; /* KEY_PAGEUP */ + + linux,led-brightness = <15>; + + 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"; + }; }; }