From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DD6BC48BEA for ; Fri, 12 Aug 2022 13:36:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238998AbiHLNgv (ORCPT ); Fri, 12 Aug 2022 09:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238992AbiHLNgu (ORCPT ); Fri, 12 Aug 2022 09:36:50 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 293D49E13B for ; Fri, 12 Aug 2022 06:36:48 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id l21so987245ljj.2 for ; Fri, 12 Aug 2022 06:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=yKajFgqA9LCPMjtPdVJnnC8O+xs2E9xJBgChlA4S+78=; b=vXjOFsF0gE+TQeOzNb6csMqf1tmqDsrfApypwXBy6WylaS3lFMowP3OffYL2s9AElJ agZB3uUG2pS7lgdIz4kNe8LHX0MQtq1aKdMK/fHAZpSE5DrtPocZ2/6TWgucb9AS5Qbt /NPIF6zeqgAPSz92VtLiNgcgOEkcHado30Zs7wAgWJkRetiIHJUhJZvERtwX5Dfp+9fw fydjrXW6w3j/CEbOcAeRnC+v+ZxVUxih/BmAju97IFaWi3qan4RXvAN/lx/PQyaX+OR9 Q2Xm/pUfEw23q84ODaloyXvyn9qBN9ne2wfyA9qAq5+Aj37t3DY6DIDzSeitjNS00kOd vuPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=yKajFgqA9LCPMjtPdVJnnC8O+xs2E9xJBgChlA4S+78=; b=KdjcHLXp4Cy09Djzb2IBBToCXSGkxeA2Yc0tAWGVn7fvIPi0IFY5KsQJbz/4y0I1dp TmmIiD5jj0ATRabBIO5yetd2FedETrQAdc7IJ9JwLGK0cWL0MRkep9dmILvofbEmqy7p 6vDUo4Ay8H78WM0/8/VeKYq1OAPUVGOaoSYKnAuWgP2ZAx7pezOJgc+YV0yy9UH9/tBf eXmW2T/JBf/6JF5ZjaKqQ0fcne7Z24j2XFHyt22gJOiCPfzIa5rDrC4GjhQeVMRCpSyy 2t4rMG2aV7d8GV9RG22K4tdJCYb/cKnO/JztB3ugaqoZMfb2RH6PH+WFPVFvSsIWdGys AqRw== X-Gm-Message-State: ACgBeo2ABBxcnDRVW3D92PKCufOO4Gu11eE9kTJTT+AaQMT2VsahWABZ NDyCwh4CuLo1gh0O36QDYHALVg== X-Google-Smtp-Source: AA6agR5PgU5SgucPEDFTmFEXoayTaIKrClk7PcXY11AbJBNssKpGE2bD62bnRk9ZnenQ+ddczAaqMA== X-Received: by 2002:a2e:7a1a:0:b0:25e:52fe:952f with SMTP id v26-20020a2e7a1a000000b0025e52fe952fmr1278393ljc.519.1660311406593; Fri, 12 Aug 2022 06:36:46 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id bi34-20020a05651c232200b0025debf2a59asm349237ljb.108.2022.08.12.06.36.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Aug 2022 06:36:46 -0700 (PDT) Message-ID: <81ae6a31-1f37-a677-f8f8-2340e37d3a63@linaro.org> Date: Fri, 12 Aug 2022 16:36:42 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH] arm64: dts: qcom: pm6350: add temp sensor and thermal zone config Content-Language: en-US To: Luca Weiss , linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220812114421.1195044-1-luca.weiss@fairphone.com> From: Krzysztof Kozlowski In-Reply-To: <20220812114421.1195044-1-luca.weiss@fairphone.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 12/08/2022 14:44, Luca Weiss wrote: > Add temp-alarm device tree node and a default configuration for the > corresponding thermal zone for this PMIC. Temperatures are based on > downstream values. > > Signed-off-by: Luca Weiss > --- > With this config I'm getting this in dmesg, not sure if it's a warning > that should be solved or just an informative warning. > > [ 0.268256] spmi-temp-alarm c440000.spmi:pmic@0:temp-alarm@2400: No ADC is configured and critical temperature is above the maximum stage 2 threshold of 140 C! Configuring stage 2 shutdown at 140 C. > > As far as I can tell, based on downstream dts this PMIC doesn't have an > ADC. You configure 145 and driver believes 140 is the limit, so it seems warning should be addressed. >From where did you get 145 degrees as limit? Downstream DTS? Best regards, Krzysztof