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

Simon Glass sjg at chromium.org
Sun Nov 3 01:32:56 CET 2024


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
-- 
2.43.0



More information about the U-Boot mailing list