Message ID | 20200608193917.13084-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 c6csp5140376ilo; Mon, 8 Jun 2020 12:39:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1U8VTJVlzKni/t+wJQyn0rqaJTMMM+C1iYI8hnMPM5K9tIzWexW67BToY7YisGH+8k2vV X-Received: by 2002:aa7:d79a:: with SMTP id s26mr23875768edq.202.1591645184096; Mon, 08 Jun 2020 12:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591645184; cv=none; d=google.com; s=arc-20160816; b=br7iMvrmrN6iKYYUmKPAsKMwj+Czf4ei0zSCAy+FQsg5j9RdtB2NujKOLqWhlLYDZb 99Yn63e4nNBt3jKPsRdMMXeLdJZSEGXSDz6+MYwaaDZBmh74Z+ty5V92CBF7Aqvy7bHg h4O1JXNJOTpTNj5I6sOvDNCbvMK/Qqkzc/u7qP8cZ41Wxx6tDNdSIdPlvZ6V8+3STu7c jzbPcwMMAo/nKC6J5cZcrHHOcXGSaP2ylKMHa1CJUyrGUignvhHnr23AvY1Vnifoo+aW 3oU2v+xJQT4k/5qbf4oSwidgM0ENSa7kJXPpXzoGDC652DWlSm+pLy5y4+N1v6riMKKc PMCQ== 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=V/5RVlJEvqgEz5+xTKdEO5N5sE3fAyhA0vOXfI4oB2pbD0/hVvoMKFKUe8IjhexH2G o6kaxHtrACrXBjsWO3f8m8SxSg8aa9StI7B+k7ZEkyGjCind1TIaq6MfAM+k0MYh1VmW ro1UV2TnXT+RWoN0UCGham+zpgMBaIGWwLUnyN4bB/1LffTwZe/lthfhgSLjhhyMtpeP 3uEey0GcKWu9bIg5h7KLfaZ2WIOxkcHe/K9X7z5QSHvWK8wqS7vXnKL5W2lGkg+u2z1R bP1WEEAIDsfXJKgjLIqxpTeEtMWdx2IAI3IxnLiqVrtsxCMF6bQh5RiMsrmp6BAHfEnK QvMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NkiQ6mib; 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 v18si9138844edx.378.2020.06.08.12.39.43; Mon, 08 Jun 2020 12:39:44 -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=NkiQ6mib; 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 S1726406AbgFHTjm (ORCPT <rfc822;patch@linaro.org> + 1 other); Mon, 8 Jun 2020 15:39:42 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:58266 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbgFHTjj (ORCPT <rfc822; linux-leds@vger.kernel.org>); Mon, 8 Jun 2020 15:39:39 -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 058JdZmS102306; Mon, 8 Jun 2020 14:39:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1591645175; bh=V2VikCqHW+vjr+5pGiSTht8WRqjdCKy+EM301kkEwzI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NkiQ6mibjmiyG3toQhkGik93ZZQkLzcvKBBhytlBAdOfdPMCzk5ogNsNWrtR8ScbK XbJrRIrZBqsWZOHNqlBUSRgnXzAL0AhwwHMVluYq3TtlXDbDam3B2M4YP7FPmSHGE2 Fyl3BnUqVyw3XQ9lNdVslGy/b/hLxsiPqlHyTMxw= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 058JdZBC001721; Mon, 8 Jun 2020 14:39:35 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) 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; Mon, 8 Jun 2020 14:39:34 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) 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, 8 Jun 2020 14:39:34 -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 058JdYwM054945; Mon, 8 Jun 2020 14:39:34 -0500 From: Dan Murphy <dmurphy@ti.com> To: <jacek.anaszewski@gmail.com>, <pavel@ucw.cz> CC: <devicetree@vger.kernel.org>, <linux-leds@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Dan Murphy <dmurphy@ti.com> Subject: [PATCH v27 02/15] leds: Add multicolor ID to the color ID list Date: Mon, 8 Jun 2020 14:39:04 -0500 Message-ID: <20200608193917.13084-3-dmurphy@ti.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200608193917.13084-1-dmurphy@ti.com> References: <20200608193917.13084-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 |
[v27,01/15] dt: bindings: Add multicolor class dt bindings documention
|
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