From patchwork Fri Sep 20 17:41:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 174144 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp2784816ill; Fri, 20 Sep 2019 10:38:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDaOO+W5q9ijaRXjNOV8jDaemdNLLHSG5gWgEC4Hu9vLicgoL7RNTLhX8DIURcbKsHdIEj X-Received: by 2002:a17:906:e290:: with SMTP id gg16mr10034197ejb.176.1569001111764; Fri, 20 Sep 2019 10:38:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569001111; cv=none; d=google.com; s=arc-20160816; b=b/KIG1zC6TeRqqS9+FihIN/MzydJRaab9wE/dexjcvmKh4Lwo6DkHqKj0u3P7QixFF MIw/YQrqtdIYB3Xh3A9eKHsXnSBihclHwzFdO/+m8DmO7XimJ8Ceu1rYWa3OFGk8NQqz c6zWrVjh/hkrT5duWu6PSdFua51oBoy+1ghwIzc7D9msXt7R782MdV3j/ItTbX3lt6Xp Z21RGKVQgkKkEwED7atWltgb4oXGCFj4wIkLKpgBlKjtlOJQEQfRSSYUzbZy15GxbOFz AFgmf77Qs36Mdf/UEfLiCyadWRP+ub0Ap9mm3aq5BFgOmfD+feIXI6mCPt2J3ScQlC7Q ZuMw== 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=mxpIfSMdfhBefQrH4/0unjcRpv88zibrnv9L+Lb/6Rp+4eDSEYyodyGhDHi332mg62 8HLh7qZ2ZoHzdXx4MSCrutGtd/gBQNw+JTnxbBPhGYNg1H/8D6fP+1qDtfZQ606E1z8E IWXB+He7LTzPP9mLUSzFO7XZEcZHAWTeYUq75RElGFfWgfcc1JN0VNTmwKte9/2UgPYy 57zgME9/eiKwnqqvnxQn22WhjajjHJezZckssPrDR+9Gu0eX/wXXxDGEZdd9u6aCO6kX 4CkEtIDW2p/pOGoZ4UAk+pwGVc3ISDWkBCJnNd3+gjriNNurIEbki30fky+I38mjxzrG Pi4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DC24iype; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f16si1366092ejc.73.2019.09.20.10.38.31; Fri, 20 Sep 2019 10:38:31 -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=DC24iype; 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 S2392303AbfITRia (ORCPT + 1 other); Fri, 20 Sep 2019 13:38:30 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:54464 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387829AbfITRia (ORCPT ); Fri, 20 Sep 2019 13:38:30 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8KHcRd3016885; Fri, 20 Sep 2019 12:38:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569001107; bh=zV3cVdmjhCBXzQdA/5xCOaiT1n6XKbwdMaP1jdy4goo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DC24iypeTdrYq01VcVzWaBavszakGs2WH23VaFTYaQU7Yefjl9YWP7BSrZ2XeOM1O xHbTiUqWjlpYSxPfdx9AHI3pynsWW+tbA44GHapfQjqVYiaNs9j6SFbWmGHHegPc0G BT6mWq+hmQEik+tFr4JvVCcayqGnEv+JDScSzZUo= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8KHcRUn021380 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 20 Sep 2019 12:38:27 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 20 Sep 2019 12:38:22 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE107.ent.ti.com (10.64.6.28) 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, 20 Sep 2019 12:38:22 -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 x8KHcQSV075344; Fri, 20 Sep 2019 12:38:27 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v8 4/9] dt-bindings: leds: Add multicolor ID to the color ID list Date: Fri, 20 Sep 2019 12:41:34 -0500 Message-ID: <20190920174139.30079-5-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190920174139.30079-1-dmurphy@ti.com> References: <20190920174139.30079-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@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 --- include/dt-bindings/leds/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.22.0.214.g8dca754b1e 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"