From: Andre Przywara <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Cc: Tom Rini <trini@konsulko.com>,
Quentin Schulz <quentin.schulz@cherry.de>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Paul Kocialkowski <contact@paulk.fr>,
linux-sunxi@lists.linux.dev
Subject: [PATCH 0/3] sunxi: Fix and extend SPL power LED support
Date: Wed, 8 Apr 2026 00:34:44 +0200 [thread overview]
Message-ID: <20260407223447.4956-1-andre.przywara@arm.com> (raw)
With the demise of the legacy SPL LED framework a new, much simpler
version emerged for Allwinner SoCs: Just define the GPIO number in
Kconfig, and some simple code turns the LED on very early.
I was looking at using this feature for boards with a GPIO controlled
power LED, as having a sign of life very early can be very handy.
So I grep'ed all DTs for those LEDs, and added the respective symbols to
the board's defconfig file.
Doing so revealed a small bug in the code when using active low LEDs,
so patch 1/3 fixes this.
Patch 2/3 adds the power LEDs to 32-bit boards, patch 3/3 to 64-bit
boards - just some arbitrary splitup to simplify review.
Please have a look and test if you have any of the boards.
Cheers,
Andre
Andre Przywara (3):
sunxi: spl: fix SPL_SUNXI_LED active low configuration
sunxi: configs: enable power LEDs on 32-bit boards
sunxi: configs: enable power LEDs on 64-bit boards
board/sunxi/board.c | 2 +-
configs/A13-OLinuXinoM_defconfig | 3 +++
configs/Bananapi_M2_Ultra_defconfig | 3 +++
configs/Bananapi_m2m_defconfig | 3 +++
configs/Mele_A1000G_quad_defconfig | 3 +++
configs/Mele_A1000_defconfig | 3 +++
configs/Mele_M9_defconfig | 3 +++
configs/anbernic_rg35xx_h700_defconfig | 3 +++
configs/bananapi_m1_plus_defconfig | 3 +++
configs/bananapi_m2_berry_defconfig | 3 +++
configs/bananapi_m2_zero_defconfig | 3 +++
configs/bananapi_m64_defconfig | 3 +++
configs/beelink_gs1_defconfig | 3 +++
configs/beelink_x2_defconfig | 3 +++
configs/icnova-a20-adb4006_defconfig | 3 +++
configs/liontron-h-a133l_defconfig | 3 +++
configs/nanopi_duo2_defconfig | 3 +++
configs/nanopi_neo2_defconfig | 3 +++
configs/nanopi_neo_air_defconfig | 3 +++
configs/nanopi_neo_plus2_defconfig | 3 +++
configs/orangepi_2_defconfig | 3 +++
configs/orangepi_3_defconfig | 3 +++
configs/orangepi_lite2_defconfig | 3 +++
configs/orangepi_lite_defconfig | 3 +++
configs/orangepi_one_defconfig | 3 +++
configs/orangepi_pc2_defconfig | 3 +++
configs/orangepi_pc_defconfig | 3 +++
configs/orangepi_prime_defconfig | 3 +++
configs/orangepi_zero2_defconfig | 3 +++
configs/orangepi_zero_defconfig | 3 +++
configs/orangepi_zero_plus2_defconfig | 3 +++
configs/orangepi_zero_plus2_h3_defconfig | 3 +++
configs/orangepi_zero_plus_defconfig | 3 +++
configs/radxa-cubie-a5e_defconfig | 3 +++
configs/tanix_tx1_defconfig | 3 +++
35 files changed, 103 insertions(+), 1 deletion(-)
--
2.46.4
next reply other threads:[~2026-04-07 22:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-07 22:34 Andre Przywara [this message]
2026-04-07 22:34 ` [PATCH 1/3] sunxi: spl: fix SPL_SUNXI_LED active low configuration Andre Przywara
2026-04-08 8:27 ` Quentin Schulz
2026-04-09 15:56 ` Paul Kocialkowski
2026-04-07 22:34 ` [PATCH 2/3] sunxi: configs: enable power LEDs on 32-bit boards Andre Przywara
2026-04-07 22:34 ` [PATCH 3/3] sunxi: configs: enable power LEDs on 64-bit boards Andre Przywara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260407223447.4956-1-andre.przywara@arm.com \
--to=andre.przywara@arm.com \
--cc=contact@paulk.fr \
--cc=jernej.skrabec@gmail.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=quentin.schulz@cherry.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox