From nobody Wed Nov 18 06:49:13 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 4jTsdk0GxRz6y5wC for ; Wed, 18 Nov 2026 06:49:14 +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 4jTsdj5WsLz3NbD for ; Wed, 18 Nov 2026 06:49:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794984553; 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=5JFUHLRS4hCpA5X51HI2s9shItuCEOpqXk1RrkXJ6DQ=; b=UNHjNUcT8PnG9EZM0UzZgzh5+uZcMXpzmyM3YxBU8gysyTxfxPCE5lKxw/E+aPSylCgHVI fvPJJl4WSKxDwZWyT53E8fbr9MOhdcyE4ERixnLaeq1Jg+Jwv8Jsv0hlGMxtRpBtz1+UTF /LyEC2R5FsyAkB6gcnm40wePEQBZvaChZRIH4spBabCunjedql08j9b/dC0/MB/pEJIEAi faGLdk/e7NJg91kXaps/SfcJWO7b/OI/BJ2jpFbgKaH15lmCNLz4g5xFojVY8tC3IGqqBh OqINjXg8OqQ9v7TZ4/f8OYbCfJQ53Flku2Eq6p2LYxQpBIwFqGGF90znku6EFQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794984553; b=PuYXL1SG0dcnRdtcs6ezpzDxTEKu5RJ+9uPDtKzdsvaGb/c7fgcJ3ZuI5imrvzajpH1Yzf I6pmeIAcQijP7F/JMvJX609aqDms2jiIoMN7d3quJJHF5ctXckNafZ3JGiUd5Ysv7g6JT4 QvZ66C89kNGv0icHJQPUE+BXqKYWwBC4Xe99Z4ofpvhG9VNBtmtikiVNe3BCUvEqRKfvpg +4UB8/EuDljci/eY1hKO7Omykki1awK5X0pBeANJQXncDPsCc2BX44yYzxIRtvnYI5eXf+ 70r8gc9OH4XiZv5n60mD/VSb5dASW1Y1nN/wKZ0QVwFueRw4XxCVY2QWGmBAcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794984553; 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=5JFUHLRS4hCpA5X51HI2s9shItuCEOpqXk1RrkXJ6DQ=; b=T2sl481H9h+/pc9RyMzFPluwXPOpBe5TrZwdlMo0msvbM6JBosWsBAvneGgLKxgeNc6Qdf euMhPfVP/f0dME1RfD7Ms1qo9D9z2SSIet6//nX4423pE/NpW5RO3sslyF0XCWOHaFHtR8 QBQErixY5g6042wuAu/GecBQcrj2DYG5GT6d6ZvWCeRxOIfsLYVX/tS75SGPwswWPDSPi6 fYlJhxBRnueS/yzX62DWWN/cKSZvVQNNywhO1NWISHtsH57o62YD2f367f2R5+3EC4DJRu NVDj54FBaOLPE076RCtWAJQsQaTN7AnVY1l0DAHb+6YPQFXa5xRS2tus5abwiQ== 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 4jTsdj46f9z1Hcc for ; Wed, 18 Nov 2026 06:49:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id f2a5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 18 Nov 2026 06:49:13 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: e7b7f2a8c63e - main - aw_sid: Add the thermal sensor calibration fuse of the H6 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: e7b7f2a8c63e5463fda28e9799e22ac28de2823d Auto-Submitted: auto-generated Date: Wed, 18 Nov 2026 06:49:13 +0000 Message-Id: <6afd4a69.f2a5.72288a93@gitrepo.freebsd.org> The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=e7b7f2a8c63e5463fda28e9799e22ac28de2823d commit e7b7f2a8c63e5463fda28e9799e22ac28de2823d Author: Emmanuel Vadot AuthorDate: 2026-11-17 21:50:13 +0000 Commit: Emmanuel Vadot CommitDate: 2026-11-18 06:48:57 +0000 aw_sid: Add the thermal sensor calibration fuse of the H6 The thermal sensor controller of the H6 gets its calibration data from the 8 bytes of the efuse at offset 0x14, referenced by the ths_calibration nvmem cell. Add it so the thermal driver can read it. Tested on: Pine H64 (thermal sensor calibration) --- sys/arm/allwinner/aw_sid.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/arm/allwinner/aw_sid.c b/sys/arm/allwinner/aw_sid.c index 069821bac740..43625ec1014e 100644 --- a/sys/arm/allwinner/aw_sid.c +++ b/sys/arm/allwinner/aw_sid.c @@ -188,6 +188,15 @@ static struct aw_sid_efuse h6_efuses[] = { .id = AW_SID_FUSE_SPEEDGRADE, .public = true, }, + { + .name = "calibration", + .desc = "Thermal Sensor Calibration Data", + .base = EFUSE_OFFSET, + .offset = 0x14, + .size = 8, + .id = AW_SID_FUSE_THSSENSOR, + .public = true, + }, }; static struct aw_sid_efuse h616_efuses[] = {