Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2570572pxa; Mon, 17 Aug 2020 13:04:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP8TJpHr0gqhMyFVw4TNSEfEa8KzfEPhS+24cZkZKqktDwXhS2ETTu9TbGAmnctm8eSszJ X-Received: by 2002:a17:906:9399:: with SMTP id l25mr16689812ejx.212.1597694651304; Mon, 17 Aug 2020 13:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597694651; cv=none; d=google.com; s=arc-20160816; b=XXk1pzEvjSs+AuQz+BYIhp3fo95Ejsl14QTSQN/NzVR6zn6aJcMljYEasSPpEkCcVF ppqyX3/SGJNzITTYyPTjCmh6E75v2O07AcVGzytcaysBVD7+HL4KfXiyCvyVBpFl9Ohh fUb2gtJYJYDUeRc5vJ9ONbFQukx0H2DlSJoj6v5v1kpwIXeIbK1KS3Wy12NS25iO44L3 7Q7QyOXzfROmm/lFgbSb6aOJA6J6PXvuV/kyXZfc2UVVeHIjIwCbdKO5jnGhWXzzvTEq PpSRTdds3iB53JOm81/2TWCucF/8IsEEyKyDqH0ZN6Jsb0GYjG72zH35FDPxT+6eQfeM kq3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WwUrycf48TYkmEUsmwdsPhuJLiR8sk6wFEPhan5oRwY=; b=E+5NxhrrEIIGbmG63Y1YPFEiPFCNw/jemvL5lEBeN+D8ArXB43aLatTdSZBz4VkpFx 1zpYXcYVKDRAFiCassL3AnMDLw6xwNncTjZgo3fN16B9M/uNXe32dViKUS0fHnytRX4J Oc0C1CM17rVsiV6S+2WaBfU8p4FjWxOdOIgkFuin+9QqksbRc4426AdiP3Vtvbz3Txb3 iMsMQX/+Bj+hb5mHgWQwD9MBYB12+tkQtvMEcszNNcPe8Edlz8WyACx2H+KcvPizxBtv 5EEHXg7nOIkbCc439AeddZ6EYoR92Da0RV/Ti6xuudbEUROmsesXVjKy7WStJCkIdFRN Ymyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sn2+pfvH; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jx1si12079466ejb.520.2020.08.17.13.03.47; Mon, 17 Aug 2020 13:04:11 -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=pass header.i=@gmail.com header.s=20161025 header.b=sn2+pfvH; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729445AbgHQUDG (ORCPT + 99 others); Mon, 17 Aug 2020 16:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729534AbgHQUCr (ORCPT ); Mon, 17 Aug 2020 16:02:47 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99311C06134A; Mon, 17 Aug 2020 13:02:39 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id u126so18794573iod.12; Mon, 17 Aug 2020 13:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WwUrycf48TYkmEUsmwdsPhuJLiR8sk6wFEPhan5oRwY=; b=sn2+pfvHDOajFSskAm9Fxm/qqS/xvSKDRlv+Nr+am6Zd0sVSR6cX7LVWLoDov8ber3 ce5nnc1y1Sl5ZemoRcLc074zh71xINuWQLLNszSbXYlsgJgJ38RkM2hGgvFJwOGXYpsZ o5dvorhKPsFoQl+XtP0CCdb6evXVON9IYxqcnIEktO6LXfErwy5ZNcqK++1SQWA3KNP4 VSD2WV68j34nl7stIi0clDmhgjh/GipeiGa3AVpZQWj3AwkW7TFube9OeZ221ELOQLtH c2kjOVqgPbtpcwo4g1Aa/BQQgxzvrHsfrWeqUulbwUQaLcOuLUS7mSBNAAEhAqBCdkcv hguQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WwUrycf48TYkmEUsmwdsPhuJLiR8sk6wFEPhan5oRwY=; b=kkK1G22yzevA0EJg2pyjmGTRLpOfebJObOYRvOXlo1UJ5Dd+nQLWMOq0hfTM3GqDzT oIEAjxQYq28A/5BC7qa+Vg95HREKO+SXETSyy9XTyIp1S3WQdp8sI/xl+ZV1YHUdAjFv PQ3c3xFrw+YzsWg6yEXxrMVCCJ3/5j3DqR7mNQsbnCnEvAVCyqXCx9guoYV/63ZyXzIq oOkyIykGfM/YFy2CYoo4oOLIYob3rP8r8Bj9Jsqoe9wKlbE5iFDJ5sRePDiHGDmtnW5R ZRFUx6nVq/pcogNsQo+G2zxyE1x/SyPVTH/jHAbn0uo4/81V1fVufmTGavpPiKF3COan NnYQ== X-Gm-Message-State: AOAM531BopSGU6L5Gg215yFjkNEEfdp9lmMYr+v47Dryf2jL7+8sZ1F/ NGHknxicYi5LJDusgY5Sf5ySBWRa70I7Hs2rB/o= X-Received: by 2002:a6b:e002:: with SMTP id z2mr13402090iog.178.1597694558727; Mon, 17 Aug 2020 13:02:38 -0700 (PDT) MIME-Version: 1.0 References: <20200817133931.11785-1-aford173@gmail.com> <20200817215953.59607c11@aktux> In-Reply-To: <20200817215953.59607c11@aktux> From: Adam Ford Date: Mon, 17 Aug 2020 15:02:27 -0500 Message-ID: Subject: Re: [PATCH V2] ARM: dts: omap3: Add cpu trips and cooling map for omap34/36 families To: Andreas Kemnade Cc: Linux-OMAP , Adam Ford-BE , =?UTF-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , devicetree , Linux Kernel Mailing List , "H. Nikolaus Schaller" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. adam > > Regards, > Andreas