u-boot/drivers/led
Marek Vasut 0107469780 led: gpio: Use NOP uclass driver for top-level node
The top level DT node of gpio-leds is not a LED itself, bind NOP uclass
driver to it, and bind different LED uclass driver to its subnodes which
represent the actual LEDs. This simplifies the probe() implementation
and fixes the bogus top-level not-an-LED in 'led list' command output:

```
=> led list
led             Error -121 <--- This is removed/fixed by this patch
green:user0     off
```

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Sean Anderson <seanga2@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Steven Lawrance <steven.lawrance@softathome.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
2022-04-28 09:26:43 -04:00
..
Kconfig led: led_pwm: Add a driver for LEDs connected to PWM 2022-04-11 11:39:19 -04:00
led-uclass.c led: Mark device instance with DM_FLAG_PROBE_AFTER_BIND 2022-04-28 09:26:43 -04:00
led_bcm6328.c led: bcm6328: Drop duplicate OF "label" property parsing 2022-04-14 15:39:14 -04:00
led_bcm6358.c led: bcm6358: Drop duplicate OF "label" property parsing 2022-04-14 15:39:15 -04:00
led_bcm6753.c led: bcm6753: Drop duplicate OF "label" property parsing 2022-04-14 15:39:15 -04:00
led_bcm6858.c led: bcm6858: Drop duplicate OF "label" property parsing 2022-04-14 15:39:15 -04:00
led_cortina.c led: cortina: Drop duplicate OF "label" property parsing 2022-04-14 15:39:15 -04:00
led_gpio.c led: gpio: Use NOP uclass driver for top-level node 2022-04-28 09:26:43 -04:00
led_pwm.c led: pwm: Drop duplicate OF "label" property parsing 2022-04-14 15:39:15 -04:00
Makefile led: led_pwm: Add a driver for LEDs connected to PWM 2022-04-11 11:39:19 -04:00