Received: by mail.netbsd.org (Postfix, from userid 605) id 6EB9D84DF8; Wed, 20 Feb 2019 17:04:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EAAAB84DF3 for ; Wed, 20 Feb 2019 17:04:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id madfrtA4OhcP for ; Wed, 20 Feb 2019 17:04:13 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 60B1E84CF1 for ; Wed, 20 Feb 2019 17:04:13 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5DE1EFB16; Wed, 20 Feb 2019 17:04:13 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_155068225379900" MIME-Version: 1.0 Date: Wed, 20 Feb 2019 17:04:13 +0000 From: "Martin Husemann" Subject: CVS commit: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1 To: pkgsrc-changes@NetBSD.org Reply-To: martin@netbsd.org X-Mailer: log_accum Message-Id: <20190220170413.5DE1EFB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_155068225379900 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: martin Date: Wed Feb 20 17:04:13 UTC 2019 Modified Files: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1: Makefile distinfo Added Files: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches: patch-plat_sun50iw1p1_sunxi__power.c Log Message: Make the initialization sequence for the eDP bridge more robust, now mine (and Lex') pinebook always come up with working display. Many thanks to Jared for helping to track this down. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile cvs rdiff -u -r1.4 -r1.5 \ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-plat_sun50iw1p1_sunxi__power.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_155068225379900 Content-Disposition: inline Content-Length: 3068 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile diff -u pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile:1.3 pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile:1.4 --- pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile:1.3 Sat May 26 17:29:44 2018 +++ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile Wed Feb 20 17:04:13 2019 @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2018/05/26 17:29:44 jmcneill Exp $ +# $NetBSD: Makefile,v 1.4 2019/02/20 17:04:13 martin Exp $ VERSION= 20180210 GITHUB_PROJECT= arm-trusted-firmware GITHUB_TAG= c9f55c023164a6c8c49f70f7ac6c68c626839d6f +PKGREVISION= 1 PKGNAME= ${GITHUB_PROJECT}-sun50iw1p1-${VERSION} DISTNAME= ${PKGNAME} Index: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo diff -u pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo:1.4 pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo:1.5 --- pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo:1.4 Sat May 26 17:29:44 2018 +++ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo Wed Feb 20 17:04:13 2019 @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2018/05/26 17:29:44 jmcneill Exp $ +$NetBSD: distinfo,v 1.5 2019/02/20 17:04:13 martin Exp $ SHA1 (arm-trusted-firmware-sun50iw1p1-20180210-c9f55c023164a6c8c49f70f7ac6c68c626839d6f.zip) = 5d4fd8aa57420cfaaab9a04054cebf89c9f8c69a RMD160 (arm-trusted-firmware-sun50iw1p1-20180210-c9f55c023164a6c8c49f70f7ac6c68c626839d6f.zip) = bb206350589ecb556b20629728018cf79a0d35bd SHA512 (arm-trusted-firmware-sun50iw1p1-20180210-c9f55c023164a6c8c49f70f7ac6c68c626839d6f.zip) = 477983b7fa7dd11b74edd12b7b6d20d573cfc86c08912c60967a0c66808432223a013e2049999b177ac740baf7a18f9fae151f418c03a7ab17f5d46075c7eaf1 Size (arm-trusted-firmware-sun50iw1p1-20180210-c9f55c023164a6c8c49f70f7ac6c68c626839d6f.zip) = 1067184 bytes SHA1 (patch-Makefile) = f16622a17a4f6aa3f0c339c35e87f8d889c6d7aa +SHA1 (patch-plat_sun50iw1p1_sunxi__power.c) = 3952b12726a9d6c4c62abdd7ba6d3c91b29770ec Added files: Index: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-plat_sun50iw1p1_sunxi__power.c diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-plat_sun50iw1p1_sunxi__power.c:1.1 --- /dev/null Wed Feb 20 17:04:13 2019 +++ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-plat_sun50iw1p1_sunxi__power.c Wed Feb 20 17:04:13 2019 @@ -0,0 +1,16 @@ +$NetBSD: patch-plat_sun50iw1p1_sunxi__power.c,v 1.1 2019/02/20 17:04:13 martin Exp $ + +Fix power up sequence for pinebook display / eDP bridge. + +--- plat/sun50iw1p1/sunxi_power.c.orig 2018-04-03 00:27:49.000000000 +0200 ++++ plat/sun50iw1p1/sunxi_power.c 2019-02-19 14:39:16.148546954 +0100 +@@ -266,6 +266,9 @@ static int pmic_setup(const char *dt_nam + ret = sunxi_pmic_read(0x12); + sunxi_pmic_write(0x12, ret | 0x10); + ++ /* the ANX data sheet is rumored to say we need to wait for 2ms */ ++ udelay(2000); ++ + sunxi_pmic_write(0x1c, 0x0a); /* FLDO1 = HSIC = 1.2V */ + ret = sunxi_pmic_read(0x13); + sunxi_pmic_write(0x13, ret | 0x4); --_----------=_155068225379900--