Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2411739imu; Tue, 6 Nov 2018 14:11:58 -0800 (PST) X-Google-Smtp-Source: AJdET5fWt00JxQLE64ZL5MRRSdPyzkWHqdiVHSUpV4CIH6XtSBtb90TqjXFCYq6YLqW79yz9vptn X-Received: by 2002:a17:902:1026:: with SMTP id b35-v6mr28674474pla.283.1541542318690; Tue, 06 Nov 2018 14:11:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541542318; cv=none; d=google.com; s=arc-20160816; b=Trc7S4cXo0Y8dcdRfH0SiX7mGDkBhNJ7vM4r3nEpR1Nf0djwK2PBQdXNCcgPcRRPX+ HUr+rbFPIiB+O4rjb0pgPaEuJDYoY7cgCql2ZRojww3H4y9t2mi+RK/jq/ecyR/W3EUO c3PEWKIFUNRlRB7+4nuq7ABo2pu+eyd3ug4JTd5mBw3/HTLXX7a8ztTjTrCGL3tV7JsF 4VuWoW+2/eJ6KSmqQfIVjNzA+7ZnR/nn0hygL2k4dpm978R90SmnY55CPlGuXcfhPQMv iQUMUYA0UdQR3j4Z4StysZQf2EZm0fKyI3sdco8ro9a8/csVCjXdegggi/PjJJfrTROp 2KdQ== 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=npoevFiPZ0Bu+vUBGGj/WOqwaFjOnNE9lPJR+Z36vME=; b=0qGOR4D5BY0OawleCpIXB1mCu0DsmCWCjVsxHBAiHVPj6Q8NHnrTYtG+MYNCjMCtL6 bChwEowst015/1P3kh/x/nXMceGCU7BjddqkNKKQPoEaZb0QXfror9EMW8ag95n3RGEv 2hG2kS9h4G3BZzy45Zbj2tmGElI8QnS/+TOBbcdgxY6NmP/Iawql1Y1Ghf1I9eIAlGX3 +YrpTroQBW6Ts9XsCatR+9jnU3jXPfGb91n5qAz9cXf4gSgfYgJ1tebOZoCSung3mXhZ vDCtGrxgxQ1a+GlMfB4z/wG7DT/6AC7fzt/t1yqpGWN8Rtxb6BEPcr7e/7aS6Ikvp503 g8qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=poQHL6m6; 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 s192si1390483pgc.144.2018.11.06.14.11.43; Tue, 06 Nov 2018 14:11:58 -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=poQHL6m6; 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 S2388330AbeKGHfW (ORCPT + 99 others); Wed, 7 Nov 2018 02:35:22 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:45061 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727248AbeKGHfV (ORCPT ); Wed, 7 Nov 2018 02:35:21 -0500 Received: by mail-lj1-f194.google.com with SMTP id j4-v6so12920501ljc.12; Tue, 06 Nov 2018 14:07:58 -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=npoevFiPZ0Bu+vUBGGj/WOqwaFjOnNE9lPJR+Z36vME=; b=poQHL6m6LDuoz+XyiOwcBfQn7QdgRSjvF2srG0UAtfL62kOg07p656iSqiNlWXot5h fFxuW9EnO2uahlgr8p/oewCVcJ0KBu4fON8IW+AEZnGFjVuL+7cDY8vj7XQ0z2VYxmFL mHw3WG0ayHTrZaBi0i1Y/o4DLODVDS6BMMjJ6EV8ReAeFHmRDxO61G+p1RKNglTBU32V RuignncwXRINPBLalqPJ6u8Ci2h5jhf/OpNRVPIdX7iwscl40bAkv1lpkdPFY9OM0nz6 R3/SiKfwOw9gZ5Nhw3cc4YG/SiDs5R2I9jgIxidVY59wK8U7WU+zsemxY+sLl1cBdUOH RD5w== 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=npoevFiPZ0Bu+vUBGGj/WOqwaFjOnNE9lPJR+Z36vME=; b=K4Q8Zyz77qZ5W0jfscKI2mr8WSX7vTebU1AxT7DkeZUdxXvLCR9BNtPzl30CN55rmv iWlTeAsmHXlWQ7KKTYqC4DFsLCs0wzxkd1WEXnxKLF/cpNKnv4J4MtgzCK5jN8ng5eEv PpTzDePmc2e/Kw9hmiHeOz3VRsOoky4o5kfvBO5HkGgC59V8sn/tUBKApqlsBBaGl2Ua 5PoSl0EKuXxv5k8oguwplB6rJWAxUQlM0/GtudS32OjK1fEf9cwCZ+YfMEFcdOcdhTFR mW6G2HPP0N+DQXEI8Dx3ovH4074vCrgXqNSLjQ+oqrHO+vW4fluOvCdHphSEJL28ZHkP OBSw== X-Gm-Message-State: AGRZ1gJtDSG2TzmokQTIZiKcGvu9NZByp1AUk79q058ihVaSqPMhTnLh Rhmaom6I+uzC2If7gvcIbND1QvKp X-Received: by 2002:a2e:9e53:: with SMTP id g19-v6mr4719347ljk.39.1541542077306; Tue, 06 Nov 2018 14:07:57 -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.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Nov 2018 14:07:56 -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, Daniel Mack Subject: [PATCH 07/24] dt-bindings: lt3593: Add function and color properties Date: Tue, 6 Nov 2018 23:07:15 +0100 Message-Id: <1541542052-10081-8-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: Daniel Mack --- Documentation/devicetree/bindings/leds/leds-lt3593.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/leds-lt3593.txt b/Documentation/devicetree/bindings/leds/leds-lt3593.txt index 6b2cabc..1d87c73 100644 --- a/Documentation/devicetree/bindings/leds/leds-lt3593.txt +++ b/Documentation/devicetree/bindings/leds/leds-lt3593.txt @@ -9,8 +9,10 @@ The hardware supports only one LED. The properties of this LED are configured in a sub-node in the device node. Optional sub-node properties: -- label: A label for the LED. If none is given, the LED will be - named "lt3595::". +- function: See Documentation/devicetree/bindings/leds/common.txt +- color: See Documentation/devicetree/bindings/leds/common.txt +- label: A label for the LED. If none is given, the LED will be + named "lt3595::" (deprecated) - linux,default-trigger: The default trigger for the LED. See Documentation/devicetree/bindings/leds/common.txt - default-state: The initial state of the LED. @@ -21,12 +23,15 @@ be handled by its own device node. Example: +#include + led-controller { compatible = "lltc,lt3593"; lltc,ctrl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; led { - label = "white:backlight"; + function = LED_FUNCTION_BACKLIGHT; + color = "white"; default-state = "on"; }; }; -- 2.1.4