Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp118001imm; Thu, 30 Aug 2018 09:40:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZxyFn0njm+hzVuOgakpXlsa7UcKNtTSbhqbFaNJn69atORnzSYtuhAZMBf4DCT9Qg8zzL7 X-Received: by 2002:a62:9cd7:: with SMTP id u84-v6mr11245733pfk.90.1535647203486; Thu, 30 Aug 2018 09:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535647203; cv=none; d=google.com; s=arc-20160816; b=rt9gzUS9P4lkn8JUb6Imo9tmg0ooZOTPa6dP/UjaqEHo1MCDXJyHUIcXeSNrEIoBwl uPM9szw5AmNzjrM2+pWZrtRY4emMov0XFTyMjKNm3H9OCZyKd83SQenj1ErJTPq3c8GE ptqMEG7VBFyEL01abhMFB+x2JF8YGidgGILbevcmSnHPnu//F4dp4S1/g9RiBraKChqL 0L+f7om1jR/BHpIEMUgTbRaj3X34SpcIJbFqy0ipOpoSd2QpcUvU74+lpRqH9F9nIv2W vbfC6FYtiRX29DVhQVHuUGUbWGG5cNORWgZCGEGEGhMeCeuIiNeHT4FFs+abdxn6F5X4 Cfrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:if-you-cant-reach-me-try:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=41UdSuo5nDwE/YdbGziHQkeYp8sLP5ooR7gmyN9FUW4=; b=zT9C5dQH1Pw2ezcgGXTDHSAok7lyD/r7VvIW29rZyAN7nam+t5/iFvZ/AeHqth2/uw ZQ+of+B2Fto6tjYnK+ZnOAlMLiu9aJDX3/DXDv2zHrUSrw8svtuji789Y8uyUZZ7VnsR RmuGxcUb8szZFMG2iCG7Ie5f3rAXyBN9tzUp12dKJUmyu05k31RDPkCzWvEJRu+hKRjB h9EWTKE+2EMGsZm+s6bSHIPUkoqbAAc/rBCd7/K67apGj3uTHthRymSOAWgUrsXXsC0q 3wpW5DZqjgAVYvyxWJtZ18tH+FhfDWqTYXDzJQocO7UIA4eyA6gKZHXxD80HDEUAkMu/ 8naw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=S9syPAPW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u18-v6si6967574pgo.142.2018.08.30.09.39.48; Thu, 30 Aug 2018 09:40:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=S9syPAPW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727545AbeH3Ule (ORCPT + 99 others); Thu, 30 Aug 2018 16:41:34 -0400 Received: from vps.xff.cz ([195.181.215.36]:35644 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727117AbeH3Ule (ORCPT ); Thu, 30 Aug 2018 16:41:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1535647114; bh=K4NhqDx3LpGTI8xLetxC1QVSbl52xpR96Gka9aLuwLE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S9syPAPWJJBIIlovkgJMOIAhJc1m8obULnQRykIysH2jzrzLAAHVaAkHhN4Hs7R/n hQ4arSLvIXO5YpfUDFjdy7/Z+pq5WyG2giM77FFJrzKuz2MfArAoqh3pnecjKrapcH RIpYIzPz9PHeWfWGKdO2R+ANNEDkRqPyIHVmDJkQ= Date: Thu, 30 Aug 2018 18:38:33 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Philipp Rossak Cc: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, eugen.hristev@microchip.com, rdunlap@infradead.org, vilhelm.gray@gmail.com, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, geert+renesas@glider.be, lukas@wunner.de, icenowy@aosc.io, arnd@arndb.de, broonie@kernel.org, arnaud.pouliquen@st.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [linux-sunxi] [PATCH v3 30/30] ARM: sun8i: a83t: full range OPP tables and CPUfreq Message-ID: <20180830163833.v7zvmaz2vsxvzhur@core> Mail-Followup-To: Philipp Rossak , lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, eugen.hristev@microchip.com, rdunlap@infradead.org, vilhelm.gray@gmail.com, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, geert+renesas@glider.be, lukas@wunner.de, icenowy@aosc.io, arnd@arndb.de, broonie@kernel.org, arnaud.pouliquen@st.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com References: <20180830154518.29507-1-embed3d@gmail.com> <20180830154518.29507-31-embed3d@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180830154518.29507-31-embed3d@gmail.com> If-You-Cant-Reach-Me-Try: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Aug 30, 2018 at 05:45:18PM +0200, Philipp Rossak wrote: > Since we have now thermal trotteling enabeled we can now add the full > range of the OPP table. I'm not sure we can. I have a tablet with A83T SoC and it gets unstable at these frequencies even with thermal throttling on mainline kernel. (Though I have my own THS driver, but I doubt a different driver will change much.) There might be some other issue left in the cpufreq code. I'll let others test this on a better cooled boards though. Did you/someone test this? regards, o. > The operating points were found in Allwinner BSP and fex files. > > Signed-off-by: Philipp Rossak > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi > index 78aa448e869f..ddcf404f9c80 100644 > --- a/arch/arm/boot/dts/sun8i-a83t.dtsi > +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi > @@ -250,6 +250,22 @@ > opp-microvolt = <840000>; > clock-latency-ns = <244144>; /* 8 32k periods */ > }; > + > + opp-1608000000 { > + opp-hz = /bits/ 64 <1608000000>; > + opp-microvolt = <920000>; > + clock-latency-ns = <244144>; /* 8 32k periods */ > + }; > + opp-1800000000 { /* BOOT FREQ */ > + opp-hz = /bits/ 64 <1800000000>; > + opp-microvolt = <1000000>; > + clock-latency-ns = <244144>; /* 8 32k periods */ > + }; > + opp-2016000000 { > + opp-hz = /bits/ 64 <2016000000>; > + opp-microvolt = <1080000>; > + clock-latency-ns = <244144>; /* 8 32k periods */ > + }; > }; > > cpu1_opp_table: opp_table1 { > @@ -303,6 +319,22 @@ > opp-microvolt = <840000>; > clock-latency-ns = <244144>; /* 8 32k periods */ > }; > + > + opp-1608000000 { > + opp-hz = /bits/ 64 <1608000000>; > + opp-microvolt = <920000>; > + clock-latency-ns = <244144>; /* 8 32k periods */ > + }; > + opp-1800000000 { /* BOOT FREQ */ > + opp-hz = /bits/ 64 <1800000000>; > + opp-microvolt = <1000000>; > + clock-latency-ns = <244144>; /* 8 32k periods */ > + }; > + opp-2016000000 { > + opp-hz = /bits/ 64 <2016000000>; > + opp-microvolt = <1080000>; > + clock-latency-ns = <244144>; /* 8 32k periods */ > + }; > }; > > soc { > -- > 2.11.0 > > -- > 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@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.