Created attachment 188991 [details] SID driver patch For the correct operation of the aw_thermal driver, a thermal calibration function is required, presented in the aw_sid driver. However, the driver does not support H3 SoC. It is known that H3 SoC has a hardware bug when reading SID (root key) - see http://linux-sunxi.org/SID_Register_Guide#SID_PRCTL I suggest a patch that more correctly implements the aw_sid driver. DTS to enable the driver device: ... sid: eeprom@1c14000 { compatible = "allwinner,sun8i-h3-sid"; reg = <0x01c14000 0x400>; }; ... The driver is tested on H2+ SoC (OrangePi Zero)
Hello, Thanks you for you patch, could you open a review on reviews.freebsd.org please ? It's much easier to review code there. Thanks.
Patch moved to phabricator, closing this entry. https://reviews.freebsd.org/D13556