Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1843380rwb; Fri, 12 Aug 2022 07:43:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR68V48G6POE3/fZ6/LNkv/MsfExYVEdUGwTsM0ETCNn7nt1omRJR66enIi3LHI+ZozQvxIJ X-Received: by 2002:a05:6a00:b43:b0:52f:59dc:93 with SMTP id p3-20020a056a000b4300b0052f59dc0093mr4217257pfo.26.1660315392407; Fri, 12 Aug 2022 07:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660315392; cv=none; d=google.com; s=arc-20160816; b=zN1MO5YUXI6pr8T77u/yGer+F/UornjBr7IjW7SPr/4Zm9hx58W1UrBbTFklXvk6V+ DH/lAte8lMnBsY27npqxd3joqFM2UaQubMKa/07g2OoVhAD6VrJGpGnN2Tjg1GHff5b0 Vw/gNLadi4npBMCWw6rej+v6W+OKf4mGrMns6PnkKq0ekw1hDYev2IGe5KbonIvLb30q 7+snKi29N38Uc5eOymMx4wDURK87xVqORft+8YnXpKH8zu4XpHd2dB4tq/LfN7cyDrJr kyF5lRDnCGr97S97GgxB8GFuOU9lxywKVBd0Sb8cAjnfJmezCuNMXEeHxRwDTzXGy51Y u/Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yKajFgqA9LCPMjtPdVJnnC8O+xs2E9xJBgChlA4S+78=; b=k9aQyZglQ6VRvTAOPidknS2aiIi8g0FkwxNKlFJi9ACkTE75a+WrxyN6H41/aV+5CD psTwgPwkDdnAFCsBWJwvY17si3FjzpbFmQ1D8Gk+B/lrYHhxrHbhZCJHNvGHo68aOa2m deduAAr4vEw9Y98rMEfZrjnX/Yl2DfaWjB4ffr0Z6SssL2IjpRSMNoXoVC7yLJfjak3N e44jJzhokP73FdjYeYe7uJMWFdG14untSgukkOB4X2ZnIWb4BVPTOMtOPWLDYojXPTXu iyjFwbmZqHdlVFLjDj64fH6k+UmKcKIsytgRe0Q9Nip0c+E7XC6KXDgYwLESX6ET+O6X 3fcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vXjOFsF0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a17090aae0200b001f539cc1474si2429741pjq.30.2022.08.12.07.42.58; Fri, 12 Aug 2022 07:43:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vXjOFsF0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238990AbiHLNgv (ORCPT + 99 others); Fri, 12 Aug 2022 09:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236979AbiHLNgu (ORCPT ); Fri, 12 Aug 2022 09:36:50 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BD0D9F180 for ; Fri, 12 Aug 2022 06:36:48 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id z20so980011ljq.3 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=mxIbE0iVHKDzFNZhcgpx7l1H3a5z0hX3FLO4NZVJx5tXkBQnIJFzcKR4cQwlkuR+5m Wz/D/foVKUMN832T86kHwfNSgLe/SEmDsbRfQ/lxMtwIitwJ1Tgy7aHn1NTv3H66eAaN zr9OMoMlxonkcN4c+Ok9i+QD9byDJM2k+pmEYoPYJ40slPV7idbjMbxToCCZWaDVTQym +Tnj/mMtbxMk4dmz7M4E0e3g+EoLmwAhBWlNUGQgFIAK8PzDUjGaOWIcY7VPK4B1i44i R1DmGaEm78xfzaX0FRJ1DGCM+XGMF0yWzPQrKz6lDOuhKrz9RhW/Yfpz1Px4unr3MzPb qHBQ== X-Gm-Message-State: ACgBeo3wVuK9lMj0enxYhxRtWklcj0xptvdhThoHsYT8JujCQSmWKoUn L4e3fThzuOw3JaQF0m+tokb4cg== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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