From patchwork Mon Dec 4 21:20:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 120597 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp1380522edb; Mon, 4 Dec 2017 13:21:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMbPUXdxtlOBNAyU1umIxRI3Tp4thrcNMks4/eO2JQ8tNWVtpNCPLnWc10B9pINTzRvpRMx5 X-Received: by 10.84.136.135 with SMTP id 7mr16027798pll.21.1512422514104; Mon, 04 Dec 2017 13:21:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512422514; cv=none; d=google.com; s=arc-20160816; b=kczcBlfQgJudLGVM5G+tFoqeqXsN/fFnV1+8do5zhtvijkz8KIZC0R5cnHRrCAwEyE BU9V6zU8UB99me9xJlODsgpNAqOLRJReQ+mP5IuBMoU96kJreKMElMCQ0n0YcddX4/Hv gjgwMQHZrCQ5tNW0XyaPrWBxlBnO17wzAhqkaOzq9ltSjKj6waKjM37y2Xrm2biKbr/g PTInis7QWQ+dhEG1Or9TW4AcDuIrk/gczSQER2ZakUxDwCtJgajobJcC4ronQy36j/// 13j6pGzdRBexHoeSQRLencULVC7l07o1fvQM7oN3QZDzHUQrTif3yoXww4lcxABEVyVz F/gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=PXGGnhF9dLvcCkX1NREzmTp2cQ1SywGaOIU8mONSxJ0=; b=BukUjgVZXCUY4qxS36ZApSmefem4RtfMXB8nV51o4omrE5IhUcRyC00ciD0Bq9qHPb KJvPqvR/te+MzXQrctQoK1CLkQLuskkeqQpSTlV7mmV1st8u7q73vwsxj009o1kvyqyz eOepHOoPwT6xta4F3b8uIVptg2K4ZZzKcxJei/LwCXCjSLU0paPkBPNErHpzvfZzpmsJ F/6nYOgzjpCzlrXF0eQhpzjEqSI6MAC8QobtY7Myb2o25f171GJd2mgwraxbyZ7r5gY3 YF+Ps7MaglfQrf9ZmSoCHSgpFPt/fYIx6zFwI5OwlP8/DQQUmeU2RHxw+DkN2QixvvX4 G2Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=QC0I4BtT; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y34si10309802plb.377.2017.12.04.13.21.53; Mon, 04 Dec 2017 13:21:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=QC0I4BtT; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752742AbdLDVVw (ORCPT + 6 others); Mon, 4 Dec 2017 16:21:52 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:37645 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752127AbdLDVVv (ORCPT ); Mon, 4 Dec 2017 16:21:51 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB4LKY8F013119; Mon, 4 Dec 2017 15:20:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512422434; bh=lmQUULX9t5oqfD4rG97DevziX7fPUnet5MhSrHMP7rw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QC0I4BtTJI/KaG58XaxYtHDCAIC3aVFKThhVECEuUPk26sOrlWiR2hZwaO8+X9/Zq WueyLrEb631IQwuDF/GtCiJRAjJIqNlOjAt5Gto5AQVoA02V1CSVrbjlm0nGt6SCMr ASNWS1RYlRd1hHXXwpke63bTt4d49T6Wd0LRz2kE= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB4LKTqA017128; Mon, 4 Dec 2017 15:20:29 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 4 Dec 2017 15:20:29 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Mon, 4 Dec 2017 15:20:29 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB4LKTX1030876; Mon, 4 Dec 2017 15:20:29 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.83.187]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vB4LKT323339; Mon, 4 Dec 2017 15:20:29 -0600 (CST) From: Dan Murphy To: , , , , CC: , , Dan Murphy , Subject: [PATCH 3/5] dt: bindings: lp8860: Add trigger binding to the lp8860 Date: Mon, 4 Dec 2017 15:20:24 -0600 Message-ID: <20171204212026.14214-4-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171204212026.14214-1-dmurphy@ti.com> References: <20171204212026.14214-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a default trigger optional node to the child node. This will allow the driver to set the trigger for a backlight. Signed-off-by: Dan Murphy cc: devicetree@vger.kernel.org --- Documentation/devicetree/bindings/leds/leds-lp8860.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) -- 2.15.0.124.g7668cbc60 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/leds/leds-lp8860.txt b/Documentation/devicetree/bindings/leds/leds-lp8860.txt index e3a5e91f965b..40543e62da48 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -6,25 +6,28 @@ current sinks that can be controlled by a PWM input signal, a SPI/I2C master, or both. Required properties: - - compatible: + - compatible : "ti,lp8860" - - reg - I2C slave address + - reg : I2C slave address Optional properties: - label : see Documentation/devicetree/bindings/leds/common.txt - - enable-gpio - gpio pin to enable/disable the device. - - supply - "vled" - LED supply + - enable-gpios : gpio pin to enable/disable the device. + - supply : "vled" - LED supply + - linux,default-trigger : (optional) + see Documentation/devicetree/bindings/leds/common.txt Example: leds: leds@6 { compatible = "ti,lp8860"; reg = <0x2d>; - enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; vled-supply = <&vbatt>; display_cluster: display_cluster@0 { label = "display_cluster"; + linux,default-trigger = "backlight"; }; }