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.5 required=3.0 tests=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 C2BD4C4740A for ; Mon, 9 Sep 2019 16:32:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9156221D6C for ; Mon, 9 Sep 2019 16:32:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727006AbfIIQck (ORCPT ); Mon, 9 Sep 2019 12:32:40 -0400 Received: from muru.com ([72.249.23.125]:60392 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbfIIQck (ORCPT ); Mon, 9 Sep 2019 12:32:40 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 4035B80BF; Mon, 9 Sep 2019 16:33:10 +0000 (UTC) Date: Mon, 9 Sep 2019 09:32:36 -0700 From: Tony Lindgren To: "H. Nikolaus Schaller" Cc: Adam Ford , =?utf-8?B?QW5kcsOp?= Roth , Linux-OMAP , Discussions about the Letux Kernel , Linux Kernel Mailing List , Andreas Kemnade , Nishanth Menon Subject: Re: [Letux-kernel] [RFC PATCH 0/3] Enable 1GHz support on omap36xx Message-ID: <20190909163236.GP52127@atomide.com> References: <0C1EF64E-B33C-4BFA-A7D3-471DD1B9EE86@goldelico.com> <515048DE-138D-4400-8168-F2B7D61F1005@goldelico.com> <7B3D1D77-3E8C-444F-90B9-6DF2641178B8@goldelico.com> <87420DBD-770F-4C32-9499-A3AEA5876E8A@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87420DBD-770F-4C32-9499-A3AEA5876E8A@goldelico.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, * H. Nikolaus Schaller [190909 14:57]: > Another question that came up by private mail from André was if we > should better disable the turbo OPPs of omap34xx and 36xx by default > (status = "disabled";) because there are concerns about overheating > the chips and we have no thermal regulation like for omap4 & 5. > > But this would mean that every board DTS would have to set it explicitly > to "enabled". Yes I started thinking about that too. I think there is a requirement to do the scaling via the voltage processor for the higher modes. And there needs to be some way to automatically change to a lower OPP in some cases. For normal OPPs, using the twl regulator directly should be OK. For the higher modes, maybe we could pass the callback functions from arch/arm/mach-omap2/voltage.c for the twl regulator so the voltage processor hardware can handle them directly. Or add a separate regulator driver operating the voltages like Nishanth posted patches for earlier. Regards, Tony