Message ID | 20200615201522.19677-3-dmurphy@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp3052295ilo; Mon, 15 Jun 2020 13:16:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ4wtw9CQYoduPZtFAhBeNeCXwJ2GhORfryBAY0WXQ/lF1QCd2eo1S8pT9ketebAa0eHZv X-Received: by 2002:a17:906:86ca:: with SMTP id j10mr26099672ejy.521.1592252163533; Mon, 15 Jun 2020 13:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592252163; cv=none; d=google.com; s=arc-20160816; b=xqHJD66Gl9a8xO4QttdOTKvkAus4c9pdo9kCy+idLWpmRccENhZEB5WENOi4tVerNS bIXGbKUai0esUs6qZbNIddTJqxonaLruCfwYiLjW1VsT03muzdDomggSj5GEGtCF2L8R jPvRc2xf/XlBY8ZmRdISTLkc4ne6Auz88BTwbY5uaWg/RFhdSrLxlqFGXkzQZOJMk8df yR598W8q6BGNSqAcbW07Hd9Fo5kW7eikQnzB+OqL/thKV/boyRsvzb7cxCX74mD5BKy3 s4EBSZufQX1/j4We91wC/JTZYawLCEZKAGN8BbbsYXucZuAtUw8FW5uSk1EkK6SCJtfR hy/A== 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=AuaGxN2XFQNqyBMYLUL1ZxYQ9dPP6NhpPcm8BVNbUfOhh7bdY9bplyoR6iUERHGNSQ nIMHCpewJDVUWF9pmQ0uZyyDWAFdQBFW801fAgOBwmq1v+EpgOiGM9nG0BE3OEIEu9eb oQ21Wpi5QtyDXDrZfSjF4sKEu/3cijCu+yOLe84cFsUXs4dQ6tvxyVGBTukRtpUcohCw 4W+t+4JMqmy1++PiLmBy5SPTOLl0ZCkSZWiYofEF/KK4BBxnl1GEmdhNJ0x/DB0ZDChW sD8vwk/vloeJWjl9/DXB/kRYj6eOxS8r9zjT9daCJUlpOnotlk8BhPBAJnoNR087KWEw wTpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Ubvznys1; 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 38si9364033edr.532.2020.06.15.13.16.03; Mon, 15 Jun 2020 13:16:03 -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=Ubvznys1; 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 S1731373AbgFOUQD (ORCPT <rfc822;patch@linaro.org> + 1 other); Mon, 15 Jun 2020 16:16:03 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:51478 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731017AbgFOUQA (ORCPT <rfc822; linux-leds@vger.kernel.org>); Mon, 15 Jun 2020 16:16:00 -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 05FKFv3P094438; Mon, 15 Jun 2020 15:15:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1592252157; bh=V2VikCqHW+vjr+5pGiSTht8WRqjdCKy+EM301kkEwzI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Ubvznys11RjoO0shq2X7MZeVHXMxb2oVQG4AYgJTGs69E9VESYTmbUs89E/KQ10Ad 9bzyjZCYNZtpL2sC6FgMVWTEH+A+ek6grqWj20M1TwciI+h0bStNpRjtp03YlcPkMb Lccw9HJ7pPee8+sKDJFBJTbI1KI8MmXi4uUArQ4s= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05FKFvx1044946; Mon, 15 Jun 2020 15:15:57 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 15 Jun 2020 15:15:56 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE101.ent.ti.com (157.170.170.31) 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, 15 Jun 2020 15:15:56 -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 05FKFuJP062066; Mon, 15 Jun 2020 15:15:56 -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>, Dan Murphy <dmurphy@ti.com> Subject: [RESEND PATCH v27 02/15] leds: Add multicolor ID to the color ID list Date: Mon, 15 Jun 2020 15:15:09 -0500 Message-ID: <20200615201522.19677-3-dmurphy@ti.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200615201522.19677-1-dmurphy@ti.com> References: <20200615201522.19677-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 v27
|
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