Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2454536ybi; Sun, 9 Jun 2019 12:11:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcWLYF9/Facta8+DUNda0PqZ7SYkBRban+H7LnJ5T7Cou0RNKwrGtlm/ChEhUtko3IRsUV X-Received: by 2002:a62:ee05:: with SMTP id e5mr68966997pfi.117.1560107501877; Sun, 09 Jun 2019 12:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560107501; cv=none; d=google.com; s=arc-20160816; b=hB8QPUxdfLWF5s7AOELymE21cXtRFYW4RnJdcRXTWoh38Wj/rCxu8GwGNZ+fNsAyI+ VHXV+JfMdV0sFsoFwzPCzJimhVcJVj5g/GNAEmagBTsHnFHZEB/5vzUB6qtUxC2BF7D6 EE0zmozDOnWgYQ4Sghqz29oXuVJfyFilZvFcGY7yCAN5JJ76R8DbG3q9Ea/c8k04Vuf5 m9H0QPEGqsqS4SksZel4zo7jIsPM8qNl/o8z9ug8pv6j4qiik7Jv3AiXwVQhFW/o1ElG grvZmsHgHLHTHhyaArftH1UShRV/9TncWzWvAeZLCqirHfFJUqALXxFvy5mGekMWs+7N s+eA== 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=1REZxe3P1+JW6Xm7KwYXE71LWPK1YU+cJhkDympEObA=; b=M0lmPmrLqFA8zww6Mo3uLFS8l2/8KvH9WnCfhAZOiTxq/LwjWVjj1RGTIPGQT3TCsw CpPS3fTS1Mimp9CpLg5iMmPaE1AW0R0/ZVbmcg51WDs2dhQsjVqzcSuW+6zQHoapHVpJ oW1uhibll1ZFIAzb97JXYn/TG1YH57tKBE3heSj6Y3ivOVcX3yGTCpIYeKd4f5Y0cj2w K6NPCqUlesHtjdogaXJdRs7i6Rvz9VHtg6LmJ+YThPHKec3I+OH+4/U8kLQvah3wueZW knKfkrwz269VXqq7Fc8CZEQqgOKnFpGKdASPQZYS3jaqXIMNY55uDWkJl+QJfP+xgTQm aFuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iAg78eDj; 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 z5si7525057plo.434.2019.06.09.12.11.26; Sun, 09 Jun 2019 12:11:41 -0700 (PDT) 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=iAg78eDj; 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 S1731183AbfFITJ7 (ORCPT + 99 others); Sun, 9 Jun 2019 15:09:59 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33805 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730121AbfFITIx (ORCPT ); Sun, 9 Jun 2019 15:08:53 -0400 Received: by mail-wr1-f66.google.com with SMTP id e16so7006162wrn.1; Sun, 09 Jun 2019 12:08:52 -0700 (PDT) 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=1REZxe3P1+JW6Xm7KwYXE71LWPK1YU+cJhkDympEObA=; b=iAg78eDjDTX6pcg8tWePERcY/I449Qb7CLzf9AwMe6mae+GqbyBtNAROHVvkqVya1O KgmCLfaF2OcNG5t1yjFD+MjTyvb0dbdp+jreT2K4kyRsnKw+0psGwgRncEMg+TYc8VG/ rS1Zln3vazU1vfjegl3P1FNcJRkmznYJ/Bx+qPNCHooN8zF6t7S4qCs3uvBQjDPmXCP+ XQmPPULRrGBC08jZPyGvxu+6Du7vdNz+4jeBDux22tF4NutvMUzj9eCsB2kbOZhK+7wH BVAzULeJzzgSidzsBjxIyYrt9gdpkMiHa1GY2db/Vc4QF0Gf2fv6fTnSwv/vosSAJJP0 5r6A== 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=1REZxe3P1+JW6Xm7KwYXE71LWPK1YU+cJhkDympEObA=; b=RGxK2zgpKngvNHVxr5X9TGX5qq+Xbz55DFxRy6QrkD62x4HyTAIngFbbyi3HwkWGDm zgrqyn4HhXoW8C5H4cbaMtlPiseAPZm2k/b6wnSAIk7usx62SQFV6erh3eWUyje8O0E5 qByMx8OQj1yTvGxHoN58y5zKm5MG4QDwg+nUHmYb3MkLegNxDftntxde15eVW/z/d74U arKxCuPLfmygm3v7HW/2pkCkBKcLJ1UahRdDonPOUXMqyzGB8rVsIIufpnDt7iL4Q6kf mW+RF5eXu+kOppI5QSz6xPG7aSABoC3hpW2Gwkv5iS0vocMtw+XMlNvmS+3sVZxsgYFh 44Cg== X-Gm-Message-State: APjAAAXOV2uWtFB+3cvlLDLLZIWWqUM0yu3HD7Y87zTyw6wcpcsyUsuZ u4vPKxuUkA8n9piemyk4e4W7sqK8 X-Received: by 2002:a5d:52c7:: with SMTP id r7mr40896040wrv.110.1560107331458; Sun, 09 Jun 2019 12:08:51 -0700 (PDT) Received: from myhost.home (ckm12.neoplus.adsl.tpnet.pl. [83.31.88.12]) by smtp.gmail.com with ESMTPSA id y38sm14725041wrd.41.2019.06.09.12.08.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Jun 2019 12:08:50 -0700 (PDT) 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, dtor@google.com, linux@roeck-us.net, dmurphy@ti.com, jacek.anaszewski@gmail.com Subject: [PATCH v5 14/26] dt-bindings: lm36010: Add function and color properties Date: Sun, 9 Jun 2019 21:07:51 +0200 Message-Id: <20190609190803.14815-15-jacek.anaszewski@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190609190803.14815-1-jacek.anaszewski@gmail.com> References: <20190609190803.14815-1-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 Reviewed-by: Dan Murphy Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/leds/leds-lm3601x.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/leds-lm3601x.txt b/Documentation/devicetree/bindings/leds/leds-lm3601x.txt index a88b2c41e75b..095dafb6ec7f 100644 --- a/Documentation/devicetree/bindings/leds/leds-lm3601x.txt +++ b/Documentation/devicetree/bindings/leds/leds-lm3601x.txt @@ -22,9 +22,14 @@ Required properties for flash LED child nodes: - led-max-microamp : Range from 2.4mA - 376mA 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) Example: + +#include + led-controller@64 { compatible = "ti,lm36010"; #address-cells = <1>; @@ -33,7 +38,8 @@ led-controller@64 { led@0 { reg = <1>; - label = "white:torch"; + function = LED_FUNCTION_TORCH; + color = ; led-max-microamp = <376000>; flash-max-microamp = <1500000>; flash-max-timeout-us = <1600000>; -- 2.11.0