From nobody Fri Nov 13 11:17:31 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jQvqb3YZ7z70NGg for ; Fri, 13 Nov 2026 11:17:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jQvqb2jvYz4LG6 for ; Fri, 13 Nov 2026 11:17:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794568651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WhdaTPhqjO85ki90a2eLQT/Bnumu0w9eLA3cMG05C5o=; b=ay0F+p+n63WpHlon9gj4k5GOSdrh0N9z1ZpuAPyuzro+wiPgdtiWRwM33GZvAIPwY56ZPv tjLfLLBDTxXf8GU7rZP3l4LUwqSpOeiK70KnlCpy/qpPGL3wch7T7M3M5V2MdaxC1M10mX TMyCx3hpmPr/CEBr6l+DD5JxKVs8H0lOWML/nBmnziW3hRK02JX9ynoxqCT9+mDAYx4RZB 0B33VKVhLtoI+pUn8ZRfbQD0o8CFQkxMR/iAu6KJFxnGubmEnS/PaP2EIA5m5NcsCTwr7j AnDzvRQ6Oa6TKulbhTqkB2Dd2yV4R2Vytjk5gkFsYnHEWWK/YTNx+udAmFUkmA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794568651; b=gk1hzYKMpZ/6G4XXz9SHc8KP7Wjb9H6VPS7d2C0Jvlkc/qg1xCLIB/KM63QWOb6SnTdfWq 1tlsuT6dJHrx+zEJzyKn3vMGUs6kbtaX48BRD2pkymmxKwyga3jNFujtKChnmLfHaumDX/ vGBw4ivMHZ0itABI5E645XSuy59V1xLmEwoGTIXj74J+Vdua1jAcz5Vs6s10wPDUxSnX1x rq8DZuEErBzE3mPNMMhd+2zy3rTYptp6V4GHO31xbNnDfCu5aVrOAiVQSsDfIuGzq+Fd9t VRlwCcU0GRw1V1DT4Db28ETTHoUZVt7zEC7eSeq50bqQ553MVtC4lT1CQhZztA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794568651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WhdaTPhqjO85ki90a2eLQT/Bnumu0w9eLA3cMG05C5o=; b=QK8PaR8rTghjI4sW0MTOSTo9DlhvYS0/lDAC7+S1B+Ro8ejx7yXGbcHf14F2WgfsEzFbui j4QMPoJe1uAFYqdE94zMxPDb8FdWA9+xVYH+RzasfIoSIwSXvnCVy0RmNCHa2VTNPB0ieq A+JpucZjGKdytxtL9tc/XZBtJmgpAcBPrVeCLJedQPYyv2f8xARfx6/M1bsNKApYnvRj5T l0F3yRRtaznaO3Le2dH46IxI+hO3l11+jbPLWqAjUclFEmwV1xBoSjYx4VNVDVy7pTQkUC qS1cVkNcAb3afdpbUO3NAAK8sjpIw0FqXsuB2jaoHjRAjNWC9Z2Mo+CVAyZgEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jQvqb25dgzYVs for ; Fri, 13 Nov 2026 11:17:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 11a3d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 13 Nov 2026 11:17:31 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 8a131d2f1610 - main - axp81x: Honor the enable delay of the regulators List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a131d2f16103661e5f0bea29777c0f85352f02d Auto-Submitted: auto-generated Date: Fri, 13 Nov 2026 11:17:31 +0000 Message-Id: <6af6f1cb.11a3d.275adfdc@gitrepo.freebsd.org> The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=8a131d2f16103661e5f0bea29777c0f85352f02d commit 8a131d2f16103661e5f0bea29777c0f85352f02d Author: Emmanuel Vadot AuthorDate: 2026-11-13 08:07:14 +0000 Commit: Emmanuel Vadot CommitDate: 2026-11-13 11:17:07 +0000 axp81x: Honor the enable delay of the regulators axp8xx_regnode_enable() always reported a delay of 0, so the regulator-enable-ramp-delay property of the FDT was ignored. On the Pine H64 model B the Ethernet PHY is supplied by ALDO2, which has a delay of 100ms, and awg(4) resets the controller right after enabling it, before the PHY is ready: the soft reset timed out and the interface did not attach. Return the delay when enabling a regulator, like the fixed regulator driver does. Fixes: c175fd0fe8a3 ("axp81x: Add support for AXP803") Tested on: H6 --- sys/arm/allwinner/axp81x.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arm/allwinner/axp81x.c b/sys/arm/allwinner/axp81x.c index 279113bb5294..88efb61707a7 100644 --- a/sys/arm/allwinner/axp81x.c +++ b/sys/arm/allwinner/axp81x.c @@ -899,11 +899,12 @@ axp8xx_regnode_enable(struct regnode *regnode, bool enable, int *udelay) uint8_t val; int error; - *udelay = 0; - sc = regnode_get_softc(regnode); asc = device_get_softc(sc->base_dev); + /* The consumers wait for the regulator to be ready after enabling it */ + *udelay = enable ? sc->param->enable_delay : 0; + if (bootverbose) device_printf(sc->base_dev, "%sable %s (%s)\n", enable ? "En" : "Dis",