From patchwork Tue Dec 5 20:43:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 120748 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp2636231edb; Tue, 5 Dec 2017 12:43:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMbwexpJRm8hsV1eVIEJEVAngkXJiaKiFdOXnOWoVQfZ2wtz6EzyI5uXdk+Izqct5AMBWhyV X-Received: by 10.159.242.132 with SMTP id u4mr19703359plr.296.1512506634597; Tue, 05 Dec 2017 12:43:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512506634; cv=none; d=google.com; s=arc-20160816; b=qNQf00dUk8+8EfXoEpt6c+D4cqTa+E6gmnNV333XBKLbjDuoADDr2pRcy1RSriisgV JDNMtM6o1zC8gFEKoSSBTeTJhd5jEc+3+0MDpWUASZJ5dA7bwKPadbLNFYurqF0gc4cH yd/W1A+QNXf/b+l+ZMl/ZwXifI/GoMvXr8U9atHz+gKnLTg4vERx9/7c7CtZCmhR5dNm ZA3Q3Y9pVWJ9In1inHJfF5QRHzlk6Bdxq+tsw6JrRUg2Xo4v5ZFbtrdZ05nX8GypKO7a 0NZbjS3ko9GNuwlkN/ocYGwEuRDeE5JnEalRVje6tG4iAIRg10XDqWb5T6ea7Hh06db1 oqVQ== 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=doCSO4AzOIRcqFyE4Y4WoTPAKIDNWzHtGgDq56NXduo=; b=GUpDq4uh+H5yCKbc+XTdg2h1oxU9HKrxTrCMaiEBcUiY+ETeYj5Ds9rUJblegMMbBJ z5+1Z26CJr/GJvrevipKpN0vQMcrEzva/2MGp2ALWEp9wypJa6OVd8A1mOqxFvv5Ep0x fofHYkfcCKB81CuKxFiO2gHkC3OBT/0qwbfjZvYIdrTOUoUt2WROiAQ/VmCbDV/BYqMg rYs8YvDfqzd50Phqq3xrM9HSASmzUc1yFQW1D+kSwExJk4VrV89EBqg+zO2EoE4VfoSH KiDnTQMPWPprPDpMO2tpsqFpXb0pZQq133a1TsI2fxyyU4icWOjLKwmSJTHj7RysK6xj tbMA== 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=m7NxDjN4; 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 1si632677pla.339.2017.12.05.12.43.54; Tue, 05 Dec 2017 12:43: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=m7NxDjN4; 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 S1751112AbdLEUnw (ORCPT + 6 others); Tue, 5 Dec 2017 15:43:52 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:22825 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751630AbdLEUnt (ORCPT ); Tue, 5 Dec 2017 15:43:49 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB5KhWQa013415; Tue, 5 Dec 2017 14:43:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512506612; bh=0ZZKkkajN8eESkKyOVXqp7H8iggBQyZtvD+hPM7tr/U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=m7NxDjN4vUCHNv74kR5KJvSU/k+n3Kd+WRMxxeds0ojQlnG6vAupBCu69DQpZhbgf Wpv/hy18+mLMPL8sVJsPDKI5I2mkn4RkGbpmbkuw/MchL492jwjYizS9pcOW8xGQHw YonRwMMEWNSnoW8+Z0FbaDh5nyTP2TiTRH4s4jTQ= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB5KhVLi012467; Tue, 5 Dec 2017 14:43:32 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 5 Dec 2017 14:43:31 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 5 Dec 2017 14:43:31 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB5KhVXX008473; Tue, 5 Dec 2017 14:43:31 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.93.77]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vB5KhV325065; Tue, 5 Dec 2017 14:43:31 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v2 1/6] dt: bindings: lp8860: Update bindings for lp8860 Date: Tue, 5 Dec 2017 14:43:22 -0600 Message-ID: <20171205204327.12111-2-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171205204327.12111-1-dmurphy@ti.com> References: <20171205204327.12111-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 Update the lp8860 bindings to fix various issues found. Add address-cells and size-cells, rename enable-gpio to enable-gpios, update the node name to the device name and indent the node example. Signed-off-by: Dan Murphy --- v2 - New patch .../devicetree/bindings/leds/leds-lp8860.txt | 28 ++++++++++++---------- 1 file changed, 16 insertions(+), 12 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 aad38dd94d4b..1b2fab05ec6a 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -6,24 +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 - - label - Used for naming LEDs + - reg : I2C slave address + - label : Used for naming LEDs + - #address-cells : 1 + - #size-cells : 0 Optional properties: - - 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 Example: -leds: leds@6 { - compatible = "ti,lp8860"; - reg = <0x2d>; - label = "display_cluster"; - enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; - vled-supply = <&vbatt>; -} + lp8860@2d { + compatible = "ti,lp8860"; + #address-cells: 1 + #size-cells: 0 + reg = <0x2d>; + label = "display_cluster"; + enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; + vled-supply = <&vbatt>; + } For more product information please see the link below: http://www.ti.com/product/lp8860-q1 From patchwork Tue Dec 5 20:43:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 120752 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp2636886edb; Tue, 5 Dec 2017 12:44:40 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ4lO5cncsv+TizzlPxjZfZn4Cdrp83bjISiom7u/cBfI7xr9yJrjoHAiAl+wdQ1EaHlKwm X-Received: by 10.84.171.195 with SMTP id l61mr19775910plb.129.1512506680062; Tue, 05 Dec 2017 12:44:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512506680; cv=none; d=google.com; s=arc-20160816; b=Mw8wvwj390Zbyf6F2yBSTqQcvF8Y/JfEQzsUA+uZdOdyOLwhLawHKhil+38aKPEV3N VBw7DB/bxohMgg7kxJGfifwpAe9gMjH9cG+21SrBFflpCWq7ct8n3VRlhJ+uTtgFIc6C 0V/EgmJqnHJpjJe6uwOAl/vFwpowe0Kz5wzau0iZOcmPi/23yHW2IxHENMpzLD8VY+g6 GGL4yGHWb3fn/geKP1Z8tYUNup2qIe4l1j/LcNINEY2tKyHaKYfNZRg73aL4OhOvlmPv eJ47Cb/vCKCFJ5PsOkpUD0pkWoL+F7jRcdVvzMENYdtoTaZHUbX24yypbuojgORZ/JtO vp4A== 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=ugLqrKfDH/H7tt2XAisV/Ik1DxyGP3/+Iiat/kqeP6w=; b=SQGbojgbmYpHN/WSNGjUWEpMve2MaE+e3iKkASybgjSLTMOpUscqoCmFUVxSVEuxG4 C0lTZjgKvRhxc4imQSI/jmURmMBoUoq5SxxwdncIz/WYlwguhK8izjCXbCnSCOXwUML8 pkFHAPulf3CHfKJUF27RyP9U8+TgeomE7hvvaqM5WHcIMVooDG51WUefGwYPI7N5PCQ/ p25VxU/pu9uzEHkdlKyIBmJCvseprB2uYgxbBKg6GOxCA9CibuEoGAJBWu9EeOL+pLd7 pOeza0gtUUnYFDyStys0lJenfMgiUqpegIO3maGGa10uv0c/MkZaXTloY4FSe33PqD8U KEKg== 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=h9AHI02X; 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 p126si599768pga.782.2017.12.05.12.44.39; Tue, 05 Dec 2017 12:44:40 -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=h9AHI02X; 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 S1751601AbdLEUoh (ORCPT + 6 others); Tue, 5 Dec 2017 15:44:37 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:22827 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546AbdLEUnt (ORCPT ); Tue, 5 Dec 2017 15:43:49 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB5KhWpJ013419; Tue, 5 Dec 2017 14:43:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512506612; bh=p+aJ0zD+GS8ScGQE7/rTCnb40VwhwymEAh0jRc0c5rg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=h9AHI02X5PLvsMpeuTL8XzsW9JkAXxSOgI5aWQDbPl7PrXTDlXCQ8cZV5p7iUrhh/ +75fTC0/hL44Vf4CAyLuSNcxO8A7iCRWAi2Ggw+LS4+2KrF90Dpq8JbfUitHU3/TfM Akt8iS2AjGuSu3qHuc25ZiDtqwvBDh9HaocBWKfk= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB5KhWah012470; Tue, 5 Dec 2017 14:43:32 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 5 Dec 2017 14:43:32 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 5 Dec 2017 14:43:32 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB5KhVeF028595; Tue, 5 Dec 2017 14:43:31 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.93.77]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vB5KhV325069; Tue, 5 Dec 2017 14:43:31 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v2 2/6] dt: bindings: lp8860: Update DT label binding Date: Tue, 5 Dec 2017 14:43:23 -0600 Message-ID: <20171205204327.12111-3-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171205204327.12111-1-dmurphy@ti.com> References: <20171205204327.12111-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 Update the lp8860 label binding to the LED standard as documented in Documentation/devicetree/bindings/leds/common.txt Signed-off-by: Dan Murphy --- v2 - Added reg to child node and made it required Documentation/devicetree/bindings/leds/leds-lp8860.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 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 1b2fab05ec6a..22b594d95162 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -9,7 +9,6 @@ Required properties: - compatible : "ti,lp8860" - reg : I2C slave address - - label : Used for naming LEDs - #address-cells : 1 - #size-cells : 0 @@ -17,6 +16,12 @@ Optional properties: - enable-gpios : gpio pin to enable/disable the device. - supply : "vled" - LED supply +Required child properties: + - reg : 0 + +Optional child properties: + - label : see Documentation/devicetree/bindings/leds/common.txt + Example: lp8860@2d { @@ -24,9 +29,12 @@ Example: #address-cells: 1 #size-cells: 0 reg = <0x2d>; - label = "display_cluster"; enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; vled-supply = <&vbatt>; + display_cluster: display_cluster@0 { + reg=<0>; + label = "display_cluster"; + }; } For more product information please see the link below: From patchwork Tue Dec 5 20:43:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 120751 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp2636794edb; Tue, 5 Dec 2017 12:44:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMZeRTvRLcDT7eunVcXsmJjGdCrF9E5jdE6LnoqMKy0u9maLlM+GCgMGv9Igz024OtORLy4q X-Received: by 10.159.241.137 with SMTP id s9mr19529743plr.35.1512506673264; Tue, 05 Dec 2017 12:44:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512506673; cv=none; d=google.com; s=arc-20160816; b=fmno2uTS+MrNA/x68PsNhN65HX71g+jOpUUir6ZLoBqudE1KT+7XFGecgKSVkCd85O yScvN/YAoy0FrVIL2BjlWnA2FydZAdTiJPHh1RQCGtvqx6yxPS5PMy46TWJYct6QK4r5 56X3bQaNocOLz1lbIwkt8tZqyKWouUhVrZlaEf3XknBDvyoq9KtW6sZ0NEIOHyHjfJWk j4KVRT7PC0Lt2UYPDXOFhIaanofu3NABAU8nj2x3TSlT+cqqLSH7x7wUi9/r+eqjOvBb jRpPSCxezm+RJBh+stk+uK0ljmnX3BLIHJpADGHJpj2gKUcW6mGKwoUUzFIZ0vQ+Bg9S yHJQ== 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=WLj+nGEY1AhDDMrF/dUXHK7GcdnukvfTbJJ4Xzsygeo=; b=cfSZ7mkIDD9qa/myX2nURk6fJKOVHXy9xt/QMyqQIs2y7YB2pPC0zxWCTSHoGlUTgW OtHXZt1LeHJXuLwmdLt3WBUXaizQYpWhAr10TF2zpM0sjROsA8JRJbe0EHfi6DXi6THe z7IB3Vq8+uhBXo5inFHeOAcwaxpaBhH1sHrBJdeTHPLAI6R7JOy2g7b3EJMWsBoghOa5 D6i3fAtlWGxsSKHOIxPDOlIGfmWY+/9muPwzeP5CA8dPGE9vuH+ScqYdi2qhjCPv+or0 JHkndE4L+OAMHz5809JGbexZ24DcqzfLLaxZIgS4x0CGi01jF4gExLRgFB1OkgdqjJrE Xrvg== 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=I03GoAKR; 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 b12si640919plk.435.2017.12.05.12.44.33; Tue, 05 Dec 2017 12:44:33 -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=I03GoAKR; 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 S1752189AbdLEUoa (ORCPT + 6 others); Tue, 5 Dec 2017 15:44:30 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:22826 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751601AbdLEUnt (ORCPT ); Tue, 5 Dec 2017 15:43:49 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB5KhXBM013423; Tue, 5 Dec 2017 14:43:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512506613; bh=FRPmS4HwOX7d6Edz7cILNquoilqY5ijJaL6HiYtXFOY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=I03GoAKRBoSTT48MAHVhbHoY53obU8C7icc/WM0AYxWtw1/AWDSk+6qNqeubMKb4R yhXKQ/Iqobfi0id09SUTH/NxVgof0+FeuTpUU8yGRPSawL20KjQ7sQJPoyuHBIMP7t 9PjN3fAau3T2g9ChuHhuAwFBkgtzWKVcDO2HrBrE= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB5KhXhS016996; Tue, 5 Dec 2017 14:43:33 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 5 Dec 2017 14:43:33 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 5 Dec 2017 14:43:32 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB5KhWpp028607; Tue, 5 Dec 2017 14:43:32 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.93.77]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vB5KhW325077; Tue, 5 Dec 2017 14:43:32 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v2 4/6] dt: bindings: lp8860: Add trigger binding to the lp8860 Date: Tue, 5 Dec 2017 14:43:25 -0600 Message-ID: <20171205204327.12111-5-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171205204327.12111-1-dmurphy@ti.com> References: <20171205204327.12111-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 --- v2 - Moved binding changes to first patch in the series. Documentation/devicetree/bindings/leds/leds-lp8860.txt | 3 +++ 1 file changed, 3 insertions(+) -- 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 22b594d95162..3452c9c10499 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -21,6 +21,8 @@ Required child properties: Optional child properties: - label : see Documentation/devicetree/bindings/leds/common.txt + - linux,default-trigger : (optional) + see Documentation/devicetree/bindings/leds/common.txt Example: @@ -34,6 +36,7 @@ Example: display_cluster: display_cluster@0 { reg=<0>; label = "display_cluster"; + linux,default-trigger = "backlight"; }; }