From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796057902; b=nfX+zIoWAAxAhiLDgkA3b0dWhUEjnjWWpD/tUNtiC35hunQV+viLNCWhZpasYPvqStBd truPke6g+mEMsuzLCruNAmNn4K6QtHCt/0Kh83Vh/Ts0dVg3yTZttCArejKOTjd3GjGlM nKFV0fJUtEN62OJKAyHKZTlNM6G5i/MPCr2HVhTnKqbt/70ZC0QD/lvIqUz/dP2vq9fYu qLa8kVTNjtrjwItserIfYQ7Md1j8Wv1utm21/2R8Zd5rG4jkRY536AkxPnwpWolhjjO1C ze4UitGFd/dykZLuMQORjpMnIXph7gO9IIPabaYojnvkaVf7gozA97U9l15lzWjrIrA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796057902; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-Spam-Info:X-Authority-Analysis: X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=zytauTnc7FkbfpQW0FS0G8Pkbn42/Tj8StUgcVvo7Jw=; b=xY6QSvXukQosMyrnKEP9D91PlHyxddFWgH4RSRZqnmLYgA163dbYabAis1NYq6WDlTsp jKLhARYZrnTSHrIbEOr2H5hBCuEiurobK4gibp4xV3GPXMrB3j5GBYF+Ix7jjPWh8pTlC Ara8SjeqC+9iIwolQJ8oZs5uedz30JEXkUG64v1mg7cJTr99tfu49Y6QiRsZ8po/Lu83U hwxv6V4ZqzSu6yXnZNC6d6qOHQxmbHAJG3RQb/zAWbwKJTws7iuHfvRjcHZEgWyM0mIvk onBroDH4CuNC97WGKmcpBN4Jw5Hy6tTy0Ngwd28Ip34qCtbU5dbN24/RqYU4U3QKeiw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b="Bt+qv/94"; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=ZC3qZ2e4; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A532C606A31C for ; Mon, 30 Nov 2026 16:58:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A532C606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=Bt+qv/94; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=ZC3qZ2e4 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUFkDdI2557348 for ; Mon, 30 Nov 2026 16:58:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= zytauTnc7FkbfpQW0FS0G8Pkbn42/Tj8StUgcVvo7Jw=; b=Bt+qv/94TMDHIh2e lCLkOMoXsSX6fz+UICVgqvlPkncbGowpVtCnu5RcXjH0PgkyRt9W4AVWUm4/l459 4Vm9o+LnmAOGeJ54QuB9FHWxHS1N5CQduJrffROFeoazzhmPgkbvRmx6MJ7YUgBF pGplQ+PC4IYQXXhobpgIJvgnsjTUEI17vdCVPFIhqFcykUPKvSJsMrxUdKeOkZfp XsqhoC8UJRRJRD3g4xP+MBXkbMRuUKuQNpDCZM1iY45/u62iXOulH73UbFbluV5O f97NQxQFiyKXkqYR20hLHimM4Ah/PIMQhtH/XywZfD+VRGdSYIZWcRa1+EvbhPxs D6yp5w== Received: from mail-dy1-f198.google.com (mail-dy1-f198.google.com [74.125.82.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j94wft98j-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 16:58:20 +0000 (GMT) Received: by mail-dy1-f198.google.com with SMTP id 5a478bee46e88-386a65fca25so10286175eec.0 for ; Mon, 30 Nov 2026 08:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796057900; x=1796662700; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=zytauTnc7FkbfpQW0FS0G8Pkbn42/Tj8StUgcVvo7Jw=; b=ZC3qZ2e442UrQpoKUaYjsRDWCH4d0n5bL/VVc8kOU0Ntn1hyaoZpgWkZeZYI1INZdC 5aM5ryiojjfyzcqNm7dEqWXzSNxeK3KUr1M2nsIKDJUMQMpqCwtKXbYt2i+IvwTJNq37 O8VD0vMmS9QspznvmImfUOp40FsHOLu4iChybZ9+5M8kYGmO/hE6mWF2QnS6VRY7dqrt vYFUdnd2PwTezdf7d4MI+mIJFxCbA+EgaM6PCswOpxY8DZ415Fv/oESBdWpFjQDQOzvl kfPRNnKjZub74bFeRjM6Iu/FgPyZ9hkRy9bQxthTzOWjWcuLs+SGJ82UVpaei9hQMswA S5uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796057900; x=1796662700; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=zytauTnc7FkbfpQW0FS0G8Pkbn42/Tj8StUgcVvo7Jw=; b=JmCOiJsoLtYy3zGqCXSCQ2FT3vjtqJhVudt/NPX5ATMTCp/Bt2epvXWaoYegkRpTyu uwnWq3mG8zwZbJSJAMokNFERjfj8N/2J9L4mj/pszD99/+CX8NEx7IUhGudQik8o0SPq yK6ZNteDDTJcKlyLAg/eUVSqQM8/u8G24yOH2Y3gES1nEBqlUO5JLmspeFJwkNAdHdLd hbstnc19jcPVGNzZb+6hfm8DshY39Twu344UvekEKebrsn0fA4ZMAxUMMaydRwPCW99c AyjbAq/DIVthXrEcncHEJcp9RMtEFwGvYHPWA0Orl8E7xhoo+LEwMTEWHCY4O14whnPG TT9Q== X-Forwarded-Encrypted: i=1; AL+hErEzYTZO5QOmONxEvBMEK3K9ZmmwdRsMVD+bnpOHZXC786gxcRdOvHFfr7uEoLmadlP6tvxZ/aHl4EydP80=@vger.kernel.org X-Gm-Message-State: APuU4Z+WNXJ5ynAhaFc2UXV2WAK1Hga4SUaLFmkufjHPmsll5lzOP+3T 6EzJx83qojrMV5qTR5CpFfen6chRKeqhzrBkEI5bFIwWT0OV8k8KRJE28H/V1rh+VvflFYpsLme wk2EVbU6hyMO8OPPFqV2O3PDu2TngN/iaxRlUfZCpxt5vq1iSS1LCerSNQAJWNCRLrdo= X-Gm-Gg: AZFdTZdZoS+YuEd/ZnHzRoXTZ3nmnRICkmOL0CsuRSmVtrmR3HScq+hccQAH9XdiVfv O5TSzctXKPCEvnwp7M6wN+2cYkPAsOOLUG3XG/o8EQvOFP7rd5Q3nJmKWAAP7+3Ae6DIE5jmGcV Litj+nafQObMU5QwItD9iQXoKWMAMJPFujmGm8mmIK3kxV55HjpuJaHvEVqO4bdmunkW9r+6CPx sKySY+Vz08DHR3TQNbJ0fMoLGwp0WaKrYdqRRgsFLuZg2BChv9BSPl8lllM3CEoWT/eXFWFDHjd q+N1dFCNB7LWiVh7fH8S7HCBzEqGXNxiWXcgYR2zikDN0v0TTECzSNqaWVfj+tYoSxgI1BzDcw1 0uDPY2t6A5EwFXrt/hOPufolxHmGVkw2x+M5W2sHWOFqdT0UxSenViCR7s95BkPGXU3YuUx5LDC aZC+w= X-Received: by 2002:a05:693c:8947:20b0:386:9ef2:8e01 with SMTP id 5a478bee46e88-3869ef28fe2mr25319656eec.0.1796057899993; Mon, 30 Nov 2026 08:58:19 -0800 (PST) X-Received: by 2002:a05:693c:8947:20b0:386:9ef2:8e01 with SMTP id 5a478bee46e88-3869ef28fe2mr25319622eec.0.1796057899240; Mon, 30 Nov 2026 08:58:19 -0800 (PST) Received: from [192.168.1.9] ([106.222.229.100]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3866f299d0bsm88597121eec.19.2026.11.30.08.58.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Nov 2026 08:58:18 -0800 (PST) Message-ID: Date: Mon, 30 Nov 2026 22:28:09 +0530 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/6] dt-bindings: thermal: thermal-zones: add hardware-binning trip properties To: Daniel Lezcano , Rob Herring Cc: "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Shuah Khan , Randy Dunlap , Amit Kucheria , Thara Gopinath , Bjorn Andersson , Konrad Dybcio , Abel Vesa , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, Amit Kucheria References: <20261113-thermal_bin-v3-0-878df6eef8bc@oss.qualcomm.com> <20261113-thermal_bin-v3-1-878df6eef8bc@oss.qualcomm.com> <20261118205056.GA839455-robh@kernel.org> <8d6f9b42-a7cb-4403-9718-e7752324b048@oss.qualcomm.com> Content-Language: en-US From: Gaurav Kohli In-Reply-To: <8d6f9b42-a7cb-4403-9718-e7752324b048@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA2NyBTYWx0ZWRfXyxb2ak6rUpYO GRpO3xmwtHyCmPWXWNpuklME4ghqcNU3HT8OJ4/wP5X+xWwjg4Mck5X3qz9uy74kvyvz11F9nlP 9yHvc5hUAe1epXy21Q3uUvxlqZJ+DEA= X-Authority-Analysis: v=2.4 cv=BZ1NQbt2 c=1 sm=1 tr=0 ts=6b0dab2c cx=c_pps a=wEP8DlPgTf/vqF+yE6f9lg==:117 a=3wEmEGQDlUa/GQSy6TfBNg==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=BMCTAA__F29u2XsngHwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=bBxd6f-gb0O0v-kibOvt:22 X-Proofpoint-ORIG-GUID: 4p7NC6Od7b19cthnj-qr_tDC3_gWyYgc X-Proofpoint-GUID: 4p7NC6Od7b19cthnj-qr_tDC3_gWyYgc X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA2NyBTYWx0ZWRfX84Mn1S3TiVuM egNJexoX+3YBC5ORPT9Ma2GMMyk/oIRa6ABmTaJe53vyO9Xq0Uw6wlv993y5UIm85c9wg9Y5UXd Rb9BMvL/e5kYmKE3JFVmON39ARHAbY4nyjPrpgNupHw4TVVzT2yVa+ay1u+jZl98fXf7gXEQwoc JyXZkZczfmcc5/MG84hBnKIrdEW3CObsG98R2mGrCkBKE5AwpRryDG75AtVKU5aAoURmoi4IE7W WYbxHW594IfWk9zwcXk9SStKDbxE99HGRbyUDNPM/rZ5Wb43TFfoZSOanx4vslQYy6LrAEW7AHm qlgSEqwDVIdg6pn2rj2+DuEkBRcfRYIQhmMeZNkcxqLeH2hMsgOCx5ZHX5mqIaIV95OrhzkVnWL aUi/JlyuR80wNjPaOYca/YERjE5FFsEpHbX2Ri8LxXN/mfgltxAIOn/3tR4XXXdmCOJtuEFSRFx YWdG3pBU07QdtYD8S4w== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-30_04,2026-11-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 impostorscore=0 clxscore=1015 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611300067 On 11/27/2026 2:55 PM, Daniel Lezcano wrote: > On 11/20/26 07:47, Gaurav Kohli wrote: >> >> >> On 11/19/2026 2:20 AM, Rob Herring wrote: >>> On Fri, Nov 13, 2026 at 02:13:44PM +0530, Gaurav Kohli wrote: >>>> From: Amit Kucheria >>>> >>>> Differences in SoC packaging can be used to provide multiple SoC >>>> SKUs at >>>> different thermal and performance characteristics. The underlying SoC >>>> remains the same except for how much heat the packaging can dissipate, >>>> thereby influencing the critical trip point at which an SoC SKU >>>> needs to >>>> be throttled. This SKU-specific data is typically burned into fuses >>>> during manufacturing and can be read back at runtime. >>>> >>>> Add two optional trip-point properties to describe this: >>>> >>>>    - 'temperature-bin': an array of per-bin trip temperatures, used >>>>      instead of 'temperature' when the trip depends on the hardware >>>>      revision encoded in fuses. >>>> >>>>    - 'thermal-hw-bin': one or more bitmask groups describing the >>>> hardware >>>>      revisions for which a trip point is valid, modeled on the >>>>      'opp-supported-hw' property of the OPP framework. >>>> >>>> Signed-off-by: Amit Kucheria >>>> Signed-off-by: Gaurav Kohli >>>> --- >>>>   .../devicetree/bindings/thermal/thermal-zones.yaml | 60 ++++++++++ >>>> + ++++++++++- >>>>   1 file changed, 59 insertions(+), 1 deletion(-) >>>> >>>> diff --git a/Documentation/devicetree/bindings/thermal/thermal- >>>> zones.yaml b/Documentation/devicetree/bindings/thermal/thermal- >>>> zones.yaml >>>> index 999ad40a20d5..cb9a8c96d053 100644 >>>> --- a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml >>>> +++ b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml >>>> @@ -152,6 +152,58 @@ patternProperties: >>>>                   situation where the trip gets constantly triggered >>>> soon after >>>>                   cooling action is removed. >>>> +            temperature-bin: >>> >>> Use the standard unit suffix. >> >> Sorry, my previous reply was sent only to linux-arm-msm by mistake. >> Resending to the full list. >> >> Thanks Rob for the review. >> >> Would temperature-bin-millicelsius work for the unit-suffixed name? > > +1 that's the suffix used in the other documentations > thanks for the reply, will send v4 with this. >> I’ll also add minItems: 2 and maxItems: 32 in the next revision. >> >>> >>>> +              $ref: /schemas/types.yaml#/definitions/int32-array >>>> +              items: >>>> +                minimum: -273000 >>>> +                maximum: 200000 >>> >>> minItems: 2 >>> maxItems: 32 ? >> >