aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/Bindings/leds/backlight/led-backlight.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/device-tree/Bindings/leds/backlight/led-backlight.yaml')
-rw-r--r--sys/contrib/device-tree/Bindings/leds/backlight/led-backlight.yaml19
1 files changed, 4 insertions, 15 deletions
diff --git a/sys/contrib/device-tree/Bindings/leds/backlight/led-backlight.yaml b/sys/contrib/device-tree/Bindings/leds/backlight/led-backlight.yaml
index d7b78198abc2..f5554da6bc6c 100644
--- a/sys/contrib/device-tree/Bindings/leds/backlight/led-backlight.yaml
+++ b/sys/contrib/device-tree/Bindings/leds/backlight/led-backlight.yaml
@@ -16,6 +16,9 @@ description:
can also be used to describe a backlight device controlled by the output of
a LED driver.
+allOf:
+ - $ref: common.yaml#
+
properties:
compatible:
const: led-backlight
@@ -26,25 +29,11 @@ properties:
items:
maxItems: 1
- brightness-levels:
- description:
- Array of distinct brightness levels. The levels must be in the range
- accepted by the underlying LED devices. This is used to translate a
- backlight brightness level into a LED brightness level. If it is not
- provided, the identity mapping is used.
- $ref: /schemas/types.yaml#/definitions/uint32-array
-
- default-brightness-level:
- description:
- The default brightness level (index into the array defined by the
- "brightness-levels" property).
- $ref: /schemas/types.yaml#/definitions/uint32
-
required:
- compatible
- leds
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |