mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
42 lines
1.6 KiB
Diff
42 lines
1.6 KiB
Diff
From 7bf0f1ab8318fb1219f1140c53b01be6e7228533 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Lessard?= <jefflessard3@gmail.com>
|
|
Date: Mon, 1 Sep 2025 11:57:15 -0400
|
|
Subject: [PATCH 46/54] TEST: dt-bindings: leds: add default-brightness
|
|
property to common.yaml
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Add default-brightness property to leds/common.yaml to establish a single
|
|
canonical definition for LED brightness initialization.
|
|
|
|
The property is currently defined locally in leds/leds-pwm.yaml and is
|
|
needed by auxdisplay/titanmec,tm16xx.yaml. Properties should be defined
|
|
in only one location to avoid type inconsistencies across bindings.
|
|
|
|
Signed-off-by: Jean-François Lessard <jefflessard3@gmail.com>
|
|
---
|
|
Documentation/devicetree/bindings/leds/common.yaml | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
|
|
index 3e8319e44339..96bd7fd0f053 100644
|
|
--- a/Documentation/devicetree/bindings/leds/common.yaml
|
|
+++ b/Documentation/devicetree/bindings/leds/common.yaml
|
|
@@ -173,6 +173,12 @@ properties:
|
|
led-max-microamp.
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
|
|
+ default-brightness:
|
|
+ description:
|
|
+ Brightness to be set if LED's default state is on. Used only during
|
|
+ initialization. If the option is not set then max brightness is used.
|
|
+ $ref: /schemas/types.yaml#/definitions/uint32
|
|
+
|
|
panic-indicator:
|
|
description:
|
|
This property specifies that the LED should be used, if at all possible,
|
|
--
|
|
2.34.1
|
|
|