Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2665719pxa; Mon, 17 Aug 2020 16:00:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNvXCTZwnJsRG2DVx0YFc6aG9exWDSUxfKhFXOuXw9Et7nKi3EyqHEjnNQRsCh+mOfW/4i X-Received: by 2002:a05:6402:37b:: with SMTP id s27mr17425098edw.239.1597705226803; Mon, 17 Aug 2020 16:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597705226; cv=none; d=google.com; s=arc-20160816; b=D9r4bBbmDrRf793xgNw7Hbry9VMKVDM7nnjey+Mk2iI6SVFAK4zc166CGj+KxqrMYZ OhpmiLAaJt3jB7cvv5r3CBR1UXJ+PDVJSK/hZkDhgSNuXd9n3WAHyLq3o955tIF+CWRC +noXuCZlhUQ91o1Y5p5oyWXtt8Gm52qayPTQC76m/jwoArfVpihnCNx/ZGNCITR0vIpG eH5EERkTPViln4FjYLQqy9bvswCA4qY3QhU4kE63GR8iogEhgOcEfoB1a/NTzJEjwvl6 wf119uL9moQGWR05NpW8vvp5DCtmok5EYiTHIKOjNlko6gf8fVe/qiQplxl0Bdou6L8X BvGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=MQxwrtyOSC0pqe1VevhdSFunt/8xuDEPA6IOemddH4o=; b=ykzDJJpYFZi771N4jgRiODVk5zU4eUYJMe/7Q9lQ4CnerjmCo+q4dqT9cPQb2Urq9l 22+QYN7QonSRVawYvGrUnvGIMy+rUvGsaqkgpERVDnXATJOnMLylDsW7ZJTvuqE42+Wg x2hj+AGzvFnuRK+fqxBHftyW511oIdmnL7VPq+pVnNFaCO2AgE/5JfmB79XpcJU+HNkR yfDdOlmkF/KHLVuOk5qUsCG9rKONg0L17kMLk+R3s6ralahpEmH2KqYYBm9x+vJuV4/r ntO026lBIf2soSNC7nE/7OzOVq403Zn8QBMrrUnpqmr7oLIItBIjMRV5wlgdFO3wrXxZ k5KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=Tu3HPHWa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si4534149edx.132.2020.08.17.16.00.03; Mon, 17 Aug 2020 16:00:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=Tu3HPHWa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726888AbgHQUPi (ORCPT + 99 others); Mon, 17 Aug 2020 16:15:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726228AbgHQUPi (ORCPT ); Mon, 17 Aug 2020 16:15:38 -0400 X-Greylist: delayed 934 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 17 Aug 2020 13:15:37 PDT Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98F23C061389; Mon, 17 Aug 2020 13:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=MQxwrtyOSC0pqe1VevhdSFunt/8xuDEPA6IOemddH4o=; b=Tu3HPHWaEXY96Wq4yxc3gzDq4d m39dWE3VGFrwZ+xgRjkiplje1pfUG92mS0Nf9FEQq9/mCI6ldmIMUC+djq/pu/7CAIgVwOGLihIbc Bs/8i/xz7FtV6zZTn9ZWhOZZJurqYSPdirLVVF14700DDi6oKYlNpZuiqrM9GuMrmQSM=; Received: from p5dcc3306.dip0.t-ipconnect.de ([93.204.51.6] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1k7lXa-000549-1W; Mon, 17 Aug 2020 22:15:34 +0200 Date: Mon, 17 Aug 2020 22:15:32 +0200 From: Andreas Kemnade To: Adam Ford Cc: Linux-OMAP , Adam Ford-BE , =?UTF-8?B?QmVub8OudA==?= Cousson , Tony Lindgren , Rob Herring , devicetree , Linux Kernel Mailing List , "H. Nikolaus Schaller" Subject: Re: [PATCH V2] ARM: dts: omap3: Add cpu trips and cooling map for omap34/36 families Message-ID: <20200817221532.5d150648@aktux> In-Reply-To: References: <20200817133931.11785-1-aford173@gmail.com> <20200817215953.59607c11@aktux> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Aug 2020 15:02:27 -0500 Adam Ford wrote: > On Mon, Aug 17, 2020 at 2:59 PM Andreas Kemnade wrote: > > > > On Mon, 17 Aug 2020 08:39:31 -0500 > > Adam Ford wrote: > > > > > The OMAP3530, OMAP3630, and DM3730 all show thresholds of 90C and 105C > > > depending on commercial or industrial temperature ratings. > > > > > > This patch expands the thermal information to include the limits of 90 > > > and 105C for alert and critical. It sets the coolings-cells for the > > > 34xx and 36xx CPU's which both point to omap3-cpu-thermal.dtsi. > > > > > > For boards who never use industrial temperatures, these can be > > > changed on their respective device trees with something like: > > > > > > &cpu_alert0 { > > > temperature = <85000>; /* millicelsius */ > > > }; > > > > > > &cpu_crit { > > > temperature = <90000>; /* millicelsius */ > > > }; > > > > > > OMAP3_THERMAL will need to be enabled. It is off by default. > > > > > hmm, I think the patch for idling core when OMAP3_THERMAL is enabled > > got stuck somewhere. It still seems not to work. Shouldn't that patch > > be applied first? > > I rebased the idle stuff, and now I get errors, so I haven't pushed it > yet. I put a note that OMAP3_THERMAL is off by default, but this > patch would at least get the framing in there. I know at least two of > us that use 1GHZ processors which are not supposed to run at that > speed above 90MHz, so the idea was to tolerate the higher current for > now, and when the idle stuff works, we'll enable the OMAP3_THERMAL by > default. > yes, makes sense, so with this patch we have the choice to either optimize for low speeds and currents (by disabling OMAP3_THERMAL and 1GHz) or high speeds (by enabling OMAP3_THERMAL and 1 Ghz). Regards, Andreas