u-boot/drivers/led
Marek Vasut e3aa76644c led: gpio: Check device compatible string to determine the top level node
Since 2d1deaf88e ("led: gpio: Drop duplicate OF "label" property parsing"),
all LED nodes have some sort of label. Use device_is_compatible(..."leds-gpio")
to determine whether this is a top-level node, since it is only the top
level node which is compatible with "leds-gpio", the GPIO LEDs subnodes
are not.

Fixes: 2d1deaf88e ("led: gpio: Drop duplicate OF "label" property parsing")
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_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: Check device compatible string to determine the 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
led-uclass.c led: Mark device instance with DM_FLAG_PROBE_AFTER_BIND 2022-04-28 09:26:43 -04:00
Makefile led: led_pwm: Add a driver for LEDs connected to PWM 2022-04-11 11:39:19 -04:00