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: