From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Ond=c5=99ej_Jirman?= Subject: Re: [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One Date: Fri, 22 Jul 2016 02:41:59 +0200 Message-ID: <3d218e35-c848-53b3-e65f-df4b70c1e1f8@megous.com> References: <20160625034511.7966-1-megous@megous.com> <20160625034511.7966-15-megous@megous.com> Reply-To: megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qNHQUBsIC3O9b8hGw5c6BOgLKhSMPwpFE" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Michal Suchanek Cc: dev , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Chen-Yu Tsai , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list List-Id: devicetree@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-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.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-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org> Subject: Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One References: <20160625034511.7966-1-megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org> <20160625034511.7966-15-megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org> In-Reply-To: --MPfL2SHSMlaOrSqP5Fbu2AX0dnf5S18s3 Content-Type: text/plain; charset=UTF-8 Hello Michal, On 30.6.2016 13:13, Michal Suchanek wrote: > Hello, > > 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/boot/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 = < >> + /* kHz uV */ >> + 1296000 1300000 >> + 1200000 1300000 > > First problem is that the board boots at 1008000 which is not listed > and the kernel complains. > > Second problem is that the board locks up during boot with this enabled. > > 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 > > Michal > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. --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--