From patchwork Mon Oct 28 18:36:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 177950 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp3417020ocf; Mon, 28 Oct 2019 11:37:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzddNmQcWPVih27L8cWLN/kbo8qHNWNmONjY/4V4B2co/4+8mcdepXO/TaVgzyDyMFxYTE2 X-Received: by 2002:a17:906:218a:: with SMTP id 10mr18009713eju.38.1572287853030; Mon, 28 Oct 2019 11:37:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572287853; cv=none; d=google.com; s=arc-20160816; b=GRppoX5Nh5ro/qp2oXR/X9wDtbCeq5JTHdc8PyQkE9opiNhd6hFwSyE1CvIw/ECvtq iyM56Mg3LBe/KwGzJQjCHUd1Tv9LlVEN8l3mFNrke0A+TZWSbHZx+rBJ+63vmCcCOM7J zW91a2ckuWNu62hPjSM17tvLu+2tHEEMSvgfgKxTxd7jTYJMuE4IbumRuRaYtiGlJALe TF/6g8Ju1P6C4YXj66MbVmFhxRsPLs/QJkz+y57UvbJ1DOcpAv7dxPWwwp90pX7wQ/i8 WETiAmlyWg3P/3PcfCSI86agnxTfrDNj6cKv4EB4vYiQX9f4QGa7kHGEJUQa8trL1hbG OdzA== 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=eEtOWiP3y9kEC6wNJkfaL0lyHkqs5LNrZPsTaQ2pHd3IPg8auzDq+B+rbURXOUKAzV liqqffMNZAxc1YxjQE5hi+fF30Mmsowoxz2rSoHAdHPAWqAofWmBgSGfWjms8yoRSR/i Co3sJo84U2jZSMfa/1KRwRZuugGQYHm+Cw9vpifz5fj+MKUqqWFvZs6k1Guklwwuxv0a gxng7j163JQRGjoXflB3r6TFfOIM8NLCdzXAGn5Fy2oECe83wLvEG1B2wzbrnQA3yZMK VGu6ASO5YqL1gevstvnJOKzMIj649Ro9J1ajOcDbOIGqxHUCmWyl1WFXMx/CAari0IMq 8raQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=E7nOPk+r; 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 h53si8528811edh.200.2019.10.28.11.37.32; Mon, 28 Oct 2019 11:37:33 -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=E7nOPk+r; 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 S1726990AbfJ1Sh3 (ORCPT + 1 other); Mon, 28 Oct 2019 14:37:29 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:38388 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725971AbfJ1Sh2 (ORCPT ); Mon, 28 Oct 2019 14:37:28 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9SIbPTi016680; Mon, 28 Oct 2019 13:37:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1572287845; bh=zV3cVdmjhCBXzQdA/5xCOaiT1n6XKbwdMaP1jdy4goo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=E7nOPk+r+18g2l/78d7CIAg77iJobItcOb1zsbebl2XiWmkWGypLfVtPwXD53dEGx GFFfuvWxDaXeZJVk+1wDzJUyB0HzD8O5h7Tg0+WO1JIJ+Vb+BzKZuL/3HnjTrQNvyc dm8QaS1cJjTjY41GOqMrqNYBtPvA2W8iBGWtoDHM= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9SIbP77076836 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 28 Oct 2019 13:37:25 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) 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; Mon, 28 Oct 2019 13:37:13 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE113.ent.ti.com (10.64.6.34) 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; Mon, 28 Oct 2019 13:37:13 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9SIbOAI104626; Mon, 28 Oct 2019 13:37:25 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v15 02/19] dt-bindings: leds: Add multicolor ID to the color ID list Date: Mon, 28 Oct 2019 13:36:12 -0500 Message-ID: <20191028183629.11779-3-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191028183629.11779-1-dmurphy@ti.com> References: <20191028183629.11779-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"