Message ID | 20200622185919.2131-3-dmurphy@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a54:3249:0:0:0:0:0 with SMTP id g9csp421833ecs; Mon, 22 Jun 2020 11:59:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySSwVLcyTfWLFEja+hFAkW4/Mjo/zcLPK5YN63P9gmgaFNGDVLBkjd50/cjP7v2MeLxXtL X-Received: by 2002:a17:906:f2c4:: with SMTP id gz4mr2596179ejb.484.1592852374816; Mon, 22 Jun 2020 11:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592852374; cv=none; d=google.com; s=arc-20160816; b=IbpFEpPCVs/FTTsTt+7mCRAv2FtVyTT4tbNRFrbWJ3MT1mINgyFhpoNRerpAh9uc3W m/S0QUypTjwIGTVnOXdFjZZe6z5RxUdl8DE+VBnijFOnLARu03ipD7Thp+IYaVGTmvQZ cWlna0WKxW9w3tBRoTxShzA8HPY3tmhs4uXuCCpsP4pk7qK2XebD659x+h4HU48cf4HB OKXXr6/r12TQ3q6D09uDqJRPQlzSqO1kOcdvJWE3agFwOk3McAbJNinxQPfEmTVlQ8xK rtnLzxN075emTl5a55sH3+e3G+U4WiKZR/09qPTlEPOJSZ71SwLTtrRYZGGFQ0JeHTpI YbpQ== 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=V2VikCqHW+vjr+5pGiSTht8WRqjdCKy+EM301kkEwzI=; b=E4SKos66g50+ykg3QabSM7B+Djj+VwBjtlBc4QZBvZDyud5OJzHuR7metAf7SK7yKH vh1QHPy31RnODQLyN6UZo/kp2Q1zfXdgU5vMPOYoSr6yVQTrjx/xJWQaqPVMwiQMqHQK sfCsOJmcLjDTSXmrwYl5syDm345cEWkRwWKSOEup287OyyQMWTRWkfRzB+vDzvnOQGWE DEYNYNK8O0+AkpDBusoSyWJcr1aYtVo3aQwswZbdh1rN30XYMHig8qKTU4REvIeSejpr eKs/i51rBIXBJ9x9/8u9zeorrFrdZ6LnY0TQIDZ5p2g+mGqjYcGfVPeP2vZCSKTtZePO J9wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KvAmXkjk; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id e5si9998130edk.409.2020.06.22.11.59.34; Mon, 22 Jun 2020 11:59:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KvAmXkjk; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 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 S1730314AbgFVS7e (ORCPT <rfc822;patch@linaro.org> + 1 other); Mon, 22 Jun 2020 14:59:34 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:60918 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730312AbgFVS7e (ORCPT <rfc822; linux-leds@vger.kernel.org>); Mon, 22 Jun 2020 14:59:34 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05MIxOMt053490; Mon, 22 Jun 2020 13:59:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1592852364; bh=V2VikCqHW+vjr+5pGiSTht8WRqjdCKy+EM301kkEwzI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KvAmXkjk+P9QFvX0E+QOx+Pu5dBw73VJjWmvNfNAuGQqcsSMxqe0dOOEtBN6rBaUO n+aL3fAmh0rtvBmzuyUJi1aoGUlP46nDf+Wdgx0Sn8GD2HRiIEI+B4oUtWzhpMfQJY xBhAjVqV1Blc0qf3mvB5eStntazhRQnRJ2LESoik= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05MIxOg9095972; Mon, 22 Jun 2020 13:59:24 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 22 Jun 2020 13:59:23 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 22 Jun 2020 13:59:23 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05MIxN3i078640; Mon, 22 Jun 2020 13:59:23 -0500 From: Dan Murphy <dmurphy@ti.com> To: <jacek.anaszewski@gmail.com>, <pavel@ucw.cz>, <robh@kernel.org> CC: <devicetree@vger.kernel.org>, <linux-leds@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Dan Murphy <dmurphy@ti.com> Subject: [PATCH v29 02/16] leds: Add multicolor ID to the color ID list Date: Mon, 22 Jun 2020 13:59:05 -0500 Message-ID: <20200622185919.2131-3-dmurphy@ti.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200622185919.2131-1-dmurphy@ti.com> References: <20200622185919.2131-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 v29
|
expand
|
diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c index f1f718dbe0f8..846248a0693d 100644 --- a/drivers/leds/led-core.c +++ b/drivers/leds/led-core.c @@ -34,6 +34,7 @@ const char * const led_colors[LED_COLOR_ID_MAX] = { [LED_COLOR_ID_VIOLET] = "violet", [LED_COLOR_ID_YELLOW] = "yellow", [LED_COLOR_ID_IR] = "ir", + [LED_COLOR_ID_MULTI] = "multicolor", }; EXPORT_SYMBOL_GPL(led_colors);
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> --- drivers/leds/led-core.c | 1 + 1 file changed, 1 insertion(+) -- 2.26.2