From patchwork Thu Nov 14 13:30:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 179411 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp11063511ilf; Thu, 14 Nov 2019 05:31:43 -0800 (PST) X-Google-Smtp-Source: APXvYqxgB7aGxH8S45+1NhsY8tMaqO9flyjkQjbBw+1FzaOINEED2pg5OHjb0NffXGeuvcefSlDb X-Received: by 2002:aa7:c0d4:: with SMTP id j20mr1261582edp.187.1573738302980; Thu, 14 Nov 2019 05:31:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573738302; cv=none; d=google.com; s=arc-20160816; b=leEmwx4x1vskgk8n7Dib0tRIMME7eBi4CExix3tl9odXCT6bBMbkDLl9EkZNagPVY4 p3SCwqx9fEdvx4eo57AjQw7qGu/fT2EVvqNFWqb85Gda+sUOfw398brafQ67UxSY3Pnz QDdWjso+iJQYNypaVz+uDS/2YHfMqe1SNBtzaPueoUObY/irZmkGN7LyOdmozMHSgWUE ihgXegRFNsDPT3PUOf0pfrfNK3gHpGpO+481ETl+4IE/5ECejy+vPVKn/pf+DIdl1qhz ZOppDxuPo4L+hP2kS3pX3pOz1TRQfz17Aarhllt4jojEhrgekjvCe68rM6uBhYnhSlM5 J5zw== 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=H5KykuxsFJVCuTlToHO5U7Mp4sJkDuzolpfI+ZfCwiZDaPelzZalHLqWbhcw2XzyrJ mknSNSej2oqv4WuMr4AkLNv6nAJktTqk77yZZv3MzbJmkQgFGaMlB7EbaPGGkAh2avnT 4x4sLliLfCh5C9rup1U+EBrnjSp9zEr70rUhZOAHPYpMsqBxKdcqt9UcdISIlAXUuUL5 OWcPCQvgXnJdRqoFntNsEai4pD8LNYo+6ZgxPPjBCy4ls6cv7mPxg5Px3nhrXhZAdRO8 S2537Q95t+MQd3j8KYhvrCgr02krZXTieZhvsIyCkN9SLYIOeNAucmAwPejow1Q4ftXK ZRHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JsWTAlHz; 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 z37si3918696edz.281.2019.11.14.05.31.42; Thu, 14 Nov 2019 05:31:42 -0800 (PST) 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=JsWTAlHz; 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 S1727078AbfKNNbk (ORCPT + 1 other); Thu, 14 Nov 2019 08:31:40 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:48048 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727054AbfKNNbj (ORCPT ); Thu, 14 Nov 2019 08:31:39 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAEDVaKZ007384; Thu, 14 Nov 2019 07:31:36 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573738296; bh=zV3cVdmjhCBXzQdA/5xCOaiT1n6XKbwdMaP1jdy4goo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JsWTAlHz0+oaxsaIz4PoDF/99FfxM9K9ArlbPl3DMBPVLEI6EwlMil4FpuzZGeifm K6vhGjn3f5RhEZ09ko8K6G0RfJTpNc2zeQrO/FAu5sce4S/BHwppUhcTQcVbrXENVX 7I9p6N2IQ7tbfebsG8XWM5haVDT7NMkd2mznw9zY= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAEDVat2019354 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Nov 2019 07:31:36 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) 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.1847.3; Thu, 14 Nov 2019 07:31:36 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) 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.1847.3 via Frontend Transport; Thu, 14 Nov 2019 07:31:36 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAEDVa2B030509; Thu, 14 Nov 2019 07:31:36 -0600 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v17 02/19] dt-bindings: leds: Add multicolor ID to the color ID list Date: Thu, 14 Nov 2019 07:30:06 -0600 Message-ID: <20191114133023.32185-3-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191114133023.32185-1-dmurphy@ti.com> References: <20191114133023.32185-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"