Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2410468imu; Tue, 6 Nov 2018 14:10:36 -0800 (PST) X-Google-Smtp-Source: AJdET5dGUCwY3ImsawuYq903hfxmcdEsiMjJBEEn9IF1Xn2lRBCctkCW2n/N9p6pfqunBBinXR/b X-Received: by 2002:a17:902:6e08:: with SMTP id u8-v6mr28029855plk.64.1541542236363; Tue, 06 Nov 2018 14:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541542236; cv=none; d=google.com; s=arc-20160816; b=NmL+WI62JxUHKTLkJB0ZakBZJeh98xYIz/JedYj69Z2Zdv5VQ2G1lmp5L1Eb7pYBpc dAMjvKAXHbgu+KPebrqzc3dZ+HC0saTlkiUt9qU2MswE9Myz0xJLmKIJqmey3Mr+SuyQ TnHi/4uAMXYoXe7XoIL0GrQt3NSQsr/WZGJ/SmzAHvLPWQGCOekbm7+NxeK0opJUd/S0 fNRizQDPMe1eAiWBdDuPE3aVtX0MoCc9zsd84PWEBi+EwjhoOl6Bvn6tZZkjhD1Pk8Xw d303DCTfs+LiiABaUEkOeo9Qy/MJivt85dIaeCkpMggJcazwEXJos1sbT3PiwVGYw4p5 jaJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=B0KLXEyqmLg123dAWY78PbKgAxUWJlHH/gWCJGv3Ue4=; b=RI1hTiBuytecI8F8WV12GEByfq/f9YpeKyYfgdlvErypvliOXXljoN4jwebr7WX2oK 0ZvPAmXDIvRgA3vacZfMnpSWQEzn8WIakPToxip5LLVxvF0WN+2Ny/JUcGBqSRR4dOJy GpKBG7Zj2XRiNp6YtuZK43m0WqqOs2Yy1n2agEsNkzQyPiGZQvGd/QqNG5DHWmUhJwK+ Eya3vpOdRaBkI9IvzVVz8rlsPH9rFT/cmX6I7qY5dw3HdUWhpjWZy0Yg3t9A67YK8nVL y1yPHPRhNBvxYCcCDqVEfwLbUAamwlLEFQHHzAfKK20A+YQsSdj/7nOWG9C4Qbyp8Vv/ 7j+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P7g106US; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s18-v6si21703913plr.376.2018.11.06.14.10.21; Tue, 06 Nov 2018 14:10:36 -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=@gmail.com header.s=20161025 header.b=P7g106US; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388527AbeKGHf0 (ORCPT + 99 others); Wed, 7 Nov 2018 02:35:26 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:44092 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388363AbeKGHfZ (ORCPT ); Wed, 7 Nov 2018 02:35:25 -0500 Received: by mail-lj1-f193.google.com with SMTP id k19-v6so12916296lji.11; Tue, 06 Nov 2018 14:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=B0KLXEyqmLg123dAWY78PbKgAxUWJlHH/gWCJGv3Ue4=; b=P7g106USWfKeh2kT4fDl03R5PBDzoSporaNDQSeszGvLx3alcBKmK7GijLDwmWrKyu YIzx3E7L3xuMsS3AWww2TPeRRInW2DrAUY2qAkkR8s8Sji7tw/7h7u2eKzb0ODDWQC00 qj0N3FkFtF7O2hJguJZyAZs/777g0Rcs6+lmsyZAZE0+U2OKiQHDxPlVz+LJuyXMxndm 05ijXxtYfsKrA+G7bLwX9ST9IQedwoMNZs4oTSn7AjA+Hhs7DdDplh33N/u1V7fKpxsu GoA/+VWFNQbCwUV7shQSdi1IYHdQyvoWsRteDuYyER0Qs8cR3NMrVCoRfS3J1bNQGp8y 2U8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=B0KLXEyqmLg123dAWY78PbKgAxUWJlHH/gWCJGv3Ue4=; b=h6y1GUwXmF35G3WXT6z07myvdjW87tKRqa1wJT3InLpGdYcwZyVyakD3jAIX7GzMCp dQ6w20euFfNjCDGKg4oM3QYdMzRqHh5QsWlxgf9pp9sK6bGV8lJXhfEIFMPxe+QDpsVQ bdY7+Jw9uPxP0DksRryoZUUwaNrNOsebgRuiPEFSUqmAhjO131EBV5wFluIF6F+5CA+3 1UDskJxipJwgpdTPSMqGXQB4wHb2rTeYfVX70fyryWYJM6FngUsT/L6YQhcYp4ZCv4AR lDVBWHezFpiNtXmE6aLrct9NkZpMceHzYDJlkI8Kbl9F8n4GF1MeQLp+a6rwXu+jVKkH fxCg== X-Gm-Message-State: AGRZ1gLdOlSivM+ULRDas1+Nj4symwO8dvMlSKOJuHUXAQXHDYd7lrGs kQm/xmEYydlXO71m5Brw7b8NvyoTBD8= X-Received: by 2002:a2e:63cd:: with SMTP id s74-v6mr17628119lje.117.1541542080745; Tue, 06 Nov 2018 14:08:00 -0800 (PST) Received: from i4790k.home (bgp86.neoplus.adsl.tpnet.pl. [83.28.79.86]) by smtp.gmail.com with ESMTPSA id c20sm3185654lfj.67.2018.11.06.14.07.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Nov 2018 14:08:00 -0800 (PST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, robh@kernel.org, jacek.anaszewski@gmail.com, Dan Murphy Subject: [PATCH 09/24] dt-bindings: lp8860: Add function and color properties Date: Tue, 6 Nov 2018 23:07:17 +0100 Message-Id: <1541542052-10081-10-git-send-email-jacek.anaszewski@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> References: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lp8860.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/leds-lp8860.txt b/Documentation/devicetree/bindings/leds/leds-lp8860.txt index 5f0e892..c439bdd 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -20,12 +20,16 @@ Required child properties: - reg : 0 Optional child properties: - - label : see Documentation/devicetree/bindings/leds/common.txt + - function : see Documentation/devicetree/bindings/leds/common.txt + - color : see Documentation/devicetree/bindings/leds/common.txt + - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) - linux,default-trigger : see Documentation/devicetree/bindings/leds/common.txt Example: +#include + led-controller@2d { compatible = "ti,lp8860"; #address-cells = <1>; @@ -36,7 +40,8 @@ led-controller@2d { led@0 { reg = <0>; - label = "white:backlight"; + function = LED_FUNCTION_BACKLIGHT; + color = "white"; linux,default-trigger = "backlight"; }; } -- 2.1.4