From patchwork Tue Dec 12 22:01:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 121660 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4680927qgn; Tue, 12 Dec 2017 14:02:11 -0800 (PST) X-Google-Smtp-Source: ACJfBoubhZ54q9dUFXOIVIjRzBBhVsYkXm9vuDbBA47v8FodUtaxY5Gexfmx0dwRsZhLPRlFm2cq X-Received: by 10.99.157.3 with SMTP id i3mr3255829pgd.165.1513116131544; Tue, 12 Dec 2017 14:02:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513116131; cv=none; d=google.com; s=arc-20160816; b=efltkv8hgnAd1b7fgaD6xHUaPSVc4uJlRu06URCNCcrKgUTbSzbsepG1HKaEdezISJ 1OtLBsIkxoBTOqgbpo1L2iJhYAUbVeae5fvLSYUY2rhNHyBy/iqVMhhWjgRwI5TSXKZQ y4ENwwhba1+4jqkOTmm8oY+92U76sN7vlwchNe2i54QzaUSzMBlRCQvlx0evfbEv3hd/ HrKCvxEVLQxxdhPYNAT/EmsvxaDHsy5XxH77G3f7g2hvTIbH+t7NBD+c7aspuiSky2E7 Vl7kdScJS6tlbp0eUc9Q0sUa+izIZHM3R3NaY1pytmxSPySUt0tbilQaXaznp+wfkz/J whCg== 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=QYSxnAVipgykUvpgdEepP8Ko14emLlYwRbf0Ryk3J40=; b=UhowoUzPOIolqyOxwr2MP+cQA2aYwukvAiIQswcLznMdVd+k+rU1ZHlx4ufB2oFUaF OBHOiLFT2Q1i22uHy/HW9P1R8gETL1kDiTINODHQdFEOpf5PRksbLatfVMBWIjMHBDXo GFjFAkk8TIdyLO9UpMz7HK46MRi/Gyuk8SB9mb4w4HwASKc8RiKVcfqtmyhGP/gOIbjG oJb67ImZQhH3k4T1cxeGk/Be8dvuNjDylYGzPqlWn7+ULXmiatkiVBioIqRdLtGGUHkJ PAHS4It6GpjM29+Bv+3qq0SFx6deUPUKZLzqEpI7t7H1lv51+B568ywCv30pyTcvJYJ2 d6yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PIr2eLCg; 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 l1si134480pld.20.2017.12.12.14.02.11 for ; Tue, 12 Dec 2017 14:02:11 -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=PIr2eLCg; 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 S1752824AbdLLWCL (ORCPT ); Tue, 12 Dec 2017 17:02:11 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:38457 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752679AbdLLWCD (ORCPT ); Tue, 12 Dec 2017 17:02:03 -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 vBCM1lMr023408; Tue, 12 Dec 2017 16:01:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513116107; bh=dZ7v4JZVTe68gHTMPb9Lk0PQUHQI+zMLnZJ9mga9kzs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PIr2eLCgkKOd1zM/5JmQNdrWCHMC2JzqCF4yEJntRGY8CK66Y6t5R7CZ9SPZTc/Wx lRKG5FRxkFhHlRWbul98Z++HQCMquUrB5Ys2A671cSThrHbovII1Jj1YA12fykuQFB Az/Vc+4OAENfvv/j+QiPEIQ2WqGuJUfhiasCI9dk= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCM1lHS022616; Tue, 12 Dec 2017 16:01:47 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE113.ent.ti.com (157.170.170.24) 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 16:01:47 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE107.ent.ti.com (157.170.170.37) 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 16:01:47 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCM1lgx009566; Tue, 12 Dec 2017 16:01:47 -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 vBCM1kx11333; Tue, 12 Dec 2017 16:01:46 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v4 1/6] dt: bindings: lp8860: Update bindings for lp8860 Date: Tue, 12 Dec 2017 16:01:38 -0600 Message-ID: <20171212220143.31210-2-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171212220143.31210-1-dmurphy@ti.com> References: <20171212220143.31210-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 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 --- v4 - No changes 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 Reviewed-by: Rob Herring 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>; }