Page MenuHomeFreeBSD

Allwinner A83T thermal sensor support
ClosedPublic

Authored by jmcneill on May 15 2016, 8:19 PM.
Tags
Referenced Files
F106012904: D6378.diff
Mon, Dec 23, 9:42 PM
Unknown Object (File)
Nov 18 2024, 9:27 AM
Unknown Object (File)
Nov 8 2024, 9:42 AM
Unknown Object (File)
Oct 31 2024, 7:39 PM
Unknown Object (File)
Oct 11 2024, 10:13 AM
Unknown Object (File)
Oct 7 2024, 12:46 PM
Unknown Object (File)
Oct 7 2024, 12:46 PM
Unknown Object (File)
Oct 7 2024, 12:46 PM
Subscribers

Details

Summary

This diff adds support for the thermal sensor found in the A83T SoC.

The A83T thermal sensor controller has three thermal sensors. Sensor 0 corresponds to CPU cluster 0, sensor 1 corresponds to CPU cluster 1, and sensor 2 corresponds to the GPU. The sensor values are exported via sysctl.

Calibration data is obtained from SRAM found in the Secure ID module.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jmcneill retitled this revision from to Allwinner A83T thermal sensor support.
jmcneill updated this object.
jmcneill edited the test plan for this revision. (Show Details)
jmcneill added a reviewer: ARM.
jmcneill set the repository for this revision to rS FreeBSD src repository - subversion.
jmcneill added a project: ARM.

I've just added sid support in my tree and my driver is ~90% the same than yours so I'll merge them after.

manu added a reviewer: manu.
This revision is now accepted and ready to land.May 15 2016, 8:36 PM
sys/arm/allwinner/aw_sid.c
133 ↗(On Diff #16353)

It's probably better to use EARLY_DRIVER_MODULE with BUS_PASS_RESOURCE + BUS_PASS_ORDER_FIRST since some device will rely on it's presence.

jmcneill edited edge metadata.

Use EARLY_DRIVER_MODULE with aw_sid

This revision now requires review to proceed.May 15 2016, 9:29 PM
This revision was automatically updated to reflect the committed changes.