From patchwork Fri Oct 18 12:25:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 176809 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp788255ill; Fri, 18 Oct 2019 05:26:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwtM/9X7CRMZw3I6zl3oh4900gBNl+o7hOMae/5o851MpVB7C34wSW3N3b1+IXzIiyPhAK X-Received: by 2002:a17:906:5fc1:: with SMTP id k1mr8574894ejv.268.1571401589622; Fri, 18 Oct 2019 05:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571401589; cv=none; d=google.com; s=arc-20160816; b=fNUZk5Kt2ccdd+XCLwHdmBWy0BNsvo5B0FwJ8lTB3SmWeG1A4JHV8tppI69REo3pET hUwxY5CUIL/LP+AUdLry9wq3aQapaYvkBQEqD7CAHtOuXdfkZm01ats8FTuWguTjslTC 4Iibjo1b7yxoIwbxkDsXWCLFH5antD/1xzjZQPBykwkpZyKTdq1fvJ/33p6BMIdUD3Ic 8XSQkF6DiWGz2HOp/zMETtcGhC4UYZFdQpTMk4d80jiBrFkwdbj2zY3w7Xi+JWW7y6+3 aEKmqo1Y3p+H5efi4p35pki2MjgOPujqJYPinwc0/8r7f5wag87r4x9fBpTSqUqTnoW5 7lUw== 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=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; b=Cf9BYIEPLDstMfTzNiKc/kHb+oUqzZvPmAaxd7yfbppAh0Ehvsih7p+rf9HR/fb0RM +Nfy9MYYZ7xWq59tTJT1arxH9Ly0fxCH2tPxXDWEzYbdy5pwbmpi9BvERCA/CoQKKBVR L0Mmw55t0cMz84Z9UdgrsaY83LoIqNS4595v2s3bfkRswDUWDlkXtsvV+5FQDazSv/o4 XvVq6P5Ayt/jPB8RD99uRaYekiNHsIiOaPfBrxne1cpeUUl3OuwComCtH88zVqq6CVFP xi/IZUZPtU/CcJQwgxk4zs0+4hJTQpbTeNJXFW0etwQcmRcXGHFEyXLmDzYi9hyqGKOm YXwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="QFMy/67T"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d19si3286244ejr.163.2019.10.18.05.26.29; Fri, 18 Oct 2019 05:26:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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="QFMy/67T"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S2633713AbfJRM0C (ORCPT + 26 others); Fri, 18 Oct 2019 08:26:02 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:45838 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726365AbfJRMZ7 (ORCPT ); Fri, 18 Oct 2019 08:25:59 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9ICPtfF087338; Fri, 18 Oct 2019 07:25:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1571401555; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QFMy/67TiHTiWIA7TF8pdGi7P4giM89qEEUcGvrpuQE20eBpPFlHoOKrTNQlNon6l 1Jqb2JZ8HiHsJ6SlZhOJAXAYGBcPPU5A4q2qqnOupnVUtd94pL/ZZOGv9HV6nI9exk RLUzFevnaW7OHpGzNJypz3W/KvtBf6Jx51iU/1pk= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9ICPtDW060733 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Oct 2019 07:25:55 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 18 Oct 2019 07:25:47 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) 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; Fri, 18 Oct 2019 07:25:47 -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 x9ICPtWC073303; Fri, 18 Oct 2019 07:25:55 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v14 03/19] leds: Add multicolor ID to the color ID list Date: Fri, 18 Oct 2019 07:25:05 -0500 Message-ID: <20191018122521.6757-4-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191018122521.6757-1-dmurphy@ti.com> References: <20191018122521.6757-1-dmurphy@ti.com> MIME-Version: 1.0 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 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 --- drivers/leds/led-core.c | 1 + 1 file changed, 1 insertion(+) -- 2.22.0.214.g8dca754b1e 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);