From patchwork Fri Dec 1 16:56:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 120357 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1382871qgn; Fri, 1 Dec 2017 08:56:50 -0800 (PST) X-Google-Smtp-Source: AGs4zMZy/OkJ8YcBvMbnsjbPFe5d6H8G96PeNHKy4huqBOr/g9DD37lrxWgF275z3oRYd/kmQ0ii X-Received: by 10.98.32.21 with SMTP id g21mr11093097pfg.52.1512147410885; Fri, 01 Dec 2017 08:56:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512147410; cv=none; d=google.com; s=arc-20160816; b=wFYBEZM8MRsu/vN0IFByIClXYf/QxQorb6J0IWVNOiQ4jaIi/fFKRretRWUD9ViiiZ M8iu8xTwZK0tb3ATH3lvYRvGUShRuXfAgzUTvPTv958iJ3ro5/OBUjgUpwp0BJ+mrtnU p2/YIF5nxFwv7/wfjzwJWwDlFeU7nb/vFqQP6cKOMMYVeLcEMwRFUzpuCxoDtwmYIUpk TITUeerG7F63OxBTECcEGTf9CwikyNvLZGknRVJ/mxXY04j/qG5afmYQpU9sL+9qCazz COo2CaeHsmfQNDTnElAmB+ccBzRIZUg6LEs6ZO8zEX11KNP161wnIah2/XZXA3PFva19 0/bw== 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=5LXhn3/UjgObd6+ATWD+f/DQPFsOhJcvFrewSgwGvtE=; b=wcW9Bab92zrYVwSzF8kwbgnffBJXJ3gCnGycaoFGhoIhbRbYKTkEBgaifj5O7fD9XT RgW5wX+EeHvXnLO13Ah/AExBKXSAD+b2sC7z+eIxJeOHWtJKe8QPGaGmjCi/5G4ZKch2 ds4DbGpDnbpGfYvpHnl5ylPaV9/QRQbuVC21VUcLrRl9Dp+mPHJ4KR14dzm3XtEpmM2J eJfmbwxHmSLykMSmUVs80dudfPVkg03zUdPrbcrCnow2nwa/D1OGFyE84lwScQCrHgXt 92CoEwvjncRdcb21P808E82zBNtDT5LgNrtb9VvWhVrtqDxJTEeDwqf0l71dDi7QjGC0 jZBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vFWHYQlS; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (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 a7si5038785pgq.277.2017.12.01.08.56.50 for ; Fri, 01 Dec 2017 08:56:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vFWHYQlS; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751522AbdLAQ4t (ORCPT ); Fri, 1 Dec 2017 11:56:49 -0500 Received: from lelnx193.ext.ti.com ([198.47.27.77]:22838 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751432AbdLAQ4r (ORCPT ); Fri, 1 Dec 2017 11:56:47 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB1GuPUk006365; Fri, 1 Dec 2017 10:56:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512147385; bh=Z+ldvntS0iXOrXpijws7gF56CGFRdEFzp7tD1qbq630=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vFWHYQlS6fd2x0iyw9vEranesNHbaI5fjlTrPLqzpLFjM7TBiI56MrbHetoevajml embPI116Eh31CfnmX9eh2mgjoy3t6Ty176QHUMZ9J8QK9rjTO/Z1Xkj51HFVYPoRr2 lwbdKJscXh+0Mx3Yei+1lFfk4f2tlAx+326mQbAc= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB1GuPdF013922; Fri, 1 Dec 2017 10:56:25 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Fri, 1 Dec 2017 10:56:25 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Fri, 1 Dec 2017 10:56:25 -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 vB1GuPTM030508; Fri, 1 Dec 2017 10:56:25 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.70.55]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vB1GuO303181; Fri, 1 Dec 2017 10:56:24 -0600 (CST) From: Dan Murphy To: , , CC: , , Dan Murphy Subject: [PATCH v6 4/6] dt: bindings: lp8860: Update the bindings to the standard Date: Fri, 1 Dec 2017 10:56:11 -0600 Message-ID: <20171201165613.10358-4-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171201165613.10358-1-dmurphy@ti.com> References: <20171201165613.10358-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Update the lp8860 dt binding to the LED standard where the LED should have a child node and also adding a LED trigger entry. Signed-off-by: Dan Murphy --- v6 - New patch to fix binding documentation Documentation/devicetree/bindings/leds/leds-lp8860.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) -- 2.15.0.124.g7668cbc60 diff --git a/Documentation/devicetree/bindings/leds/leds-lp8860.txt b/Documentation/devicetree/bindings/leds/leds-lp8860.txt index aad38dd94d4b..4cf396de6eba 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -12,17 +12,24 @@ Required properties: - label - Used for naming LEDs Optional properties: - - enable-gpio - gpio pin to enable/disable the device. - - supply - "vled" - LED supply + - enable-gpios : gpio pin to enable/disable the device. + - vled-supply : LED supply + - label : see Documentation/devicetree/bindings/leds/common.txt + - linux,default-trigger : (optional) + see Documentation/devicetree/bindings/leds/common.txt Example: -leds: leds@6 { +lp8860@2d { compatible = "ti,lp8860"; reg = <0x2d>; - label = "display_cluster"; enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; vled-supply = <&vbatt>; + + backlight: backlight@0 { + label = "backlight_cluster"; + linux,default-trigger = "backlight"; + }; } For more product information please see the link below: