From patchwork Thu May 23 19:08:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 165070 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2646396ili; Thu, 23 May 2019 12:52:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxfks5iIkRZaFJQUau6X4Wxws9t2iiOnyhOgeo+G7qk4uVHM2x+qFo5l29HTPiFZUnhIFp X-Received: by 2002:a17:90a:9f44:: with SMTP id q4mr3670923pjv.83.1558641121941; Thu, 23 May 2019 12:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558641121; cv=none; d=google.com; s=arc-20160816; b=odmuxera6ZNz8E5oXwX9flHy7+POD4foP2Grj7HKRPWLET6A/PKcyx4wwahgy6KWTb cONOAHzTIh83c1FRqAVWNsYrLm0MA/9az2C0cDe+WK7zP8JMQnJwbd92y+ninwGb3f0V 07aH3fa12ZwnSKkzEveZFC31B+3vPhfTT7unteCX/AWB4fMCWtnLIzFpDNvnzsBaAPEB 725ofABGM2JTV7Ipl2lvR2fFuEQmymen8mVbkPyVb7wxmEKmbObsHRX5k/GAN9dkHMAi 5lt+50qtbYN+6kz5AGp1KNbIvmr0iVi0mtxb2Eon3vRGDXkIOOpeio7JLPTyDS7lrykf bdZw== 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=C9GGDpT/HCR8wHHiGobavLLm9veC0TrECKEglvQZZXg=; b=XKAJaNzc+OOZL2saE2Z7Ry5eISbvXN0gTwvaZYwbdnAmhoiRmKWiYWJjAcW0omX1tN iQ804/WPW4JLmr3H+1UcsY5l4dyaFdNlUaRIpyBqYoFabX1p6nwYfNLfAZ/UJOg36WbE j4x5Jti5JszORlR0kkftEuvgDjfBrKd+YV6404bdNrxCuNPmjp9O9VHTld96AnTpwT8S FPOKTEPppnm5EdpOmIdPadFiA7fXq1xHc8kWtLBnrL1T+sUx65reQziUBOJWs8dX6ejx xNL1VK9DrF6jRFHciDJyRgo6r8NSeRc1JROPuASqUgwt1tVDsK9pzOxtKKPNei77q1rI UWhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pm9unagI; 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 j7si678842pgp.126.2019.05.23.12.52.01; Thu, 23 May 2019 12:52:01 -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=pm9unagI; 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 S1731764AbfEWTwB (ORCPT + 1 other); Thu, 23 May 2019 15:52:01 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:56295 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731842AbfEWTIm (ORCPT ); Thu, 23 May 2019 15:08:42 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x4NJ8cMl092490; Thu, 23 May 2019 14:08:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1558638518; bh=C9GGDpT/HCR8wHHiGobavLLm9veC0TrECKEglvQZZXg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pm9unagI50bQl0hJeSBsiZCrRP7gFr3Vn8A2dg+NN/V0VRcimOEY6HZO6fnr+mrd0 8l0sftm+jQhiv/pFn3xlb9IKaSa+6Pxh2d/HmFrieHNZwCpdJgIvLg63ZXOes8j6yA Gtnd+KF5E6OPL1cIBaW6cJD8mC8xW+JStrE5BggE= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4NJ8cPC003822 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2019 14:08:38 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 23 May 2019 14:08:37 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.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; Thu, 23 May 2019 14:08:37 -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 x4NJ8bDv022839; Thu, 23 May 2019 14:08:37 -0500 From: Dan Murphy To: , , CC: , , , Dan Murphy Subject: [PATCH v3 4/9] dt-bindings: leds: Add multicolor ID to the color ID list Date: Thu, 23 May 2019 14:08:15 -0500 Message-ID: <20190523190820.29375-5-dmurphy@ti.com> X-Mailer: git-send-email 2.21.0.5.gaeb582a983 In-Reply-To: <20190523190820.29375-1-dmurphy@ti.com> References: <20190523190820.29375-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.21.0.5.gaeb582a983 Reviewed-by: Rob Herring diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h index d8c8c38700bd..259cea653844 100644 --- a/include/dt-bindings/leds/common.h +++ b/include/dt-bindings/leds/common.h @@ -65,6 +65,7 @@ #define LED_COLOR_ID_VIOLET 5 #define LED_COLOR_ID_YELLOW 6 #define LED_COLOR_ID_IR 7 -#define LED_COLOR_ID_COUNT 8 +#define LED_COLOR_ID_MULTI 8 +#define LED_COLOR_ID_COUNT 9 #endif /* __DT_BINDINGS_LEDS_H */