From patchwork Mon Dec 18 20:23:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 122321 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp3179270edb; Mon, 18 Dec 2017 12:24:45 -0800 (PST) X-Google-Smtp-Source: ACJfBosFN9kphYpL5XlUHKOBZuYC/CgFDer9+sSM895hvgzxojpZnubNy2OQIWKawTUOHZG/ha3F X-Received: by 10.98.80.208 with SMTP id g77mr824749pfj.201.1513628685470; Mon, 18 Dec 2017 12:24:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513628685; cv=none; d=google.com; s=arc-20160816; b=HyamLvPuNEwuHLcBIn8onwevDt4PMTy1A3QSP8DkG4X9pCWMKserRt3c4wA2thCSlq fAg9kNNqqXdYDQcaLb0Qwo3HdYcmWWSSFsvkqygyabFGrD7TqUuTYFOhMISlhHyS6SN5 z3hVpaU0IOrv7vBAr+SPZt8jsnYRvNX9JGryQmPSwbS24unBn8rFDPljl5pdmYLS2frB o4vfxv+Oaz6jULSrkRd/vJwPVSeTqsgGvDy/Z5kz3c31xsvKFAFHdoQq3nFE5df6qWgE G0LoG9k5s9Q9PCbun7QrcLGUCUqBCeCs+Wc72KIk3ljcjdDLS5q/LURrMQrn5XJNbxyU IMiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=q0iip/Z2KF9QI8Fks+N9DRL4IpyV7BGNG512iUZiENE=; b=itLWt2gABt295mcWrFAHRG2NsOZQn1T1DIc1QnLY/1BJeBmSOTjmrYZfFl49S1UXbW 4RJUnW1ljupAQCuaSwwkE8P1OERZQRnQlEWGgdoE5+MCtHs6cy1Uk/uNHyrJPdJkk2oI sykw5FBMLOwdDNLm2tS9+WT3SJt7mGAmRY7F6TaHnpiyiirS/Y1Z3r8QOGeA5eBfyUEp uTBAxglPYwhbPDWj1pbsbA8ouW+ZBwY9il5fK/Y+Ue93tQxJmws6uu73sSy5f0lyoGYY N+ZjAh0HiXkB/qnhBNnhdiQ2FocVY9cvRV7mgxUD+cejrkix70jdmBy+XpAh4UHqnPlb k/sg== 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=hSyy8Egn; 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 t17si9708538plo.806.2017.12.18.12.24.45; Mon, 18 Dec 2017 12:24:45 -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=hSyy8Egn; 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 S933097AbdLRUYo (ORCPT + 6 others); Mon, 18 Dec 2017 15:24:44 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:30308 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760530AbdLRUYj (ORCPT ); Mon, 18 Dec 2017 15:24:39 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBIKNKLL019701; Mon, 18 Dec 2017 14:23:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513628600; bh=KwJq6TqxSj4pvn2OdmVc3rSe0/fEukx8vnLTOFEAxz8=; h=From:To:CC:Subject:Date; b=hSyy8EgnoSObOu3ufDTT8/5ssAcj+lgyq2uvAbNfq26TrS3e5NcjoRouwIM9DkW0q MFD/AZbIx4c9r/x0r+nGoOqL5k6xmR6+9k/v7jc5ZjLnJyt/5CFjl4170CQMIrd89N zj9KJIcDh+e4PFE3USeSNOWdXXAaKWPrVRnfpTA8= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBIKNFoB020160; Mon, 18 Dec 2017 14:23:15 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 18 Dec 2017 14:23:15 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Mon, 18 Dec 2017 14:23:15 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBIKNFU1015746; Mon, 18 Dec 2017 14:23:15 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.68.73]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vBIKNEx19276; Mon, 18 Dec 2017 14:23:14 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v5 1/6] dt: bindings: lp8860: Update bindings for lp8860 Date: Mon, 18 Dec 2017 14:23:02 -0600 Message-ID: <20171218202307.4913-1-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 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. Rename enable-gpio to enable-gpios, update the node name to the device name and indent the node example. Reviewed-by: Rob Herring Signed-off-by: Dan Murphy --- v5 - Update commit message to remove address and size cells - https://patchwork.kernel.org/patch/10108357/ 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 -- 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..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>; }