{"id":2220739,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2220739/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260407223447.4956-1-andre.przywara@arm.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260407223447.4956-1-andre.przywara@arm.com>","list_archive_url":null,"date":"2026-04-07T22:34:44","name":"[0/3] sunxi: Fix and extend SPL power LED support","submitter":{"id":61837,"url":"http://patchwork.ozlabs.org/api/1.2/people/61837/?format=json","name":"Andre Przywara","email":"andre.przywara@arm.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260407223447.4956-1-andre.przywara@arm.com/mbox/","series":[{"id":499043,"url":"http://patchwork.ozlabs.org/api/1.2/series/499043/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=499043","date":"2026-04-07T22:34:45","name":"sunxi: Fix and extend SPL power LED support","version":1,"mbox":"http://patchwork.ozlabs.org/series/499043/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2220739/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256\n header.s=foss header.b=CXLSC6+k;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=arm.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=arm.com header.i=@arm.com header.b=\"CXLSC6+k\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=arm.com","phobos.denx.de;\n spf=pass smtp.mailfrom=andre.przywara@arm.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fr1HW2dbcz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 08:35:35 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id DC71A84150;\n\tWed,  8 Apr 2026 00:35:11 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 28CBB8405F; Wed,  8 Apr 2026 00:35:11 +0200 (CEST)","from foss.arm.com (foss.arm.com [217.140.110.172])\n by phobos.denx.de (Postfix) with ESMTP id 272078414B\n for <u-boot@lists.denx.de>; Wed,  8 Apr 2026 00:35:09 +0200 (CEST)","from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AD647351C;\n Tue,  7 Apr 2026 15:34:52 -0700 (PDT)","from ryzen.fritz.box (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id\n 370C83F632; Tue,  7 Apr 2026 15:34:57 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss;\n t=1775601298; bh=o0Yg5z5YRcuGWCMAH6ZXS6k8wuflYcWQ/bsT/nRA9xU=;\n h=From:To:Cc:Subject:Date:From;\n b=CXLSC6+k++5U4k/y5N8sRYVFk44SPPwmu15Jn2cy6cSu6P0ggeyYkQn2QIIiZgN9o\n vOqcxJLu/OD9fiMjDfPMMfAaIvGEdU1CC2hhN3gOYiMFW4stHy+AoIaRkVwMK92DEv\n WLVMnO4Zaby9jELBNyFqG97nWRKOykX6lgcN3zOo=","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>,\n Jernej Skrabec <jernej.skrabec@gmail.com>,\n 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","Message-ID":"<20260407223447.4956-1-andre.przywara@arm.com>","X-Mailer":"git-send-email 2.46.4","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"With the demise of the legacy SPL LED framework a new, much simpler\nversion emerged for Allwinner SoCs: Just define the GPIO number in\nKconfig, and some simple code turns the LED on very early.\n\nI was looking at using this feature for boards with a GPIO controlled\npower LED, as having a sign of life very early can be very handy.\nSo I grep'ed all DTs for those LEDs, and added the respective symbols to\nthe board's defconfig file.\nDoing so revealed a small bug in the code when using active low LEDs,\nso patch 1/3 fixes this.\nPatch 2/3 adds the power LEDs to 32-bit boards, patch 3/3 to 64-bit\nboards - just some arbitrary splitup to simplify review.\n\nPlease have a look and test if you have any of the boards.\n\nCheers,\nAndre\n\nAndre Przywara (3):\n  sunxi: spl: fix SPL_SUNXI_LED active low configuration\n  sunxi: configs: enable power LEDs on 32-bit boards\n  sunxi: configs: enable power LEDs on 64-bit boards\n\n board/sunxi/board.c                      | 2 +-\n configs/A13-OLinuXinoM_defconfig         | 3 +++\n configs/Bananapi_M2_Ultra_defconfig      | 3 +++\n configs/Bananapi_m2m_defconfig           | 3 +++\n configs/Mele_A1000G_quad_defconfig       | 3 +++\n configs/Mele_A1000_defconfig             | 3 +++\n configs/Mele_M9_defconfig                | 3 +++\n configs/anbernic_rg35xx_h700_defconfig   | 3 +++\n configs/bananapi_m1_plus_defconfig       | 3 +++\n configs/bananapi_m2_berry_defconfig      | 3 +++\n configs/bananapi_m2_zero_defconfig       | 3 +++\n configs/bananapi_m64_defconfig           | 3 +++\n configs/beelink_gs1_defconfig            | 3 +++\n configs/beelink_x2_defconfig             | 3 +++\n configs/icnova-a20-adb4006_defconfig     | 3 +++\n configs/liontron-h-a133l_defconfig       | 3 +++\n configs/nanopi_duo2_defconfig            | 3 +++\n configs/nanopi_neo2_defconfig            | 3 +++\n configs/nanopi_neo_air_defconfig         | 3 +++\n configs/nanopi_neo_plus2_defconfig       | 3 +++\n configs/orangepi_2_defconfig             | 3 +++\n configs/orangepi_3_defconfig             | 3 +++\n configs/orangepi_lite2_defconfig         | 3 +++\n configs/orangepi_lite_defconfig          | 3 +++\n configs/orangepi_one_defconfig           | 3 +++\n configs/orangepi_pc2_defconfig           | 3 +++\n configs/orangepi_pc_defconfig            | 3 +++\n configs/orangepi_prime_defconfig         | 3 +++\n configs/orangepi_zero2_defconfig         | 3 +++\n configs/orangepi_zero_defconfig          | 3 +++\n configs/orangepi_zero_plus2_defconfig    | 3 +++\n configs/orangepi_zero_plus2_h3_defconfig | 3 +++\n configs/orangepi_zero_plus_defconfig     | 3 +++\n configs/radxa-cubie-a5e_defconfig        | 3 +++\n configs/tanix_tx1_defconfig              | 3 +++\n 35 files changed, 103 insertions(+), 1 deletion(-)"}