From patchwork Tue Dec 12 18:58:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 121625 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4501599qgn; Tue, 12 Dec 2017 10:59:07 -0800 (PST) X-Google-Smtp-Source: ACJfBouXa4922z6WGwlw/P+NcR8i8tZsBeD8JDaPfA4n8F9wrIfnQ3A1pNB2zkZtaTTZbt7Sj2fQ X-Received: by 10.84.128.34 with SMTP id 31mr3256915pla.303.1513105147135; Tue, 12 Dec 2017 10:59:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513105147; cv=none; d=google.com; s=arc-20160816; b=QtcNHEbThhgvYFAtnCTh0NGWH6jJGDHwwNQuojrirBczIzUyEGKnqqO3svBKMh623k 0z8T9UgA60DS2RLcnHO8dkmGVGL9E+zIww72jtaOYgHgUvqBc9f4IkGt17oABttRAub8 O2ePzEyh1UTttXkovhZD1PBGjTw1XoNJUsiW3850IQDbmjAg3IxStZ8kIWR/42m8fLAJ 8Wg6fmgnzPoFHA8tdVEG1oFg5m29PrLfDlBSwGOPQJs0+Wrdggtvl+8dG4O/nI+To7Lk AhhsqTzgCe7Xr7nt3NTys5DgGxjPpI0m8Kf8PF0dOwDyDn+R+hnly9tKEHd6xigVLY9n CmSg== 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=zpwkgla1B/cPE5LtxPF49ju+D3QTBqv71f1e5AR+Xl8=; b=IsjCQCwXTr/RNXVtjs7z5GEes0XqcINrdM4OsyAn6S3Td+TToMbGWRHXH9FhoiknNO qxYUn0YUaFXuR2YPBjVOgj7bMWUsbCk/tVkc32uSszghrZsGSpcQanvG/aQ837jlBhEQ wTfqZ0Kcz6hBf2shyr2NsB1JLIvfbB5H7CJK08QusYUXCg8wy9Lvcvx8/lT1HGc3//Vt qtxpbGJ8ZwFb4dHw46sRy42ovisHiwJjDIQf7bngyOQdAv3jENV52EesyvSYKLETURQg 2amYAqXEZ5MIyn9RtdXejZxE9WSK5+lXOqRDVpQytK4mROD5Plro41MEOiQMLbWCet6p AeMw== 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=f5vIfzhO; 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 30si12014786plb.782.2017.12.12.10.59.06; Tue, 12 Dec 2017 10:59:07 -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=f5vIfzhO; 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 S1752506AbdLLS7F (ORCPT + 6 others); Tue, 12 Dec 2017 13:59:05 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:18706 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752407AbdLLS6c (ORCPT ); Tue, 12 Dec 2017 13:58:32 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBCIwFC6019646; Tue, 12 Dec 2017 12:58:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513105095; bh=08ejDM/G5l91VxHoJBp2bdIHtPff4qiBFWcl3nwaf28=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=f5vIfzhOacsIrEK3VxI+551B2cXV0TWXjf1ZNuwMPJwyz5wxcjWi9N29curAlnfsr bA0HjT7H2yP7RnCcO84LccYtu0iCCj7ch/3Ju7hPAS/plv8Sgcp/9ZH7sZtO0/RkXP gRwLiShPUcllfnzpMrqtEze/XgnGmNRsFQC+ifqQ= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCIwFTZ019040; Tue, 12 Dec 2017 12:58:15 -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:14 -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:14 -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 vBCIwE7u002983; Tue, 12 Dec 2017 12:58:14 -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 vBCIwEx25372; Tue, 12 Dec 2017 12:58:14 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v3 2/6] dt: bindings: lp8860: Update DT label binding Date: Tue, 12 Dec 2017 12:58:05 -0600 Message-ID: <20171212185809.23880-4-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: 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 --- v3 - Added address and size cells, updated label with color and inserted spaces around the reg node - https://patchwork.kernel.org/patch/10093749/ v2 - Added reg to child node and made it required Documentation/devicetree/bindings/leds/leds-lp8860.txt | 17 +++++++++++++++-- 1 file changed, 15 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 b9d09acbaa73..c3d64ade1e26 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -9,20 +9,33 @@ Required properties: - compatible : "ti,lp8860" - reg : I2C slave address - - label : Used for naming LEDs + - #address-cells : 1 + - #size-cells : 0 Optional properties: - enable-gpios : gpio pin to enable (active high)/disable the device. - vled-supply : LED supply +Required child properties: + - reg : 0 + +Optional child properties: + - label : see Documentation/devicetree/bindings/leds/common.txt + Example: led-controller@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>; + + led@0 { + reg = <0>; + label = "white:display_cluster"; + }; } For more product information please see the link below: