Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp228902rdd; Tue, 9 Jan 2024 02:10:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFbkn3tFbU4d5E02U0sHFteAyjHFkTWP8ktEAOY7FlAC++iv95AKU3z8BJdxnjZUOlV5IRV X-Received: by 2002:a05:620a:1a1c:b0:783:3005:2bfc with SMTP id bk28-20020a05620a1a1c00b0078330052bfcmr368231qkb.112.1704795049554; Tue, 09 Jan 2024 02:10:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704795049; cv=none; d=google.com; s=arc-20160816; b=xWeUFRA9PNF9/MwRgo62jvseS+4MGzhn8kmeVPsTc1jfXoVS3pCvQGwMrcuueFIHeH 7QQRF2V1Mt1iq5nCRwokRcrvTOXtqAD1WC9hRfscmwG1K1F5GVG+gA/b/AZRwYBtJLrH AwhKnnj0fq20tXMPHM5IDiGE9UBfxk0Mtz9YVfxoQ2OLDWV4o1NnuyzGoI726aFoHj62 HypIuYBy1gCBJjla0XwgtrbdHCJSEHx7lvStjKfMClfAVGga052r70mtFGAZqgy9Z0P5 G6LT4xJeeppDuR4LdTrjEsfRj9p/hkGA+Yq3Rla1TDu6Ek2Y03GhbIHuThntYznHMYvM DUyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=vrSBay0Xit0RBIWL7ygXxBZNSKXups8cFyOtms9TolI=; fh=mUP3yzCd5Gk9Rz/MDNqFU7wkONBfwKZJLjK9rFFh1Fg=; b=RZwBAs0d6fBwrK9AA6GISb3LRKMNJNbpBPVI7YPeQGQr3DEsMGkXqChIJyV715ilOC xT9mHz1eJcVMhTQuxlaL5Yh6x2wlyZmUHpLeN6/JjUTPykzz7PyKG3tlmv8wiGzY8Gtf gpdwjGPRKZIzezCvbGtYjDgV8nfiS2mxM+IGp3ropJJzMQg/bVj66dSOnn+pNrAcq0sp LWyfR8yU017e2tsvnqvvJQuPB11HelbJdFrPx+VHE8mYyQSgile7P1/TAuWmIEnnM7Bd RPLQ01ByJOMkHUe0yBmoc+eR217O4Tl81pw0rTh8594opY195Fx0YUXWCSLdeKpNEVYj oM2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sKTj27SB; spf=pass (google.com: domain of linux-kernel+bounces-20700-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20700-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ay32-20020a05620a17a000b007832c2e3b86si1591033qkb.672.2024.01.09.02.10.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 02:10:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20700-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sKTj27SB; spf=pass (google.com: domain of linux-kernel+bounces-20700-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20700-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E922D1C2417E for ; Tue, 9 Jan 2024 10:10:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15E76360AC; Tue, 9 Jan 2024 10:09:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sKTj27SB" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2DA835EE4 for ; Tue, 9 Jan 2024 10:09:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-50eabfac2b7so2943468e87.0 for ; Tue, 09 Jan 2024 02:09:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704794984; x=1705399784; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vrSBay0Xit0RBIWL7ygXxBZNSKXups8cFyOtms9TolI=; b=sKTj27SB35IptV5vzoPsRaNo9dx+Qy+tbuqgXkXk3WW9ESk9HZ6NzQuapEBk6X/aym mDBZAop+d2sG8rhUjzF8TePmzdKOkVl62IOJGaK7MtzGGRiW3w6a8QZ4OJRTsHTAAPug EWeCdOlTma6ks3jU7R6YvMKUlTDOTaiVllJXtDVnRRk/A0NzLjGEb5xxFv6r6BZlbEdT KSrnHHiNRVJJBDPiRozWmREVOCDbBfw+C9XAxmgAP3V1/hGduqAv4FR2YvEam55+zs29 AHYFhAKtp83+mScTps1oOXGB2l78fTdcFioSpVfJn6FKTvr6b3UdI0oSRWV79gFwCgcU SVmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704794984; x=1705399784; 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:subject:date:message-id:reply-to; bh=vrSBay0Xit0RBIWL7ygXxBZNSKXups8cFyOtms9TolI=; b=uvJY3XNBiCetBQRbbaA9Rq+p/V4lh0BsMj9nYsGhHyRDsr/XOYkRiED5sEZGzcRJLL XxYH+dGBFLkbLE1ZGa2kjBqkENUXiE76GujUASZ+NhLFWjHC64D4Usj3XJcyg+o+M/Ku mXY++NKksbQh4F1mhXqfAlZGV3nb6SSTbxvQGF2TTNNt7LgbZXmhAFAkyc77kY0VtlNm vWX5acoKwG+sLQaVGRfEjhxVwy0KpWF4U/bbir9rsMSoEtite4qgFL/9pahcbRinkSMB L5epDWLzujeU+EvUDNAfd1RGcV4K1/ENIQaHDooVYFrzFXs+ixaC8kBBpApD+HVI2qDL rZrg== X-Gm-Message-State: AOJu0YwHVEbufWM8GbeZw7F3Hfy7Um2CulQgaumt+5wyfpZeVZ4D1jqj FGJ3MXJSRYmY7oN+EyPNyDVxcD9Kuj1T6w== X-Received: by 2002:a05:6512:398b:b0:50e:69e9:373e with SMTP id j11-20020a056512398b00b0050e69e9373emr2597112lfu.4.1704794983770; Tue, 09 Jan 2024 02:09:43 -0800 (PST) Received: from [172.30.205.119] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id u18-20020a196a12000000b0050e7e409500sm268070lfu.244.2024.01.09.02.09.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 02:09:43 -0800 (PST) Message-ID: <18dc5f88-6590-4e2d-948f-fd77f4713f8b@linaro.org> Date: Tue, 9 Jan 2024 11:09:42 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: Add PM6150L thermals Content-Language: en-US To: Luca Weiss , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240105-fp4-thermals-v1-0-f95875a536b7@fairphone.com> <20240105-fp4-thermals-v1-2-f95875a536b7@fairphone.com> From: Konrad Dybcio In-Reply-To: <20240105-fp4-thermals-v1-2-f95875a536b7@fairphone.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/5/24 15:54, Luca Weiss wrote: > Configure the thermals for the PA_THERM1, MSM_THERM, PA_THERM0, > RFC_CAM_THERM, CAM_FLASH_THERM and QUIET_THERM thermistors connected to > PM6150L. > > Due to hardware constraints we can only register 4 zones with > pm6150l_adc_tm, the other 2 we can register via generic-adc-thermal. Ugh.. so the ADC can support more inputs than the ADC_TM that was designed to ship alongside it can? And that's why the "generic-adc-thermal"-provided zones need to be polled? > > The trip points can really only be considered as placeholders, more > configuration with cooling etc. can be added later. > > Signed-off-by: Luca Weiss > --- [...] I've read the sentence above, but.. > + sdm-skin-thermal { > + polling-delay-passive = <1000>; > + polling-delay = <5000>; > + thermal-sensors = <&msm_therm_sensor>; > + > + trips { > + active-config0 { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "passive"; I don't fancy burnt fingers for dinner! Konrad