[Bug 224481] Add H3 to aw_sid driver for Allwinner SoC

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 20 13:28:41 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224481

            Bug ID: 224481
           Summary: Add H3 to aw_sid driver for Allwinner SoC
           Product: Base System
           Version: CURRENT
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm at FreeBSD.org
          Reporter: eval at iptk.ru

Created attachment 188991
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188991&action=edit
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 at 1c14000 {
       compatible = "allwinner,sun8i-h3-sid";
       reg = <0x01c14000 0x400>;
};
...

The driver is tested on H2+ SoC (OrangePi Zero)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-arm mailing list