From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753290AbcGVAm1 (ORCPT ); Thu, 21 Jul 2016 20:42:27 -0400 Received: from megous.com ([83.167.254.221]:59233 "EHLO xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752901AbcGVAmK (ORCPT ); Thu, 21 Jul 2016 20:42:10 -0400 Subject: Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One To: Michal Suchanek References: <20160625034511.7966-1-megous@megous.com> <20160625034511.7966-15-megous@megous.com> Cc: dev , "linux-arm-kernel@lists.infradead.org" , Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Chen-Yu Tsai , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list From: =?UTF-8?Q?Ond=c5=99ej_Jirman?= Message-ID: <3d218e35-c848-53b3-e65f-df4b70c1e1f8@megous.com> Date: Fri, 22 Jul 2016 02:41:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qNHQUBsIC3O9b8hGw5c6BOgLKhSMPwpFE" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qNHQUBsIC3O9b8hGw5c6BOgLKhSMPwpFE Content-Type: multipart/mixed; boundary="MPfL2SHSMlaOrSqP5Fbu2AX0dnf5S18s3" From: =?UTF-8?Q?Ond=c5=99ej_Jirman?= To: Michal Suchanek Cc: dev , "linux-arm-kernel@lists.infradead.org" , Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Chen-Yu Tsai , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Message-ID: <3d218e35-c848-53b3-e65f-df4b70c1e1f8@megous.com> Subject: Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One References: <20160625034511.7966-1-megous@megous.com> <20160625034511.7966-15-megous@megous.com> In-Reply-To: --MPfL2SHSMlaOrSqP5Fbu2AX0dnf5S18s3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Michal, On 30.6.2016 13:13, Michal Suchanek wrote: > Hello, >=20 > On 25 June 2016 at 05:45, wrote: >> From: Ondrej Jirman >> >> Use Xulong Orange Pi One GPIO based regulator for >> passive cooling and thermal management. >> >> Signed-off-by: Ondrej Jirman >> --- >> arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 39 ++++++++++++++++++++= +++++++++ >> 1 file changed, 39 insertions(+) >> >> diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts b/arch/arm/bo= ot/dts/sun8i-h3-orangepi-one.dts >> index b1bd6b0..a38d871 100644 >> --- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts >> +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts >> @@ -109,6 +109,45 @@ >> }; >> }; >> >> +&cpu0 { >> + operating-points =3D < >> + /* kHz uV */ >> + 1296000 1300000 >> + 1200000 1300000 >=20 > First problem is that the board boots at 1008000 which is not listed > and the kernel complains. >=20 > Second problem is that the board locks up during boot with this enabled= =2E >=20 > Do you have some suggestion for alternate configuration to test? I've identified the problem as incorrectly set up gpio-regulator. During boot, when it was probed, it would be initiualized with 1.1V for a moment. This caused random non-specific lockups/crashes afterwards. Fixed patches are in my branch on github, if you want to try again. https://github.com/megous/linux/commits/orange-pi-4.7 regards, o. > Thanks >=20 > Michal >=20 --MPfL2SHSMlaOrSqP5Fbu2AX0dnf5S18s3-- --qNHQUBsIC3O9b8hGw5c6BOgLKhSMPwpFE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXkWvcAAoJEG5kJsZ3z+/xqAYP/ROciyqRVM+ZSyfsTcS/lpQY IfiNshAypzQa+ciYGgxaPy1qY/nZXfHOWRmhzqCb4C6G936noycL8YjmsXwM3qBV j9NfshA7MUDfFJfZCgKQi38l7HEC3wmT7lnDatAdu0njeXsmrh+iXsFhCKyykn6p NZ2OeOniThhHFfswqI/Z6IEVZSUkMZS3j2+umjWbbqArsdhZ85OYF6BPmxdfZhgN xbIG44F3duRgzMVOlZzlsWDnaLUb14Hd8rEDWiprjpKCHxKK51QmkMpbfLpBHH1i cGvXCLan/4WA8wTbbX0T++/xqB6T0LPtQOHW+9M/B+Pw+5MfdHjyEoQDOb4X5yvn eq9oAUHanvslyP5h4+/A4o4HJoAXKRF2MZ1r1iGDXk5Gin39uob4ShEmRdnBscwb coDjkuZ6g2jQ16bou3DRPzntBzUhnL1WcuGug6cJal3GMH8X5JvXpRGHiRm5mLhQ FCIFbS8MXQtl1yrqNdNjYGzu/+uu7L5V5WJtG8w59764e41fxUYKM5HMc+DOQPo9 R8eJFWpGPNZMzwUrhEej+2cx0M6dPiswxZNkZwIiUJbOliAqfFW+ET5SYCr9ru1W SiI4dCI83FxWE8JphZxI7G0SYbvmuj0ZQup0PcNOFBNEOWLCIo0n3xg76x8eZvKM YeKJrqL15SibHBx6MqNo =Uxug -----END PGP SIGNATURE----- --qNHQUBsIC3O9b8hGw5c6BOgLKhSMPwpFE--