Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp738797pxb; Tue, 14 Sep 2021 07:44:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXwfAQSo3ACmiwGFMusWI/Q7hJ/TuB0YP+xcZ3q1iVLEfHruUWhl+/1vK7n5YFcFWq5m13 X-Received: by 2002:a2e:b60f:: with SMTP id r15mr15758716ljn.330.1631630695289; Tue, 14 Sep 2021 07:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631630695; cv=none; d=google.com; s=arc-20160816; b=Xc6tCHYAjK9hfLH/9tSFcoJr+2PXuDrXSG/Pk0o8g32+OMbU8ShzIgNvClTmp+ov2I G704bDwJ/gprdyHlhWO/XHXd/WENYFtJLOMC46gO+wWRLrAspobv87e4TlqiDHk8s01k 3RL9Q2UhYJ22cSqBC2b60wY1hPHFnGbUkihLzD7qY5+HOA4xSf7ltYYufUBP0qryNrAr uuctz11plwBvOC7XpVVCox6JdbAwnijuIWdgGliXWMdRL7zHHH4flTSnoE8gBgx8pyY7 ghj5Vr4WvmF2//5yyE0aI7wfViKnYVhAguFDRwvxH0F2aLuRwvIeJG+awWKY/5rdRZjt 7I6w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=GLcWRTmKnDlbMWTqGf/NCLtviR+bLU3oBQn7vmN/lFE=; b=lUcBnoXfrWeBAfU2zIfCvShad30eon0IFb4hN6/4KRJMwi2g0FCSzKl/tYFsqYu115 1eKPZF/FMxILLf7FhhasCOa4qFfqw2VIXNjXcvn8mdrKIpmFtXiOUjO/d3AU4Sxsu2xi TC6zSmjLeKMhWj9cLs4jKjepI91EqBQgRy3f9I716Nnpl0xaMvisxGNJ4VgiNX6xknZN tMvplNHDc/aP6q+A9jR9U72XLBJGXmWZRF++/ixJF4pB2fpFd6pfbyHxEI7K68RPWdA0 vJNNO3VkBaDUeHDqfl+3D/lcAQnCndoSMK3yeLjBP1dt+7rw73q0kxvZQqFoLcfhRbKX p5WQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e11si12377884lfq.608.2021.09.14.07.44.27; Tue, 14 Sep 2021 07:44:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234866AbhINOlF (ORCPT + 99 others); Tue, 14 Sep 2021 10:41:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234321AbhINOkT (ORCPT ); Tue, 14 Sep 2021 10:40:19 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 441A8C0613B4 for ; Tue, 14 Sep 2021 07:38:45 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:d46f:7eb5:4a37:9d14]) by xavier.telenet-ops.be with bizsmtp id tqeg2500H2aSKa101qeg6N; Tue, 14 Sep 2021 16:38:43 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mQ9a3-004VHK-Mz; Tue, 14 Sep 2021 16:38:39 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mQ9a3-00290R-0u; Tue, 14 Sep 2021 16:38:39 +0200 From: Geert Uytterhoeven To: Robin van der Gracht , Miguel Ojeda , Rob Herring , Paul Burton Cc: Greg Kroah-Hartman , Pavel Machek , Marek Behun , devicetree@vger.kernel.org, linux-leds@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Rob Herring Subject: [PATCH v6 18/19] dt-bindings: auxdisplay: ht16k33: Document LED subnode Date: Tue, 14 Sep 2021 16:38:34 +0200 Message-Id: <20210914143835.511051-19-geert@linux-m68k.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210914143835.511051-1-geert@linux-m68k.org> References: <20210914143835.511051-1-geert@linux-m68k.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Extend the Holtek HT16K33 LED controller Device Tree bindings with an LED subnode, conforming to the standard LED bindings. This allows the user to exert more control, like specifying LED color, function, and/or trigger, to extend LED functionality beyond a simple display backlight. Signed-off-by: Geert Uytterhoeven Reviewed-by: Rob Herring --- v6: - No changes, v5: - No changes, v4: - Add Reviewed-by, v3: - New. --- .../bindings/auxdisplay/holtek,ht16k33.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml b/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml index 6baf1200c9d8488e..0f1414185fefc1a9 100644 --- a/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml +++ b/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml @@ -48,6 +48,11 @@ properties: default: 16 description: Initial brightness level + led: + type: object + $ref: /schemas/leds/common.yaml# + unevaluatedProperties: false + required: - compatible - reg @@ -66,6 +71,7 @@ examples: - | #include #include + #include i2c1 { #address-cells = <1>; #size-cells = <0>; @@ -87,5 +93,10 @@ examples: , , ; + + led { + color = ; + function = LED_FUNCTION_BACKLIGHT; + }; }; }; -- 2.25.1