On Fri, Apr 22, 2022 at 03:34:00PM +0200, Marek Vasut wrote: > 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 <ma...@denx.de> > Cc: Patrice Chotard <patrice.chot...@foss.st.com> > Cc: Patrick Delaunay <patrick.delau...@foss.st.com> > Cc: Sean Anderson <sean...@gmail.com> > Cc: Simon Glass <s...@chromium.org> > Cc: Steven Lawrance <steven.lawra...@softathome.com> > Reviewed-by: Patrice Chotard <patrice.chot...@foss.st.com> > Tested-by: Patrice Chotard <patrice.chot...@foss.st.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature