Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: leds: Unify 'leds' property

A number of existing schemas use 'leds' property to provide
phandle-array of LED(s) to the consumer. Additionally, with the
upcoming privacy-led support in device-tree, v4l2 subnode could be a
LED consumer, meaning that all camera sensors should support 'leds'
and 'led-names' property via common 'video-interface-devices.yaml'.

To avoid duplication, unify 'leds' property from existing schemas
to newly introduced 'led-consumer.yaml'.

Signed-off-by: Aleksandrs Vinarskis <alex@vinarskis.com>
Reviewed-by: "Rob Herring (Arm)" <robh@kernel.org>
Link: https://lore.kernel.org/r/20250910-leds-v5-2-bb90a0f897d5@vinarskis.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Aleksandrs Vinarskis and committed by
Lee Jones
22420da3 3f5df639

+10 -9
+1 -5
Documentation/devicetree/bindings/leds/backlight/led-backlight.yaml
··· 23 23 compatible: 24 24 const: led-backlight 25 25 26 - leds: 27 - description: A list of LED nodes 28 - $ref: /schemas/types.yaml#/definitions/phandle-array 29 - items: 30 - maxItems: 1 26 + leds: true 31 27 32 28 required: 33 29 - compatible
+1 -4
Documentation/devicetree/bindings/leds/leds-group-multicolor.yaml
··· 17 17 compatible: 18 18 const: leds-group-multicolor 19 19 20 - leds: 21 - description: 22 - An aray of monochromatic leds 23 - $ref: /schemas/types.yaml#/definitions/phandle-array 20 + leds: true 24 21 25 22 required: 26 23 - leds
+8
Documentation/devicetree/bindings/media/video-interface-devices.yaml
··· 17 17 An array of phandles, each referring to a flash LED, a sub-node of the LED 18 18 driver device node. 19 19 20 + leds: 21 + minItems: 1 22 + maxItems: 1 23 + 24 + led-names: 25 + enum: 26 + - privacy 27 + 20 28 lens-focus: 21 29 $ref: /schemas/types.yaml#/definitions/phandle 22 30 description: