Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1351676imm; Wed, 25 Jul 2018 16:43:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdk7MGxFevlHwwQF+ECbJs18es8Z2MWnEdPIENrVzt0kqtE4138vqnyhIE9YpN6Oo9NztKZ X-Received: by 2002:a62:9d14:: with SMTP id i20-v6mr24157566pfd.3.1532562210983; Wed, 25 Jul 2018 16:43:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532562210; cv=none; d=google.com; s=arc-20160816; b=z5KlelqPo+gZXp3v4ODFq2idc1YSFfuQoMo78SZPF9oDmaSJfaUcy1jQKf6Htc+Psq bGHhpZSzNQ3y1LQ9uv6Wf6JM0+jShxCswFhezRAl4JjHCPox35HDflVLNgK3Pjo4uvoq O6uedfC0OZO1WPW/mZiwWcal3S340Sm//FKY8f+ol/xYg6YTPbzUq59T+ItmZvifXxR3 eXdhkTtzaP94mwimuz9YXcVmeJLKoKDbjRZ/PCebZQhzKJG7aKWkfcLPglv2sME9XG34 QNZupEqDIcTLAcCWWRS4qpZEv6JPlLAYQ/sbOFaoyZHqwlyrs1+IldqJosLuriIE1ThE DCaQ== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:dkim-signature:arc-authentication-results; bh=QWbEh4P/wPHjv5e/Ij0sIRzK9gmOkaO7jpB9b+pGH9M=; b=RcQZuXaRoPs7CuYwkjuF/H8hhLhZftyZu4o1zX+lPY+f4lsdnkc81SvdQoiavRc5K5 fGrLIdU60L7CK81CB4bNLnMNrXou9e/6lyIbySCm6zyKAHvFzruaNQq1c5AC8FGQp+Nm 1aBkwrufrvURK5HA63zEL2ZqDeAZvAO5qpqem19rafj0wlEijsA3fGop9qELkdbxlbMZ u2Q3fR85WiVhI4ZYihwI7Z9fQKaTs48+MnJXCzb7yxYeXpuOK/JcHqKreaaluQ5IXuQg ol38W8P+nABFkKwB1WE2g5kz0x+TxPkCFxhofgVGuY0Ge3snQSQPwlzMxL6THjVbInVL CwNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b="NZ/kLbVJ"; dkim=fail header.i=@chromium.org header.s=google header.b=LpooiTmX; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1-v6si12774489plt.126.2018.07.25.16.43.16; Wed, 25 Jul 2018 16:43:30 -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; dkim=fail header.i=@google.com header.s=20161025 header.b="NZ/kLbVJ"; dkim=fail header.i=@chromium.org header.s=google header.b=LpooiTmX; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731700AbeGZAf0 (ORCPT + 99 others); Wed, 25 Jul 2018 20:35:26 -0400 Received: from mail-vk0-f65.google.com ([209.85.213.65]:38802 "EHLO mail-vk0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731591AbeGZAf0 (ORCPT ); Wed, 25 Jul 2018 20:35:26 -0400 Received: by mail-vk0-f65.google.com with SMTP id k82-v6so4647781vkd.5 for ; Wed, 25 Jul 2018 16:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=QWbEh4P/wPHjv5e/Ij0sIRzK9gmOkaO7jpB9b+pGH9M=; b=NZ/kLbVJhlXpPM4zWDLl964pt3eyn2QH5o02u/H5F/U69JrlE2ARvQwQu4zetFc/lh mMrVAuhZ43yK5ua5WGLvbfLXhHk8A1KIG9vpYrDbd6/ubKikNClg9iIVae02sZHQxdXu ++jypt+I32YlvmlQvVkaMW4KQWOUKhdap8d1hvq3m5cx840wcpn3Tch7jjC5wnklhB4j Aa3rd49BE3oY4i/t1mbmplYzYVzNvGuiNuQiHzftHYfIC/MitajwSDSO5rnXEZj6b0AR Ke2Xo3VLnKkpUkHIosr1gLYrWeazTiU4AHV02xaxEs9kcSJgK8SC+K8qTqCg3MZ5g32f YcLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=QWbEh4P/wPHjv5e/Ij0sIRzK9gmOkaO7jpB9b+pGH9M=; b=LpooiTmXYmLxokZOS4qjDZ8qsNtD8H+oG1Q/lr7KE4jd9a6NfO/NvWt0WKYukhL5b1 gfZe7oUbbUeUlTjJ0jepBYm1tx4DMV9byutKnn5sKF4WQgJqyt5yQnUrgJoltw7spM0m azhdmDYc/ZeFvUWPh7Hnm+t/QoCgb0SxChEug= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=QWbEh4P/wPHjv5e/Ij0sIRzK9gmOkaO7jpB9b+pGH9M=; b=j9a1M4EV1pmLv5h6bdplx6AohkOWZWJgWaBJgh9/+v6Y5QmF795tGSChonXUvAInDp +IPwBGoQV6qFMPbH6wM4aF5ZJb03lQsc3XD7hb0g+O5smKZ0aVklQPeHqNjzfHcQ2uej 4OBCWRYKw9OXs6COu6bd67hUpduuBQV0AbE/nexLsR4+LDg/mvSPZ4Jhsm6KHBKUcB4F AD37uUgzJs95cv5KrFx9i1q+Pp9Ktmwsvx0mRoilh4VGc4yYTYEWlCRaLn8ON18xj13V Pewr5e32RwFGZi6sz2TZdsjKHFvvWejPwHWAcmL5x5qKLiWDo5LIOODfJdPEB5vrg/NF Wdcw== X-Gm-Message-State: AOUpUlHX6X32CM9zDrHBnDIwfZH3OeRMrRK0ufJRvD/qAEN+jC1b9zz+ l6vD3Rzdx3L/kkvYEfMIn4ShShzmORK9aZj+LxeMcQ== X-Received: by 2002:a1f:a784:: with SMTP id q126-v6mr14902571vke.70.1532560888983; Wed, 25 Jul 2018 16:21:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:cd5:0:0:0:0:0 with HTTP; Wed, 25 Jul 2018 16:21:28 -0700 (PDT) In-Reply-To: <20180724234636.57137-3-mka@chromium.org> References: <20180724234636.57137-1-mka@chromium.org> <20180724234636.57137-3-mka@chromium.org> From: Doug Anderson Date: Wed, 25 Jul 2018 16:21:28 -0700 X-Google-Sender-Auth: X-U7ngNcLScjOiVHgafNQpImqqE Message-ID: Subject: Re: [PATCH v5 3/3] arm64: dts: qcom: pm8998: Add pm8998 thermal zone To: Matthias Kaehlcke Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Zhang Rui , Eduardo Valentin , "open list:ARM/QUALCOMM SUPPORT" , linux-arm-msm , Linux ARM , LKML , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, David Collins , Stephen Boyd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Jul 24, 2018 at 4:46 PM, Matthias Kaehlcke wrote= : > The thermal zone uses spmi-temp-alarm as sensor, the trip points > correspond to the PMIC thermal stages 1 and 2. The critical trip > point at 125=C2=B0C disables the partial PMIC shutdown at stage 2. > > Without an IIO input the sensor only reports a limited number of > temperatures: > > - 37=C2=B0C for temperatures below 105=C2=B0C > - 107=C2=B0C for temperatures >=3D 105=C2=B0C and < 125=C2=B0C > - 127=C2=B0C for temperatures >=3D 125=C2=B0C > > (the numbers correspond to a stage 1 threshold of 105=C2=B0C) > > Signed-off-by: Matthias Kaehlcke > --- > Changes in v5: > - removed 'stage2-shutdown-disabled' property from spmi-temp-alarm > - updated commit message > > Changes in v4: > - updated trip point temperatures to match stage 1 and 2 ones > - disabled stage 2 shutdown > - updated commit message > > Changes in v3: > - moved 'thermal-zones' node to the beginning of the .dtsi > > Changes in v2: > - defined 'thermal-zones' node in pm8998.dtsi instead of using a label > to refer to it > - use 105=C2=B0C hardware trip point as critical trip point > - reduced number of trip points to 2 > - lowered temperature of passive trip point > - updated trip point names and added labels > - updated commit message > --- > arch/arm64/boot/dts/qcom/pm8998.dtsi | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) Looks great! Reviewed-by: Douglas Anderson