git: e7b7f2a8c63e - main - aw_sid: Add the thermal sensor calibration fuse of the H6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Nov 2026 06:49:13 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=e7b7f2a8c63e5463fda28e9799e22ac28de2823d
commit e7b7f2a8c63e5463fda28e9799e22ac28de2823d
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2026-11-17 21:50:13 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
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[] = {