Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1265360rdg; Fri, 13 Oct 2023 16:11:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0cshG0AOU2pJJTOgXq6hJ64b7/KDvImZHa2vO0zXq7XCg5iEsr3bbwin1dMAjAVTjg/Js X-Received: by 2002:a05:6358:94a0:b0:141:162:b0cd with SMTP id i32-20020a05635894a000b001410162b0cdmr32468982rwb.19.1697238710775; Fri, 13 Oct 2023 16:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697238710; cv=none; d=google.com; s=arc-20160816; b=xn1v6UZN4ei4Q8/+kxW4OsMyEOTk8iFL+CPRbCndHcXAhtll/lbc7kVR1yFds9B+b/ WOfnVu+zcn5j7PQ/PhPJI29eCqMybMwoeHSD+rJ+MF4nM1fBsyyLfboS7ditEP/UhO9G M8d+0mFbD0cuh/v2zzMUEq29Y5/cN6mNKL+FBaAkncfHfxQXVNt9KRcHAcKP2woqn8iD w33thJLshrG6xkZKlQ2157wEpGy1QxU39ijwi86NishbcTwRI9aT82Fuis9oPgWmr6gh gi5iscJxCLrUJFlwDqKa3R3BEg28eNX7kgCzZ6Zl2gU64Bk5pIkOvU8Skq+vaG09Cffe A6QA== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=EWU/+WqAgXcxNYFK/JJOEWv3zLwoSSnl+KX8FO0LsS4=; fh=Z45JHSH+kB3qnvuJE73jnaIekLVMuZD6ZmqXs8coEWw=; b=uk/6IvDZdHluUR/54njEY+T9PxNdkD4OhPkO6LDWp72YcJ5wcYtVr1GmbKijP3PGIK VTNvpF86anPpq0f12tuXljJNqsVHmqQldUiCXQ+BhH3nU9cauKrO1AQ7g8TlmLsV3he0 iMoQZEYSzV/ZuGVVnXNE2B0+vBMM3j7ZbIFrX2vkUpa2yCbq7LTrxg9uHoK/kUyh/IPz 3kF8CzCIw1ILMaBaDVZfFi4/mXFQBv7kjQkn5PevbqZTfcPeGj3w8h8MUditOhAIQcDs +IuFXUV1HHUnimchXDvnVFFXulwJNd3zzIHxdB7RIgHGRUYiAt4x0xT9KNmINb+D6WTP 4otg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="K/7eJcmT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q18-20020a632a12000000b005a9b2800a0bsi3036246pgq.344.2023.10.13.16.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 16:11:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="K/7eJcmT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3D1E8834528F; Fri, 13 Oct 2023 16:11:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232021AbjJMXLd (ORCPT + 99 others); Fri, 13 Oct 2023 19:11:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjJMXLb (ORCPT ); Fri, 13 Oct 2023 19:11:31 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7406BF for ; Fri, 13 Oct 2023 16:11:29 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2c50ec238aeso6785041fa.0 for ; Fri, 13 Oct 2023 16:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697238688; x=1697843488; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EWU/+WqAgXcxNYFK/JJOEWv3zLwoSSnl+KX8FO0LsS4=; b=K/7eJcmTxUpFkXHXjohV5k+hqlyYSBv94aUq3CmhBGXtTrI8GD7gd1StiXIg9dAlcw cUR3FtMOSW9THf5QSpVtW5xuK1DSyJZFPHGaM2hFP3nBqp76IeQIOK5ZFG0nmOugLZ7v rlVafYMfJzJ0eA81gppPJ6JqrACZ+nllX/vTJWnxKd5yRzXnKlBERzFU4DZGIx/UTPMi +BXfFEpFfWKzLJkau7Kr1DOxveMFF053zwX0gPvRn7eEA1tdV0Gu+Nf18Xm9RKcc0kW1 PRcCcRWjnf5+95OTrdz9j7AmGFHz0jM4MBc8ojes0HMRJtiIL/1BJlEBp6xLp8xYoT6D bH0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697238688; x=1697843488; h=content-transfer-encoding:in-reply-to:autocrypt: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=EWU/+WqAgXcxNYFK/JJOEWv3zLwoSSnl+KX8FO0LsS4=; b=DTPgU7pqt92Ii0l1ODv8P84fGkpBq+dI/nbY/zAnFiwyT2rLJLUN/xdgzzZE/IuTXR UQZt2KH/WywVl739Gk2Zlt8VTfYEO+dOU3nDQId7W3psjs/km7Ihg8epJ1+cZf3kgaJ+ Mjg4V5qyFiX9HU6NAGySqD5F102m6O4taCcZyZS6edQDro/P5Fg3lq6oJEVhuqUihsbo cIxSZJqzb1pMnnbFylCX17NVlzU64nKt6KczaOLBXlBEet6BWrsFlrzowl+BcLRiBBAD qfZl1wUTLBV/HEmmvMPC/T2D5W+8Ggg4Wc57CfLYY96RfLZbBJXndm8X4BaItHNZixpH +Q2g== X-Gm-Message-State: AOJu0YwXOHXj4pG92rl2+zmuxGCVEMIXdixvRe8X0ygX2Tayp0uUGvm1 OXSqO6YxQExqhTmTXwSMQ/8TE4/ybrNf0jl/uAw= X-Received: by 2002:a2e:7010:0:b0:2c1:2211:97d1 with SMTP id l16-20020a2e7010000000b002c1221197d1mr21619139ljc.50.1697238688141; Fri, 13 Oct 2023 16:11:28 -0700 (PDT) Received: from [192.168.4.141] (178235177169.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.169]) by smtp.gmail.com with ESMTPSA id s6-20020a2e81c6000000b002bffb3f8cebsm86473ljg.54.2023.10.13.16.11.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Oct 2023 16:11:27 -0700 (PDT) Message-ID: <84c7bc95-0252-4a5b-9591-6c6d5e3bdb1e@linaro.org> Date: Sat, 14 Oct 2023 01:11:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] arm64: dts: qcom: qcm6490-fairphone-fp5: Add PM7250B thermals Content-Language: en-US To: Luca Weiss , Andy Gross , Bjorn Andersson , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org References: <20231013-fp5-thermals-v1-0-f14df01922e6@fairphone.com> <20231013-fp5-thermals-v1-2-f14df01922e6@fairphone.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJ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Hp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231013-fp5-thermals-v1-2-f14df01922e6@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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 13 Oct 2023 16:11:36 -0700 (PDT) On 13.10.2023 10:09, Luca Weiss wrote: > Configure the thermals for the CHARGER_SKIN_THERM and USB_CONN_THERM > thermistors connected to PM7250B. > > Signed-off-by: Luca Weiss > --- > arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 66 ++++++++++++++++++++++ > 1 file changed, 66 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > index 2de0b8c26c35..7fe19b556e6a 100644 > --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > @@ -134,6 +134,36 @@ afvdd_2p8: regulator-afvdd-2p8 { > enable-active-high; > vin-supply = <&vreg_bob>; > }; > + > + thermal-zones { > + chg-skin-thermal { skin > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&pm7250b_adc_tm 0>; > + > + trips { > + active-config0 { > + temperature = <125000>; 125 hmm.. Konrad