Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 13:28:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 224481] Add H3 to aw_sid driver for Allwinner SoC
Message-ID:  <bug-224481-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224481

            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@FreeBSD.org
          Reporter: eval@iptk.ru

Created attachment 188991
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188991&action=
=3Dedit
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 d=
oes
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 =3D "allwinner,sun8i-h3-sid";
       reg =3D <0x01c14000 0x400>;
};
...

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224481-7>