From owner-freebsd-arm@freebsd.org Wed Dec 20 13:28:41 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50843E88E57 for ; Wed, 20 Dec 2017 13:28:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F4CF6D1E8 for ; Wed, 20 Dec 2017 13:28:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vBKDSfd0070342 for ; Wed, 20 Dec 2017 13:28:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 224481] Add H3 to aw_sid driver for Allwinner SoC Date: Wed, 20 Dec 2017 13:28:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eval@iptk.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2017 13:28:41 -0000 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.=