From patchwork Thu Sep 19 18:36:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 174092 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1376756ill; Thu, 19 Sep 2019 11:34:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEaXekv7tVZwpS5dJIqDfYqcB7HJHmDQXTFi6KA0CEZ1TPnYWajby7ylSH+z2Z6XnwF4yx X-Received: by 2002:a05:6402:13c2:: with SMTP id a2mr17423161edx.21.1568918064465; Thu, 19 Sep 2019 11:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568918064; cv=none; d=google.com; s=arc-20160816; b=z2Bq1AIjVBaaibBwngne9snl5SyKmnSFsr9K2HZRT5j8fCtVjOa/4Bpv4nqqMFye9X 4Yjah3nmf4BYzIAXd/jYhAVC//Mgf9+d6rvsFxkbYhH1+ML9eaj0RqSAWDto/mzjx7Ac 16vPOKGO1rHc6MdUAqYANHN23SvXLpW35SY6fun1ms5+fOBRL7wU5rF6xj/Rz62wRRSZ U6d2BwAEdYZR17HdFbxtggRpi5ie8P86XNoxdj4IPPOtZKhDsm5LzJ+gV8kNM+4A+CbY k441KTV3nqaler9crNMqdpTHrhTNXHCGyOOMiQwD+zmVzFaDb3Gd1S6X0jsNRuvljvHm CsaA== 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=En6tvCsjb76tF/Br0gAlwEgcTni6NWDaWbXMf3VwT2W09VM6Cq9cFRHS2SgHeWxksE wlvOMTqnf3gXlvpnvONxJ7upTES0XrAIvOe6lQ4X3Ji2/NGtEtSbvG5f4cQ1Hrq4bICM ayfrPN4ITQAs6+LB4Z+VEJrhmjCVwQPw0a8bkrX8ClbDxR9ubKsMNjQLMaRJsKECD1j6 yyBD1cPrxN5NzzhFNROW3aVExpg+sWOooQc17juQPxydptJ3KvJVGHppRmGRfmmEWUK+ lQF/0jC7U299DXQATVfUPo52a+eL44018ADzBmpNX9//AhCx7+z+f2fSoPcuzSwJ7u1R rRUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lz0S0kCz; 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 h43si5889356ede.142.2019.09.19.11.34.24; Thu, 19 Sep 2019 11:34:24 -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=lz0S0kCz; 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 S2392093AbfISSeM (ORCPT + 26 others); Thu, 19 Sep 2019 14:34:12 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:58386 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732640AbfISSeL (ORCPT ); Thu, 19 Sep 2019 14:34:11 -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 x8JIY74v087620; Thu, 19 Sep 2019 13:34:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568918047; bh=zV3cVdmjhCBXzQdA/5xCOaiT1n6XKbwdMaP1jdy4goo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lz0S0kCzIoJP2BeonPpYMwLbTRbe3SDCvuVxry29ZzL/rOD9V9P9Fh9PwyUvApeC9 EqiH4x2NmnK67hwgJepyE7qWO24QU7+5JKO5mXiGjFEQeuyGAxlOhBgjqp8dic/YO8 Xd2L+spuGB+iaBb7EtOIJm29r/hKTQbs3gZyA67E= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8JIY703100297; Thu, 19 Sep 2019 13:34:07 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 19 Sep 2019 13:34:03 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE100.ent.ti.com (157.170.170.30) 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; Thu, 19 Sep 2019 13:34:07 -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 x8JIY7KU009786; Thu, 19 Sep 2019 13:34:07 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v7 4/9] dt-bindings: leds: Add multicolor ID to the color ID list Date: Thu, 19 Sep 2019 13:36:52 -0500 Message-ID: <20190919183657.1339-5-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190919183657.1339-1-dmurphy@ti.com> References: <20190919183657.1339-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 --- 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"