Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2410235imu; Tue, 6 Nov 2018 14:10:22 -0800 (PST) X-Google-Smtp-Source: AJdET5fu/2PZU/U2DvJfz2ComuzbZHMz3PJlz+GvpEMT06lUduzHuao8bXeKVcq55V4Be5i76I4Q X-Received: by 2002:a17:902:d88f:: with SMTP id b15-v6mr24462417plz.207.1541542222513; Tue, 06 Nov 2018 14:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541542222; cv=none; d=google.com; s=arc-20160816; b=rONDTTG8q1fbjqpHl0wTyYt2dQlbeEFrO50PUqELjkOVV9q67DY9VpBv57g1osdBn5 FJuthSDhZbDHNEqVVZ0Vvyt9FkuF6w4qc9JpxotyIEQE+tWT1lCwuVo9upRwoZd3MF7L T9ezMu/DPcWJjZrU2/49DjxtvCMQ3kBJ1i5nuvIsCbwkfuzS2sSckfqc8mruknTfgCdK mFkbaYZB1TDO2NxlJqd9ca90AA6uuXaD6ivsnj1f9ISQahuhFSSkvdXhEKvBl4Dk8Oso pe7Gie1S7YO18/9jn9yNL5yOUcE9DvZP4/9QcLHnylXBCAkjE2c+3W4KaBXsvQoud/g/ +jnA== 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=xcEBeFn++VHxoUCbcVgPLiFLzW1/27zspx1+gAZ6bs4=; b=0svGKSgz5lMbQRHOEOAjZe7YfHT7+G0Hq1j9tcpU5KF7WvMPZrcXlClWRuoF85zoeU +gmcl7/ytOczvrKbZJQjN6TKUi+srExU+nxKcmlRe5lvnMmFaCKy13d5NgthkN/aDChD wFiJbqz18F1UqLYKwaL/MvmN6aQpASRap4DKpcYrLzq9t5a3fILk9I+e1k1YZ1+VUSoN hKtUJ+m2h5Qy21LcRo8eoBTFObd0okwD/Q11FdLvfnah6K1Y72Wr3v1BwgQGAuvrQHRA WqptmiYVpJNgJfGRpyXiP6MXv5AwHfFPulfOuMy45rvZXN4awGrTX2v8XRwzvu7Vw0n5 TdoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VLCDjvJ8; 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 n6-v6si47193786pgd.25.2018.11.06.14.10.06; Tue, 06 Nov 2018 14:10:22 -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=VLCDjvJ8; 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 S2388699AbeKGHfc (ORCPT + 99 others); Wed, 7 Nov 2018 02:35:32 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:45050 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388363AbeKGHf3 (ORCPT ); Wed, 7 Nov 2018 02:35:29 -0500 Received: by mail-lf1-f65.google.com with SMTP id z13so47943lfe.11; Tue, 06 Nov 2018 14:08:05 -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=xcEBeFn++VHxoUCbcVgPLiFLzW1/27zspx1+gAZ6bs4=; b=VLCDjvJ8JYfHA1+EdtDtrMioBU1qXiVyuwlLhGUu1ZN46HGbPgKI7RG7gMglOgTPqO 8K9hkoZUqyX371zGgyLcM+SxoPWzAyr5nzrYTLGB+kl34rK2WRpubwdbp6QcG361Ug6P 8+zdGql5owY6Olg+waKK93NPCpfZSOtOX+YnpaQxlyTWXRAsV5o1OAfqR/gmFLO9YvWa w0ary76oQhporq8/CUbE62jbA9i1JyKVKeU8plx8kEd/ZVT5qiQYdmV7C3UTzneE1cdE tCMJhBkgfOndi3c1SW2v1QoSN4Z5MMjT0CsA2sbjTsSKFm5OB0pj8T6HWiT2z0l/s9OD XuRg== 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=xcEBeFn++VHxoUCbcVgPLiFLzW1/27zspx1+gAZ6bs4=; b=itSnFtTrQ0q7+4qaXHfPQ1Jcyel6/0C/6PeCpn7MQYnMWLEllDpYWD8flEXxYK23Dr wZeJU8ojM/iZB2O6fR0xKsO27GGVaIDWC4hYKloiNv9+U+aAZqjht4tzkiNa48fi+EH8 xb4g0dWsGputV+SnRm8jLX1PBwq4yPYPOYUtaZdVUWw9FHAH8yYRp6Xekb0x8Q9gKmPi mHGxJt7CRYOof6+k2rhMKCveqXHAhuDxeTi8/E42LVjYIC7xoD/ESzEcMoOwyF/9Ynqe bEkOKhkYrzT1m9oamS4iYaXNwcqG9V58Gki+l4YKVwvHjhwxpPf2WHw+bAOLBiEu0I9d EemA== X-Gm-Message-State: AGRZ1gKKzAZVquzodKcjtqMW8NaJrnJMZIBREMXGmvLXb2Bux2Xnwa+c lZ0EXbpjDX56QbXu5cU65yStRyCy0S8= X-Received: by 2002:a19:d9d6:: with SMTP id s83mr2716755lfi.57.1541542084493; Tue, 06 Nov 2018 14:08:04 -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.08.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Nov 2018 14:08:03 -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 11/24] dt-bindings: lm3692x: Add function and color properties Date: Tue, 6 Nov 2018 23:07:19 +0100 Message-Id: <1541542052-10081-12-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-lm3692x.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt index 08b3528..62c8fe5 100644 --- a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt +++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt @@ -26,12 +26,16 @@ Required child properties: 3 - Will enable the LED3 sync (LM36923 only) 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@36 { compatible = "ti,lm3692x"; reg = <0x36>; @@ -43,7 +47,8 @@ led-controller@36 { led@0 { reg = <0>; - label = "white:backlight_cluster"; + function = LED_BACKLIGHT_CLUSTER; + color = "white"; linux,default-trigger = "backlight"; }; } -- 2.1.4