From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Murphy Subject: Re: [PATCH 09/24] dt-bindings: lp8860: Add function and color properties Date: Thu, 8 Nov 2018 12:01:05 -0600 Message-ID: <456cf043-afe6-8b8f-d885-13db8ede9abd@ti.com> References: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> <1541542052-10081-10-git-send-email-jacek.anaszewski@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1541542052-10081-10-git-send-email-jacek.anaszewski@gmail.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Jacek Anaszewski , linux-leds@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, robh@kernel.org List-Id: linux-leds@vger.kernel.org Jacek On 11/06/2018 04:07 PM, Jacek Anaszewski wrote: > Refer to new "function" and "color" properties and mark "label" > as deprecated. > > Signed-off-by: Jacek Anaszewski > Cc: Dan Murphy Acked-by: 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"; > }; > } > -- ------------------ Dan Murphy From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49E02ECDE47 for ; Thu, 8 Nov 2018 18:01:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1FACB20684 for ; Thu, 8 Nov 2018 18:01:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FACB20684 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727360AbeKIDhv (ORCPT ); Thu, 8 Nov 2018 22:37:51 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:35196 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbeKIDhv (ORCPT ); Thu, 8 Nov 2018 22:37:51 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id wA8I16fl006149; Thu, 8 Nov 2018 12:01:06 -0600 Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wA8I16v1078504 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 8 Nov 2018 12:01:06 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 8 Nov 2018 12:01:06 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 8 Nov 2018 12:01:06 -0600 Received: from [172.22.151.38] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id wA8I16Kg022128; Thu, 8 Nov 2018 12:01:06 -0600 Subject: Re: [PATCH 09/24] dt-bindings: lp8860: Add function and color properties To: Jacek Anaszewski , CC: , , , References: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> <1541542052-10081-10-git-send-email-jacek.anaszewski@gmail.com> From: Dan Murphy Message-ID: <456cf043-afe6-8b8f-d885-13db8ede9abd@ti.com> Date: Thu, 8 Nov 2018 12:01:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1541542052-10081-10-git-send-email-jacek.anaszewski@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jacek On 11/06/2018 04:07 PM, Jacek Anaszewski wrote: > Refer to new "function" and "color" properties and mark "label" > as deprecated. > > Signed-off-by: Jacek Anaszewski > Cc: Dan Murphy Acked-by: 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"; > }; > } > -- ------------------ Dan Murphy