Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2410126imu; Tue, 6 Nov 2018 14:10:16 -0800 (PST) X-Google-Smtp-Source: AJdET5etz5pCYI/7kpwB0ANAPThYN/LUtGkVamkuzlqi4wVuhwvJa/PFM1D0Fo3yelzMRR0PLagI X-Received: by 2002:a63:e655:: with SMTP id p21mr6411250pgj.70.1541542215976; Tue, 06 Nov 2018 14:10:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541542215; cv=none; d=google.com; s=arc-20160816; b=r6CzRMvsvjTJgKe8ev5X77qIC/c3V2gyMVHB3TcTnUzszS1AFcwQxNm4Lw1J8rVV1O WgQeBaEtHY3JIGnBAFiRSB22FH7D7ODgLH+Cz9mCpeDjro0uiczwNyeQEScIOjyD0RsR vXk0Y2pkiqz/5/B/DMf/7ZTfrchkPYCNc11zuzAsSPRAQRr5TyPGn9FyXnNmm9LHQZvw HlLQM9Pcn0/zrYR7IDbLGmepmz5U//cvIc6A1N+bKu73rkhAe+U1wgRcyPMy9iBbgTjd SKFuH79stTGuIG7p5QickpHQQEzkx5Dk+4rMCt8WOFxc3qJ34wI8QHAlIXwZbIb7aKlZ uzcA== 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=a5/XatnvJgk+qLor8+MD8ZHsRQrQHpLnOnNg0BE/dvY=; b=tk7SUeZzw7cVN5OyWbVUGJ/poTfFIKiuJC/WGh0sv3nmwvw3w2qiQrkSZ36rrs9fVM 9MFUf41VY83A/vApkh0pnvZZ8JrV+hesJmIkRqg8TqUrf1Pdd6fuPsRknPBNGGpQDFNX 7Y6h1ZvccjIXXqwLpIDQGOG/7JdVJK1RYtkvFwMzJNhmR6SUnE1F+ni8g3lst/xwY9Hl U9ceiLUIgljp2Zi70LsmEkK/nkYtHIg04cl99epYeonGphCAJUQ6qaRTJdQnCcKBquV0 1t/BY8VBCbKACjZEpw5+GDLYZr4Z/IkF9Xf2jBP+y90QWSjXLjhWsD9cw0Pom5lHzFtm sT9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fl13HKrZ; 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 t1-v6si47955626pgg.541.2018.11.06.14.10.00; Tue, 06 Nov 2018 14:10:15 -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=Fl13HKrZ; 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 S2388779AbeKGHff (ORCPT + 99 others); Wed, 7 Nov 2018 02:35:35 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:40987 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388627AbeKGHfd (ORCPT ); Wed, 7 Nov 2018 02:35:33 -0500 Received: by mail-lf1-f67.google.com with SMTP id c16so10045252lfj.8; Tue, 06 Nov 2018 14:08:10 -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=a5/XatnvJgk+qLor8+MD8ZHsRQrQHpLnOnNg0BE/dvY=; b=Fl13HKrZ/Ss4vHwZlB72atL3TNOUefOpJXhCG38AASgxt9l1U75betHPYRUGva0NGc uzZKnEfvhFUvJdmNDtc6SIs/NdAoRCVCOgQCE0ZmLkJNPWPGEjKoCVzqzLmeRamrnvNS gBWX6zrXvyNvIRKpZIknVNRR1UBtHmxP4oTSN8di1J0abJ8OWx5U2H3MBw/2ON31toTf 4H5xYyeWi7s51HSvXgxVJGj+9x+5TuC7D4GvzonEXS75/u+UG26Yhtv7Zur01PHZHBdy oGpgCrX2B1Ct3e3r4TZ8tMQb1KzFA5C9xCPprcjXwukrNeoRKmasgazJPRMuctJxzCWN sJ/g== 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=a5/XatnvJgk+qLor8+MD8ZHsRQrQHpLnOnNg0BE/dvY=; b=sQRfSZ5AxF3ly4GTNRa0oUhS1yHD2R4Fz0lE2xuSpI4FnYF8fQbSPtqddz5OPJiG+Y 86e3s0bWDbpgYhAqQzDWZHmG/2cWI37SRslYwCLbtenVaUj8wJlIDlJYSKYBeSQUyZSd YATxiVF47Eg46wh5zOWXwHNZ6pv9ZaKS71oo656VKxi8izm5/Q1hZOMewfJWyLHHzWp0 0IRMw2T3vHmWq++aNI1U6SFYuj5YPcxIo7SnoFbr+YtHypJqlmWaS4RP4qRoY8Z2MHWm 3F1udC12GS0VQ/BjY3+EtuHRDVoGZoFeaAtj2jRJSbNhx+yd2hFCVZ0xtCp0/ConRoLE OhDg== X-Gm-Message-State: AGRZ1gJPd0LnPhsjg+AHOm5+NlbdCg1IxSjIy/7I85C3TnSeWAtgI39D 206pdt51MTD66mzOp3vqMzbrEqiaMds= X-Received: by 2002:a19:41c4:: with SMTP id o187mr16934158lfa.32.1541542088002; Tue, 06 Nov 2018 14:08:08 -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.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Nov 2018 14:08:07 -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 13/24] dt-bindings: lm36010: Add function and color properties Date: Tue, 6 Nov 2018 23:07:21 +0100 Message-Id: <1541542052-10081-14-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-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 a88b2c4..aaffc68 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 = "white"; led-max-microamp = <376000>; flash-max-microamp = <1500000>; flash-max-timeout-us = <1600000>; -- 2.1.4