[PATCH v3 04/25] pinephone: Drop status-LED code and use LED

Simon Glass sjg at chromium.org
Tue Dec 3 20:47:47 CET 2024


Hi Peter,

On Tue, 5 Nov 2024 at 07:13, Peter Robinson <pbrobinson at gmail.com> wrote:
>
> On Sun, 3 Nov 2024 at 00:42, Simon Glass <sjg at chromium.org> wrote:
> >
> > Drop the STATUS_LED options and enable LED and LED_BOOT instead, since
> > this is the new way to access the LED functionality.
>
> This still doesn't work!
>

Could you try this series please?

https://patchwork.ozlabs.org/project/uboot/list/?series=432093

Regards,
Simon


> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > Changes in v3:
> > - Combine removal and enable patches
> >
> > Changes in v2:
> > - Add a patch to enable LED and LED_BOOT for these boards
> >
> >  configs/pinephone_defconfig | 7 ++-----
> >  1 file changed, 2 insertions(+), 5 deletions(-)
> >
> > diff --git a/configs/pinephone_defconfig b/configs/pinephone_defconfig
> > index 9d39204a439..272fce1c1a4 100644
> > --- a/configs/pinephone_defconfig
> > +++ b/configs/pinephone_defconfig
> > @@ -11,8 +11,5 @@ CONFIG_MMC_SUNXI_SLOT_EXTRA=2
> >  CONFIG_PINEPHONE_DT_SELECTION=y
> >  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
> >  CONFIG_OF_LIST="sun50i-a64-pinephone-1.1 sun50i-a64-pinephone-1.2"
> > -CONFIG_LED_STATUS=y
> > -CONFIG_LED_STATUS_GPIO=y
> > -CONFIG_LED_STATUS0=y
> > -CONFIG_LED_STATUS_BIT=114
> > -CONFIG_LED_STATUS_STATE=2
> > +CONFIG_LED=y
> > +CONFIG_LED_BOOT=y
> > --
> > 2.43.0
> >


More information about the U-Boot mailing list