Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1263880pxu; Fri, 16 Oct 2020 07:55:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJAXAZEnIqaJctlzRKHLY7pyYhoDMYbTiE+QlmipttMy3yj5Jach7hwKBpJr4k0RXCHLqk X-Received: by 2002:aa7:d29a:: with SMTP id w26mr4237753edq.59.1602860127888; Fri, 16 Oct 2020 07:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602860127; cv=none; d=google.com; s=arc-20160816; b=D9oM2TXrTAzH0hsV3Kbai66jAge9OVIL7Ysyklm6Uzq0ztO7ZZqgV7sJAdxZOqmkQt VcZH5jcHPS1oYw8RQRPcBks0WNKXFEoLDaxdrsbHqqrUez+ShoEh8OOQQw9K3gnPw478 gdNMPnASHLEtoWyrHkFDqYnZcZE6HKXjrXeUACS7mIzKZkciPqq7y0qhfwwCiY/KXiVx CcaMqrD44RkWuCKZehFGdXrNkELGoqNJHuIMuFdP1X8hd/BLpPwanOFtJ9Wuk5Z0ntrJ 945jNcO/JYx+4ahxdz9YBxnqIVz4O85VUhKrj7wKSR1OnyCp6Cw1qeq8lQpHZ7H02Yvo Tv5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4pH+/woBUpBKSK9xeykEFihRWeBGnOvEESWTk+SR7eA=; b=UX/WKG5GVbDVOIged09oMxifnYa7Yq3j8gD7vRgMsrFR2F5lpo8rH8NX/TppK0/ig3 3k2YuWXDQPkREZ+56LxBAC25I1e5geRR313ftZC7PDIncNpzbqUUUO7pdHaZ2Tilrsuq dhzY/uRFmr9TdGjvj9hDvq8GJ27XDkpOONkHXYgL6nf/v5jF6dXkgysKMqpdyK5cOsvs KEpN4CQCr11jXExnTBgeW587b1Jk/4CF8eMsT6BeRBX1ZDi2WwlwJLswTBtD24B0aLMB 8IbuuFms9Ci9RA8F8DqL0SE3XWKZma/kYsYc5inG61XV4Nu8jBcGLO+IrgQRF2ezR1su vH3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VdMjyGZg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id m25si1839870ejb.269.2020.10.16.07.55.05; Fri, 16 Oct 2020 07:55:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VdMjyGZg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2407034AbgJPL5X (ORCPT + 99 others); Fri, 16 Oct 2020 07:57:23 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:38418 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405338AbgJPL5X (ORCPT ); Fri, 16 Oct 2020 07:57:23 -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 09GBv5HT099566; Fri, 16 Oct 2020 06:57:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1602849425; bh=4pH+/woBUpBKSK9xeykEFihRWeBGnOvEESWTk+SR7eA=; h=From:To:CC:Subject:Date; b=VdMjyGZgzEnILaHORr6rJW0ZcWQ+fGDc2XMLTThUNupgPjUn1gFC4LeN48+Ol6HnJ S4z3HqkkzwN+RgG07XIKG8ynNLyPL8CB4uPy/3VrTTRsj5IxlKtEVcFBg+LrDBm+UU P3nPPTRkg1GLlXFZPdJ6d1DCO0nDMlb+2KsywhWE= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 09GBv5hj080755 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 16 Oct 2020 06:57:05 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 16 Oct 2020 06:57:04 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Fri, 16 Oct 2020 06:57:04 -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 09GBv4Ac004386; Fri, 16 Oct 2020 06:57:04 -0500 From: Dan Murphy To: , CC: , , , Dan Murphy , Zhen Lei Subject: [PATCH v2] dt-bindings: leds: Update devicetree documents for ID_RGB Date: Fri, 16 Oct 2020 06:57:03 -0500 Message-ID: <20201016115703.30184-1-dmurphy@ti.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update the leds/common.yaml to indicate that the max color ID is 9. Reflect the same change in the leds-class-multicolor.yaml Reported-by: Zhen Lei Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/leds/common.yaml | 2 +- .../devicetree/bindings/leds/leds-class-multicolor.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index a2a541bca73c..0c9f912dfee6 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -43,7 +43,7 @@ properties: LED_COLOR_ID available, add a new one. $ref: /schemas/types.yaml#definitions/uint32 minimum: 0 - maximum: 8 + maximum: 9 function-enumerator: description: diff --git a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml index b55e1f1308a4..5e2c850ec9c5 100644 --- a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml +++ b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml @@ -16,7 +16,7 @@ description: | modules. This is achieved by adding multi-led nodes layer to the monochrome LED bindings. The nodes and properties defined in this document are unique to the multicolor - LED class. Common LED nodes and properties are inherited from the common.txt + LED class. Common LED nodes and properties are inherited from the common.yaml within this documentation directory. patternProperties: @@ -25,10 +25,11 @@ patternProperties: description: Represents the LEDs that are to be grouped. properties: color: - const: 8 # LED_COLOR_ID_MULTI description: | - For multicolor LED support this property should be defined as - LED_COLOR_ID_MULTI which can be found in include/linux/leds/common.h. + For multicolor LED support this property should be defined as either + LED_COLOR_ID_RGB or LED_COLOR_ID_MULTI which can be found in + include/linux/leds/common.h. + enum: [ 8, 9 ] $ref: "common.yaml#" -- 2.28.0.585.ge1cfff676549