Message ID | 20190925174616.3714-4-dmurphy@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp944043ill; Wed, 25 Sep 2019 10:41:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrliWySN2AaQdw1d8xl4scEobybjl27nfInP3jevMwsLNLgtk7zJ1BQ6ZvUrQiQ8RzAgaG X-Received: by 2002:a05:6402:1549:: with SMTP id p9mr4267735edx.221.1569433280405; Wed, 25 Sep 2019 10:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569433280; cv=none; d=google.com; s=arc-20160816; b=pfxILD54VOVnrVLVYnGf/+vS/qy7qIybRuVVqYCYNKKTfAE3DeKCmd7MaoznIwv7zR d5TK4hUD3wN5Io4dzNjaG+nBWKa18Tmdmu8FGrhpUoPcrX0X6VnIG66IhPNeCiGJapF3 eCPV/zrefQLknu2tWcEgL9tRTQg/V43D6zY7HjqgAFDjEoHozdnTDT8/XlACjsbYLl5Y YOYHmX6igrWadCLD77r9tiVOvXM8AYJG/M7QL8jPoMn8F4R16fuOQ1TJ4i1FguiZqsfZ AXYyOY2sK4+MXeNSAAt1e1LSUcwSwts6stE5+L2N1QHdO6PXExFaGTkqCvgAjr6YL3TH T5wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zV3cVdmjhCBXzQdA/5xCOaiT1n6XKbwdMaP1jdy4goo=; b=bPuH6YC5TKgTwC6zkC3TCWAQrWdN7k0GxA9mdqv3RA/mNubKmqfZL10LC2Y6H8GR5x k2ipCa6JhaqMB0FU+BCKCdBgWzp7aKHN0p/C8t6TEjHWQXYRiNEW8ipKvBKHNB121E6r 9s9/OmQxKl2uwBBeyfpszd/fL7fkPhFlxwpCz51w8GofZOsBy7GAb2y2G5Ct4CBtGxt3 2t+LATlbK8rZsmaq7autLFn8qhQ6sQTFPAcNKIvPThii/RZAfwppqGyD7T9cPTfPsACE HqzelIk7GdGbYoCOa2gMAqDn29yd+u/lAXZqj3lSeporAU2UybAfhOPCgE08BxEA6+3f HZlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QZBNZzZ1; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: <linux-leds-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rk14si132791ejb.24.2019.09.25.10.41.20; Wed, 25 Sep 2019 10:41:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-leds-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=@ti.com header.s=ti-com-17Q1 header.b=QZBNZzZ1; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732517AbfIYRlT (ORCPT <rfc822;baolin.wang@linaro.org> + 1 other); Wed, 25 Sep 2019 13:41:19 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:58560 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732516AbfIYRlT (ORCPT <rfc822; linux-leds@vger.kernel.org>); Wed, 25 Sep 2019 13:41:19 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8PHfF2R055218; Wed, 25 Sep 2019 12:41:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569433275; bh=zV3cVdmjhCBXzQdA/5xCOaiT1n6XKbwdMaP1jdy4goo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QZBNZzZ1BBslKjgr91d0PVFqZeb/RSN5MNt3N16vBE5clQvXAmD7plDUEjadc5VP7 61cwMh7s8GmFegq3YecFVZHJWw6rTUaCeBUqmkTvM24BZ94kwh0NMMKkyHcofcyPsY y+uBixfk4VR80qkaX/eTIS5D9Gt2yaMiKn3tdzQ4= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8PHfFWo000325 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 25 Sep 2019 12:41:15 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 25 Sep 2019 12:41:07 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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.1713.5 via Frontend Transport; Wed, 25 Sep 2019 12:41:15 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8PHfEvH073740; Wed, 25 Sep 2019 12:41:14 -0500 From: Dan Murphy <dmurphy@ti.com> To: <jacek.anaszewski@gmail.com>, <pavel@ucw.cz> CC: <linux-leds@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Dan Murphy <dmurphy@ti.com> Subject: [PATCH v9 03/15] dt-bindings: leds: Add multicolor ID to the color ID list Date: Wed, 25 Sep 2019 12:46:04 -0500 Message-ID: <20190925174616.3714-4-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190925174616.3714-1-dmurphy@ti.com> References: <20190925174616.3714-1-dmurphy@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: <linux-leds.vger.kernel.org> X-Mailing-List: linux-leds@vger.kernel.org |
Series |
Multicolor Framework
|
expand
|
diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h index 9e1256a7c1bf..7006d15f71e8 100644 --- a/include/dt-bindings/leds/common.h +++ b/include/dt-bindings/leds/common.h @@ -29,7 +29,8 @@ #define LED_COLOR_ID_VIOLET 5 #define LED_COLOR_ID_YELLOW 6 #define LED_COLOR_ID_IR 7 -#define LED_COLOR_ID_MAX 8 +#define LED_COLOR_ID_MULTI 8 +#define LED_COLOR_ID_MAX 9 /* Standard LED functions */ #define LED_FUNCTION_ACTIVITY "activity"
Add a new color ID that is declared as MULTICOLOR as with the multicolor framework declaring a definitive color is not accurate as the node can contain multiple colors. Signed-off-by: Dan Murphy <dmurphy@ti.com> --- include/dt-bindings/leds/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.22.0.214.g8dca754b1e