From nobody Thu Nov 12 09:32:01 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 4jQFXL0v49z70HQD for ; Thu, 12 Nov 2026 09:32:02 +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 4jQFXK6cd0z4v9P for ; Thu, 12 Nov 2026 09:32:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794475921; 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=CfM7prcAyCf+BsCp9mh9Dpc+2UbSp/z+/KYTgSjnRS4=; b=P63WypAy/ifCi5bL2oCiYGew4qD1dM8q+7NLdvd+lBe/WtbL+c6NuzHhjaiJuCZxrD2y7R EkcdM7AF6KKtu5LvwtCoYGF8IWFMpzj/b97RFt0b7Nw9upEZTT1DEQCsT8Allx7KGOIcaZ QUnXGGJ+j3m35+S+r5SQIq0BUeCtSM9MnHzFQJCuctBQ9m3ZmQpiWL0fcM9QlqLN3OtAQ+ m2QNZNYKFRuY6MQNl1CJzva80m3qQQPXRYP0R1DiNSC5tQMizkZX4IFruPnfzMZOqh9iMd JT3l5v2FyllpPnoxUcbpfl/jcewz+lUn2sHI9AKHlLNQzX06msY4vmmGX4Bexw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794475921; b=N64hHzbx7FgNLkSDie0uun4q+tWovl2cADiHoG+csvOWS3OhvjkZW1zzVYV/ouzMgi5J7v N5c3OoetOga1TMIMai/7Yo59cvSDyW0SwsegdnO1PY17yQunBIhZoPRcikDf4nexUr8Ip0 h0D4Fb6QJ8P2BZXgKZZnc1HHJuB5CpwuEVkoOqB0/hZJuZAfelSO1Lbvxmn5A/3A54EZP6 KhriYNz6tsRS2HNrUniVMzVLaisc7av99wGMLXVSc/qhe0pvTdSUd/Gl3z0/ZUPsPTvfEy 1ITTygm0yIXPDTlEeJHoVYMBqA/6zsNjyg9LmJ6BGJ9poCwuplPYIXajjwJ8Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794475921; 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=CfM7prcAyCf+BsCp9mh9Dpc+2UbSp/z+/KYTgSjnRS4=; b=OXoLthYMdjJKCSY0fdBQL0zooZpxSC23Cxg76POPLfRdFx+kRi06eN2ZZ+5ANV0RZYpTUW YlLwKkP8u3SGixwQbfcW/1IFLaDvejeykm3M0llhkNFpjHz5ujtP3IS3gk1Jv3+TRx28nW ZU6Xi1bLxYzQv7n40qut1xcD8VTbR1CaS5ydq9p0qy1ZkJSGmapO5ZcdNQswmvBgyBU6U3 KqUz9WvPwWkK22ih5kZXUO8zw1IZhqt3DrVBU0HdkgHdopAEEjjxQH4PNqIQ2YWu/hGRbC LsN3a20NklLbQISw7ZV1MG90e4P0+UELJBCmyMhez5l1MBfZfoaGtWXJNLv6zQ== 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 4jQFXK6HNbzxD1 for ; Thu, 12 Nov 2026 09:32:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1e8b2 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 12 Nov 2026 09:32:01 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 9597338d5679 - main - axp81x: Set the maximum voltage of the AXP805 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: 9597338d5679ae65129e1dc58825fd74d779aecf Auto-Submitted: auto-generated Date: Thu, 12 Nov 2026 09:32:01 +0000 Message-Id: <6af58791.1e8b2.749859f6@gitrepo.freebsd.org> The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=9597338d5679ae65129e1dc58825fd74d779aecf commit 9597338d5679ae65129e1dc58825fd74d779aecf Author: Emmanuel Vadot AuthorDate: 2026-11-12 09:00:42 +0000 Commit: Emmanuel Vadot CommitDate: 2026-11-12 09:31:37 +0000 axp81x: Set the maximum voltage of the AXP805 regulators AXP805_REG() did not set voltage_max, so a regulator without regulator-max-microvolt in the FDT got a maximum of 0 and its initialisation failed with ERANGE. Compute it from the minimum and the steps of the two ranges, like the value of the AXP813 DCDC7. Reported by: llm-postcr Tested on: H6 --- sys/arm/allwinner/axp81x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/arm/allwinner/axp81x.c b/sys/arm/allwinner/axp81x.c index a3d8fd3a4126..7db28242a3db 100644 --- a/sys/arm/allwinner/axp81x.c +++ b/sys/arm/allwinner/axp81x.c @@ -358,6 +358,8 @@ static struct axp8xx_regdef axp813_regdefs[] = { .enable_value = (1 << (_ebit)), \ .voltage_reg = _vreg, \ .voltage_min = _min, \ + .voltage_max = (_min) + (_step1) * (_nstep1) + \ + (_step2) * (_nstep2), \ .voltage_step1 = _step1, \ .voltage_nstep1 = _nstep1, \ .voltage_step2 = _step2, \