Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5523838imm; Tue, 31 Jul 2018 12:24:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf/+WgWYYTAWEfDh2OloTAIewhuyOjGJFqPxOPIhMyfvnnoUxOBF58Uur0eYrHA2pPlX1WC X-Received: by 2002:a62:3f55:: with SMTP id m82-v6mr23542780pfa.51.1533065067476; Tue, 31 Jul 2018 12:24:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533065067; cv=none; d=google.com; s=arc-20160816; b=xvTaIk/z6kUlP0NwiAg9RK6xKXWceVn+UeTrXYxy2uijMtIJGp3P9/CdBcyhD5bkm0 LP7hjjnw7dswC7YZqym/KoQztYOAlRmdIHLTSd0+NlMnqDJGAjJwC75QZjrPN/H6EmYo 8PzDiOyaloz+Mc5G5FJAylPjExrXm7mnRhiZ3BjsH3Moew9CJvGiHLJ2cuyNOfXEmyQZ o1FcEu2t1aWQHcWyG9ENp/k9PZdUJDQQNA03Zwz3O2XfLvdWXPR4X916aX2ovgcU3DgK Oag1zRQP0ADezxOKJyzgPPCCB7fsd8LGgx8w7LvwCs4rlNuw0+pi/cTwn7jKUAd3715T nFWw== 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 :arc-authentication-results; bh=rSFYstEIa8RbxytHmD/gyJXZDer0a6LDZ65lafginfY=; b=Fu8HmzgMQlSF8Z44nWPnPiUTOj0YprabMRhFt71U8GAHaw9hmSi9eqMWLj50kLSGms vkXKzcLsFBeWAgUIkmn4qLhc6HglP9436/IdJ3Wwajs2NaZXeFJtCyziLmJJt5AYRPDW Yow/9YwbV65quGac6vd5BcCX56TvTZNu0iHDP+rRLZnbWxjMHYUAQCrZtiUxjBjnn5SA XV4QNfez3es9TSHafoTJTp1EbyuAJPw6yhyzTPf+84E2mQw7nFRdQYXKCvshrXtq6x48 5Djygs9MLMRTmJ/rsjsASQrupdNA1m5DgyymmdqBxboHAtAADnZFEm1+H5AlmfLTxvaJ 5YfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2-v6si13378102plm.202.2018.07.31.12.24.07; Tue, 31 Jul 2018 12:24:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732326AbeGaVCY (ORCPT + 99 others); Tue, 31 Jul 2018 17:02:24 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:40762 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728800AbeGaVCX (ORCPT ); Tue, 31 Jul 2018 17:02:23 -0400 Received: by mail-it0-f68.google.com with SMTP id h23-v6so5931340ita.5; Tue, 31 Jul 2018 12:20:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=rSFYstEIa8RbxytHmD/gyJXZDer0a6LDZ65lafginfY=; b=uOlR9hjrQzF2U82bS0ZCYViBfYhdrTAL0VwsML7IUOaV9bw2Gibd5ZUapfncTR7VsX N0Aktc0pgrCEC02b3eI8+MfuNPkLTyxncMIg4Jh/EKZMBSO+6LUCEG1unkZgXA0PFxOe oJ0fK6hVgxWV/+SmrJaLT9qjOCQtmGZ9OBORzww/CLLsy3tOKjY+cGnKLaq2VG000os6 s/ss2OxCbUj/19Z1U30uK6nPRGkTr3Rp5ESMinOkTAQDbT113AUiGtB/JnlRB6pCXKtu 1QGafkbFGuy/I2OmGXwlTdQAraUTBVpsvQZgAy5iEQ+ZMJgYqvUUO3VKgz2FZ9mEcCf1 D14w== X-Gm-Message-State: AOUpUlHb6HPYALKbwC3VVwlH0q25oB7io0YQvz/PD1WyJlq0cXijqcac c5A8aOvi5xVolG81kO9N+g== X-Received: by 2002:a24:7853:: with SMTP id p80-v6mr815081itc.133.1533064838055; Tue, 31 Jul 2018 12:20:38 -0700 (PDT) Received: from localhost ([24.51.61.72]) by smtp.gmail.com with ESMTPSA id i3-v6sm1786918iti.40.2018.07.31.12.20.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Jul 2018 12:20:37 -0700 (PDT) Date: Tue, 31 Jul 2018 13:20:36 -0600 From: Rob Herring To: Matthias Kaehlcke Cc: Andy Gross , David Brown , Mark Rutland , Catalin Marinas , Will Deacon , Zhang Rui , Eduardo Valentin , linux-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, David Collins , Douglas Anderson , Stephen Boyd Subject: Re: [PATCH v6 2/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Improve thermal zone in example Message-ID: <20180731192036.GA3770@rob-hp-laptop> References: <20180731185917.176074-1-mka@chromium.org> <20180731185917.176074-2-mka@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180731185917.176074-2-mka@chromium.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 31, 2018 at 11:59:14AM -0700, Matthias Kaehlcke wrote: > The current example for a thermal zone isn't very useful as reference > since it would result in a hardware shutdown at 145?C, instead of > allowing the system to try to shutdown gracefully. Without an ADC > channel a maximum of two trip points is useful in practice for this > sensor, with temperatures corresponding to the stage 1 and stage 2 > 'hardware trip points'. A critical trip point at stage 2 may allow the > system to shutdown before a hardware shutdown at stage 3 kicks in. It > should be noted though that by default the chip performs a 'partial > shutdown' when the temperature reaches stage 2, which may prevent an > orderly shutdown. The 'partial shutdown' can be disabled by software. > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Douglas Anderson > --- > Changes in v6: > - patch added to the series > --- > .../bindings/thermal/qcom-spmi-temp-alarm.txt | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-) Reviewed-by: Rob Herring