From patchwork Tue Dec 12 18:58:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 121624 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4501197qgn; Tue, 12 Dec 2017 10:58:39 -0800 (PST) X-Google-Smtp-Source: ACJfBotniUnqzuDKdJgYJIkq9mSZSQpVLXUgG/WCN7exeZcJJFz0VniXP4KaC1GO62/Il8AYgiVg X-Received: by 10.99.96.87 with SMTP id u84mr2897207pgb.69.1513105119606; Tue, 12 Dec 2017 10:58:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513105119; cv=none; d=google.com; s=arc-20160816; b=Y1AAnfTXz2DbSxnhNl6wGVUTNLYEODa9wpG66aaA5gFSFS4WolB/aG2i7LqQs2DxCl iZ+HBdr/k/S5kk1DPhpq9DR02BCbKZM1PWU0nYfSQoMlf3o+qVF91NNgtkA7Rz6PggVi ooaVuf9a0NO3luPzsOJQ1K0NYHwzJppzvqdqMhdFbACVe2hvbfSzHQjTWdvfU8pbHTWj IOYPZ3/Sh+XfCOoCAs23QseNVsvPqOD/m3VAC/3TybSqC5jA8D1KwWnebgMNimBvOvaK tnHret0ARni7CuYOQPFi8Nr6NFmWKP9Kbz9+7fnaIrqj8ZE8ssSkMZAhYdYdKYpyD5Lm tx8w== 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=XBhrFfTNdC/+YSEUrifzh5qw3XQo0qgCwkmvvZFaDcA=; b=0+YZZRNEeP60tN1Rc/Cad2WIQK7fL+h4TJHpbgRQzdTS9IOwlS2X4QDkzvxiBfgnTU jL7Es1hQW7ODu6Llauf3OWc5uI9Q73toF/NPImM1iivHa+Ssy4yUGG+mYvgOImfLXad6 TzuArGskFxYZAZvf5dLN2TPFd/gRFd1porD7PvLlLeKnAC+FU5eYCoGVFrUjMAqFxljb iKCsKNzwUtpKdL7OA4Nr/rV6+ofxv4//ci5Qh5fqYJ6mrQEr5feuy5Dmq0G+GLZ13apW RjCoFWg7m2DHS3zAwrsMq8qvyj8iYcfyUOKq3ZO1otWM0PreHZGQhuANr1gSa8f9GkjA HbEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Dw35pWwT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 30si12014786plb.782.2017.12.12.10.58.39; Tue, 12 Dec 2017 10:58:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=Dw35pWwT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1752470AbdLLS6f (ORCPT + 11 others); Tue, 12 Dec 2017 13:58:35 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:30789 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752255AbdLLS62 (ORCPT ); Tue, 12 Dec 2017 13:58:28 -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 vBCIwE9f027853; Tue, 12 Dec 2017 12:58:14 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513105094; bh=iyix0R/gWyZ1+UpBxJlHYiAqZBTYQ7zNwfoCJUcSE1s=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Dw35pWwTLNjINStRCNJJ0gL4rIxALleF+iqEkxtaM7m+ATUR38GCkRmhfN7N2N89y swffweBLwveU5CkExsGYmbprkdk+MHGhzhIm/2dU+XpiV+/YYFrv2ztQis5tU7DbdY ot4uvpdlvGolxJyaFKuVqO5EFoyP5YkWx63T+d/A= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCIwEoT002122; Tue, 12 Dec 2017 12:58:14 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) 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; Tue, 12 Dec 2017 12:58:13 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 12 Dec 2017 12:58:13 -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 vBCIwDgq002974; Tue, 12 Dec 2017 12:58:13 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.69.253]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vBCIwDx25364; Tue, 12 Dec 2017 12:58:13 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v3 1/6] dt: bindings: lp8860: Update bindings for lp8860 Date: Tue, 12 Dec 2017 12:58:03 -0600 Message-ID: <20171212185809.23880-2-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171212185809.23880-1-dmurphy@ti.com> References: <20171212185809.23880-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- v3 - Indicatd enable-gpios is active high, moved address and size cells to child node patch and updated parent DT node name - https://patchwork.kernel.org/patch/10093745/ v2 - New patch Documentation/devicetree/bindings/leds/leds-lp8860.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 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..b9d09acbaa73 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -6,22 +6,22 @@ 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 Optional properties: - - enable-gpio - gpio pin to enable/disable the device. - - supply - "vled" - LED supply + - enable-gpios : gpio pin to enable (active high)/disable the device. + - vled-supply : LED supply Example: -leds: leds@6 { +led-controller@2d { compatible = "ti,lp8860"; reg = <0x2d>; label = "display_cluster"; - enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; vled-supply = <&vbatt>; }