From patchwork Wed Sep 11 18:01:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 173629 Delivered-To: patch@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp1102321oce; Wed, 11 Sep 2019 11:01:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBmZ2dox0OCGLc/LR13oAiJRGIUZSW8OK4h4xD6loN/b3LxeIxO/2rVqGFDiGzMO2SzOga X-Received: by 2002:a17:906:1d11:: with SMTP id n17mr31154852ejh.68.1568224895210; Wed, 11 Sep 2019 11:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568224895; cv=none; d=google.com; s=arc-20160816; b=TPoNKNy7f99lPwLmCzAwrydILGhgadGr7i5Cy71eBrVVgSasEgraQvQSoWfdYCaUZq Uxpr6nCwDHf9LO0WZmVPIqikBkwZxUeDS0kM8G96ywBMpVh3RilbfORANixCy7faFPoV Uj+03E04bCgETfrl86Tsd7SX54li8x/I9Udob2iPKEbg/l6hM5eyME600IRdWo8yikam euAbugd6LslsF4sOT7yChdoHAwryk1Qnc6yE/txqXJE9u7daGIxcb3G3rrQFg2u6lJp4 a26fcgGWfYD6rp0h5RlaZEzJySQkgWpsk1FtaGPptKKUHDFvY5AstiEAwRlKXqgCX3e4 byPQ== 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=z3l5L86HAVzeVvsG6JE0VhVpuBPwDYzK7bj+wSw35Bt/X3oVzmsU1CXShljIGJuh21 7GeAqpRDcKFiwEZ3kLUnvPLglliqDzmtOSp3JX0JC8PflzPHUblLM0iqOQm0eHdiTUTg HqRriYZmFkhnrIRKcxagASqc33W9pfwWWvuwamKAANYYj2MFQPM5qJOJxapYK4vWNZEu yWYdjXTPfpRhzh8GrgbRD4VK4rxOtw/Zw4waNc/+2VqHcPho9MsfOp6dDRLzhF/3aN6R h0Rv1GQ0NpzbHe2s7WWkELFTxtTfwlcIVzbItLh+gaqT1DqSj64o5nhEbvgwU9lRqOUT lGNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=izDoS0H7; 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 t10si7434074eds.369.2019.09.11.11.01.34; Wed, 11 Sep 2019 11:01:35 -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=izDoS0H7; 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 S1729871AbfIKSBX (ORCPT + 27 others); Wed, 11 Sep 2019 14:01:23 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:36750 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729768AbfIKSBW (ORCPT ); Wed, 11 Sep 2019 14:01:22 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8BI1HgO040449; Wed, 11 Sep 2019 13:01:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568224877; bh=zV3cVdmjhCBXzQdA/5xCOaiT1n6XKbwdMaP1jdy4goo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=izDoS0H7sk8s4u2EdHj4oEVVPes6xWxGWNvRgvnt8LiyCg6JA3oFe7p7qySW60gBh Tpdci3gS1ooP3xMdhLIjjJqgr1C4g21bqmHvJAQpvW6Qo+leMjyNKUwbrvq6DZSjRe jJUqtdrRLFK9Jrei5oKYUCe1KhnvMZ2pzcvlVzEc= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8BI1H5A007256 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 11 Sep 2019 13:01:17 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 11 Sep 2019 13:01:17 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) 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, 11 Sep 2019 13:01:17 -0500 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 x8BI1HO5063862; Wed, 11 Sep 2019 13:01:17 -0500 From: Dan Murphy To: , CC: , , , Dan Murphy Subject: [PATCH v5 4/9] dt-bindings: leds: Add multicolor ID to the color ID list Date: Wed, 11 Sep 2019 13:01:10 -0500 Message-ID: <20190911180115.21035-5-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190911180115.21035-1-dmurphy@ti.com> References: <20190911180115.21035-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"