From patchwork Wed Apr 17 20:54:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 1087215 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="V9FMKPNA"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44kvgF3rLLz9s47 for ; Thu, 18 Apr 2019 06:56:57 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387526AbfDQUzV (ORCPT ); Wed, 17 Apr 2019 16:55:21 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:33673 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387506AbfDQUzV (ORCPT ); Wed, 17 Apr 2019 16:55:21 -0400 Received: by mail-lf1-f66.google.com with SMTP id j11so19949368lfm.0; Wed, 17 Apr 2019 13:55:19 -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=/1d5STtYeSfvYq/JvOmhvEZUVTsQSGLaSpbZY+1iQas=; b=V9FMKPNA4LVURReEmOZW3YFC5gXHXhcV2KKwqaqqDvv+LxcfCI6XSaVeNuLnjEKptq NiCLeA4LdRWq239GfPafdTjViPbfbuJbtHL589L9MCF+++tNFazulYSuTdAcfOTVY9Ym WK/2e9Mst3anKhBiLB9iYLyLtiriQgBNhf1REyM5HnpjTNIe8aUk/idghE2LoqS6gzMp bNN7gYdFqOsYBIiaV8FGFMOq5O+sFy6f9yxE2AQgHkK6ra5qF7XVEEj0PgHoqWaOg97x C+AZmY3Lnap2gC319+Lg0R2iQ/auVQFekuQ3CZTx8OmBkCTYnwaB33v77X8+ncD12XCH 0UBw== 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=/1d5STtYeSfvYq/JvOmhvEZUVTsQSGLaSpbZY+1iQas=; b=ik2qH3rlRGFVE3YzpZ8VZW4AiaDOf95wcmq78m3rF+gttZUykK8rYckxWLl04ErY42 1SaKDaiJPWs6oDiB8NhRDV4K7AKV4ImuCMXaMH8zt/GpDyYFzOOFmJyQ3vXkJQo6lTpV c5i+AuiSJhJMEhjjyDQVbCpZdo3zXcVYXbhsS/wbpWttgQm6uBoHKCjXIocOMD/RNCN8 ZF80EIJ0fCTq/AV3HK0ZpUxcu+oBDVc5iLW3aFAbIUHjBjsurmV2H+OwW98gb14gnC4S xAC/YpBY+k2Th4nXfuq9lJD9oQC/8VqbMMGz0Ooi3YzvXthom9DC3/h56Nc0GVDZCGPh yNIw== X-Gm-Message-State: APjAAAXi/WwU/CSO492/ya7RHx9S+hXHW7KIReXlumYfiJ9R/AwXbQDq OZM7kNHGk7Pgl9+dcYeLLeLl1XzX0jA= X-Google-Smtp-Source: APXvYqyAKdyAhYN9ySmZxAHk00h3EMi9+Tw/4slJl4LgMWv8iayGLomPgoxZj9R0ODXB2J22sMeSpg== X-Received: by 2002:a19:f705:: with SMTP id z5mr31868092lfe.93.1555534518199; Wed, 17 Apr 2019 13:55:18 -0700 (PDT) Received: from myhost.home (bfw35.neoplus.adsl.tpnet.pl. [83.28.60.35]) by smtp.gmail.com with ESMTPSA id z206sm4342lfa.53.2019.04.17.13.55.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 13:55:17 -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, jacek.anaszewski@gmail.com, Dan Murphy Subject: [PATCH v4 13/26] dt-bindings: lm3692x: Add function and color properties Date: Wed, 17 Apr 2019 22:54:26 +0200 Message-Id: <20190417205439.17685-14-jacek.anaszewski@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190417205439.17685-1-jacek.anaszewski@gmail.com> References: <20190417205439.17685-1-jacek.anaszewski@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Dan Murphy Reviewed-by: Rob Herring --- 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 08b352840bd7..4c2d923f8758 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_FUNCTION_BACKLIGHT; + color = ; linux,default-trigger = "backlight"; }; }