From patchwork Wed Oct 16 15:59:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 176498 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp7571802ill; Wed, 16 Oct 2019 09:00:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZRGtrL69RkYdz8i6wdtiRWkmWleoXDq1/ZS9mZopxdBrp8gWoaDTdkl4yFpc4W8JbP0TM X-Received: by 2002:a17:907:20c5:: with SMTP id qq5mr40381326ejb.96.1571241642009; Wed, 16 Oct 2019 09:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571241641; cv=none; d=google.com; s=arc-20160816; b=MU3TF5lSe6b8AKjmyE3pQkTtcwbMaA1ENisuwFoFfM6/HQxIj7mdeUhAJF1eoKXlFS BjqAuGXKG8ReMlTZu/ac1EiYI47ZeHZ+EVhApiOHpdUopzZbbWhrcyQQPlTGU390fgWY YhPvGTEJYUn6Ntsnz+ni8p+ZS0G66I3F+F2CBI0uZR9zmqeaQrk/xVmBosToC4iFkLvs RtLKKF//BuoIN80kSYs0mBh2Vx4g715H400bB6RvGSaxVL76hfnpS4fuA4iC0YAHm+1e hw6y9vU4r4cl83h8dPqgq82ailCmj2oUBmMQ11H//JOVUaME2UVjbGU9vfVgcJ4NT4e7 Glng== 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=I+gbDFSz2CeyR+hJsb4ChnLaPnzF4Pz1d6Cpj/q/mXrgE1KtXhZY8rjGmkz1FAPz3m VZEXPVmOLPzpcktEMDPc03yiGWRixKHrbaQhmQgKgRwe2iAYVuBQe7dNfe5eyjluYccx jzQHMXyiAwZxuLlzZgZ4uL8gAKVM6J2uHCDjM+t80DohA2Pr843/kHpvhJqwjxGJnbaw GCLfxU84uAVeWVi9Px+G41h+bOnwT9BgEXqkaObsYlVh+y9UeRgwVnuHhExaHDy6Rl74 z4SNxwUlfup/QtUWp8uofE1ipnNniftyJdJZJ33UnhlxF7TKfdPY1ZKuT99QhuS4gu5q Z3Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MSNF1WeU; 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 r3si15697757ejs.439.2019.10.16.09.00.41; Wed, 16 Oct 2019 09:00:41 -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=MSNF1WeU; 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 S2405952AbfJPQAh (ORCPT + 26 others); Wed, 16 Oct 2019 12:00:37 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:55592 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730498AbfJPQAd (ORCPT ); Wed, 16 Oct 2019 12:00:33 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9GG0Tlg039186; Wed, 16 Oct 2019 11:00:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1571241629; bh=zV3cVdmjhCBXzQdA/5xCOaiT1n6XKbwdMaP1jdy4goo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=MSNF1WeUJqSXzjVbOS5iYGANtfIfWnoeemog84jLjxPitMR9s8kIsaB0RCtM2wK7L mOBmaTytlImu/HyLXo5QbdEQUhStmYBh6RcoXVMmtcdZ3d2bj8HnOPAnnbLJxaGHr0 HI53Itzf0skTYGto9TvByvluUPMQuMwqjXysE2I0= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9GG0Tcw126232 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 16 Oct 2019 11:00:29 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 16 Oct 2019 11:00:22 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE106.ent.ti.com (10.64.6.27) 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; Wed, 16 Oct 2019 11:00:28 -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 x9GG0Shg113189; Wed, 16 Oct 2019 11:00:28 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v13 02/18] dt-bindings: leds: Add multicolor ID to the color ID list Date: Wed, 16 Oct 2019 10:59:38 -0500 Message-ID: <20191016155954.29044-3-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191016155954.29044-1-dmurphy@ti.com> References: <20191016155954.29044-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"