Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp265287pxa; Fri, 21 Aug 2020 06:48:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuyFOk46SGPkzQwXXZnsMmev8sKdiGvmrC6ngWQaTmzifTD4RbZwXJc7P0vt/Un2kzBetS X-Received: by 2002:a17:907:7292:: with SMTP id dt18mr3116544ejc.512.1598017709680; Fri, 21 Aug 2020 06:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598017709; cv=none; d=google.com; s=arc-20160816; b=jKHi5vJdwOyvm0sQYYCwiDB05EE4Qv3tdH2oCxQWS6NGTp/SlXXGTDmG4KrEiW1d5X ERSD6ZlxiBbcEx4DDDnvZmjXF8DR6okBuzuCD+tWTUKfYdbWpTRrlGudg5CXuhWBaDPk 17xAuJlq9q8TWgcvy566Tmbj6ea8VcAKre1C35q7IWlLWvyForS8+VpCvnz8h0j24DKv HoefkUfhSSa7nBtGZhKT/hBCVAhgusSbbvgs1RNGXCgYTRT2ZtdxIX00Tp6WvV0qJM5T qHFd0qA2lI/6FajpHqJI+htR0nB6x+LzhGcBWTPojk7wvMc9SUfs9/hN2VI249ivhZXc rIjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=iEzhc8bGyjjKwfVQ2yBOZeoSQC5flQckVJ055NOvhdI=; b=opqr22QFcCb3gSPkusvdszrLv2N37MzwejLgyZSx2BbsEkOHNsOheeavB+U3PII8Jk PK6eb7krsRukTQNhpQM0Mua2UKSScO1AcbV7+IV6AVLPxGlrXjNOfuEtbZAbaINzOLqk Zc7TmrL5jnVaSHntKszP6S+VmCHz5WQcU1F/HQoG267aFF4VQGuA7C0bUv9KSIQh0/ZY OYBN/hew5QDAKxy7STDc65z6XQJYTW1Xjg1hvZbK2k01WsKgMxdUQM0dChfNyBeEHMSH ZeYNXu/E+q/LThRPWfkUo8Y3qOdiVK/BF4wrzAJnYAjCQlBcEmL9DbH2xqH/acrQFcZW lf4g== ARC-Authentication-Results: i=1; mx.google.com; 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 j23si1267862edp.162.2020.08.21.06.48.06; Fri, 21 Aug 2020 06:48:29 -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; 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 S1728974AbgHUNqY convert rfc822-to-8bit (ORCPT + 99 others); Fri, 21 Aug 2020 09:46:24 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:33618 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728911AbgHUNo5 (ORCPT ); Fri, 21 Aug 2020 09:44:57 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id E92EA1C0BB4; Fri, 21 Aug 2020 15:44:53 +0200 (CEST) Date: Fri, 21 Aug 2020 15:44:51 +0200 From: Pavel Machek To: Adam Ford Cc: linux-omap@vger.kernel.org, aford@beaconembedded.com, Beno??t Cousson , Tony Lindgren , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] ARM: dts: omap3: Add cpu trips and cooling map for omap34/36 families Message-ID: <20200821134451.GA3806@bug> References: <20200817133931.11785-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20200817133931.11785-1-aford173@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2020-08-17 08:39:31, 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 */ > }; That should be the other way around. Provide safe values by default. Pavel