From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1413CFC6196 for ; Fri, 8 Nov 2019 21:21:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D868320869 for ; Fri, 8 Nov 2019 21:21:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JozCGrfH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D868320869 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cTIXGJ4oj0fW79TgmCbkqfR3LXByiiLO1d/K8k8viXA=; b=JozCGrfHC2XDN/ te0+Cqb0RyZVGc2mCqoDpOseSg8fk39h273HjjMy9JSJUQS4ZDjeg0+coOy3jkH4Pxc7aSHRL2Is5 shdVKCSCuvkUq1Pz4AoKOxpTfAgB4fT8kJxESqM5Nx8jtMK55FD9AglgW+mr9G2JrXvUK683IR4Or m1L7v6yE9WjzaT+z/bJ68Bwh0Fg3dqm4YNmMugRqICcHQfnFYS4xgYqrhYsK13ZVa7UAPyJ0rGTqP ZKFbK0qrxyEBE3DI+Iu7pXZ42DLvsi/vkO65yRwvGWb7iWv1FnD3aNL1JeYlxfjaykQQgX/tFg/vK cncvkFSLgjJFVJCWPeZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iTBhM-0004Sr-NU; Fri, 08 Nov 2019 21:21:40 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iTBhK-0004ST-04 for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2019 21:21:39 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id D25AA80D4; Fri, 8 Nov 2019 21:22:12 +0000 (UTC) Date: Fri, 8 Nov 2019 13:21:33 -0800 From: Tony Lindgren To: Adam Ford Subject: Re: [PATCH 1/2] configs: ARM: omap2plus: Enable OMAP3_THERMAL Message-ID: <20191108212133.GS5610@atomide.com> References: <20191007220540.30690-1-aford173@gmail.com> <20191022162223.GU5610@atomide.com> <20191022221919.GF5610@atomide.com> <1CE62E4E-1A38-448C-9197-8FA16747F942@goldelico.com> <20191023143646.GG5610@atomide.com> <20191108205139.GP5610@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191108_132138_077788_2DAD1AEB X-CRM114-Status: GOOD ( 22.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree , "H. Nikolaus Schaller" , Russell King , Linux Kernel Mailing List , Rob Herring , =?utf-8?Q?Beno=C3=AEt?= Cousson , Linux-OMAP , Adam Ford , arm-soc Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Adam Ford [191108 21:05]: > On Fri, Nov 8, 2019 at 2:51 PM Tony Lindgren wrote: > > > > * Adam Ford [191108 20:03]: > > > On Wed, Oct 23, 2019 at 9:36 AM Tony Lindgren wrote: > > > > My guess is we need to call clk_disable() and call > > > > ti_bandgap_save_ctxt() on CPU_CLUSTER_PM_ENTER similar to > > > > what ti_bandgap_suspend does. And then restore it on > > > > CPU_CLUSTER_PM_EXIT. > > > > > > > > There's a similar example already in gpio_omap_cpu_notifier(). > > > > Not sure if there is some related errata to deal with too, > > > > probably the old Nokia n900 or n9 would provide some hints > > > > on what exactly needs to be done. > > > > > > I 'think' I have a patch ready that does what you're asking, but I > > > will fully admit that I don't completely grasp what's going on. > > > > > > I'll submit it as an RFC, but I am not even sure I understand what to > > > put into the description, so if you're OK with reviewing the RFC, feel > > > free to mark up the actual commit message as well. > > > > > > From what I can see, the changes haven't negatively impact stuff. I > > > didn't see the power consumption go up before, so I am not sure I can > > > replicate your findings. > > > > > > It'll be posted shortly. > > > > Yeah seems to do the job, thanks for fixing this issue. > > I am glad I could help! I am learning new stuff. :-) > > Once the other patch to fix the bandgap clock idling, will it be > possible to accept this as-is, or do you need me to re-base and submit > again? No need to resend, I've tagged it again to apply after the driver fix hits the mainline kernel. > Ideally, once we get the thermal stuff in and we can drop Nikolaus' > turbo option on the 1GHz processor and just let the processor scale to > 1GHz without having to deal with the boost stuff since it should > throttle back when the junction temp hits its threshold. Right. AFAIK we also still need some way to represent the arch/arm/mach-omap2/voltage.c as drivers/regulator some kind of regulator controller regulator for cpufreq to use. > If you want me to re-base, please let me know which branch I should use. No need for that. Thanks, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel