[PATCH v3 04/25] pinephone: Drop status-LED code and use LED
Tom Rini
trini at konsulko.com
Tue Nov 5 00:28:20 CET 2024
On Sat, Nov 02, 2024 at 06:32:56PM -0600, Simon Glass wrote:
> Drop the STATUS_LED options and enable LED and LED_BOOT instead, since
> this is the new way to access the LED functionality.
>
> 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
Adding more people to the email. Where this really got stuck last
posting was that Peter couldn't convert the board functionally and there
wasn't enough documentation about the new way to be clear on how to
implement it. I'm hoping Christian can chime in on the latter part.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241104/0687665e/attachment.sig>
More information about the U-Boot
mailing list