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: lp5860: add enable-gpio

The VIO_EN pin on the lp5860 can either be connected to VIO power supply
or GPIO.

Add the enable-gpios pin to the binding documentation.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260217-v6-19-topic-ti-lp5860-enable-gpio-v1-1-f5e8edeb5d74@pengutronix.de
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Steffen Trumtrar and committed by
Lee Jones
fd93fc35 e68f95a5

+7
+7
Documentation/devicetree/bindings/leds/leds-lp5860.yaml
··· 33 33 '#size-cells': 34 34 const: 0 35 35 36 + enable-gpios: 37 + maxItems: 1 38 + description: | 39 + GPIO attached to the chip's enable pin (VIO_EN). 40 + 36 41 patternProperties: 37 42 '^multi-led@[0-9a-f]+$': 38 43 type: object ··· 79 74 80 75 examples: 81 76 - | 77 + #include <dt-bindings/gpio/gpio.h> 82 78 #include <dt-bindings/leds/common.h> 83 79 84 80 spi { ··· 89 83 led-controller@0 { 90 84 compatible = "ti,lp5860"; 91 85 reg = <0x0>; 86 + enable-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; 92 87 #address-cells = <1>; 93 88 #size-cells = <0>; 94 89