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