Re: [PATCH] led: gpio: Use NOP uclass driver for top-level node

2022-04-28 Thread Tom Rini
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

Re: [PATCH] led: gpio: Use NOP uclass driver for top-level node

2022-04-22 Thread Patrice CHOTARD
Hi Marek On 4/22/22 15:34, 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

[PATCH] led: gpio: Use NOP uclass driver for top-level node

2022-04-22 Thread Marek Vasut
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 l