From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC45F2FFDCC for ; Thu, 25 Jun 2026 13:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782393623; cv=none; b=YAn3gV3UDayyOi6v4zEy3H5RGzxmJVbhr4v9MX+XZ4zf1F3+rLzatSJNWIbjUwhS+f9NdpmYkejxwg+RAh7CB12CL6b4a4uv9aIELToQDJT9ckRavOySDU3d8GLj87anbm7Mqzrqrs1BkDSnKuZrZyQfypuHmB+Iga+rEQGP9ek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782393623; c=relaxed/simple; bh=hVd/9vBlCbyUh6zt9JM7gQXmP2qyxhw6kvFctofIbA8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YYk7aTmTgzxu2+GDwfjvUd+EXAVyMtF1AzwDk2xDMapFjWODLjjzkQGoHV2+ZIrfyJQTLQS4tFFqeZ3Zl/JD6y3pT1zZYdisePthMNpuEW+GS3rwtrgr1SLC6V7AO6Al/hCQ4GQNZa+e3Rzgr+ZZhyfKzHwRClg5s4mAMahZdPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=bKLgbtVx; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=atcpNZN+; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="bKLgbtVx"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="atcpNZN+" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65P9jw9m1371466 for ; Thu, 25 Jun 2026 13:20:20 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= GjQjuigvKFd+Z+gtUv1havxbgca7I7GsAQ/BjMMTbQk=; b=bKLgbtVx0zgQeLSv RG1K0NCDSfXhwbVrQCu7661cFTEtJXNLKoLoiURkPowe/nqyPIwyo00TJRxo51s8 HHQ2uiLRacNOz/oBMAzEh2/6tII4Vc5P2n8D3ySTeQrSpD1PXG6aJVQsZqSbDwuZ zL2Ufs/1h5DdLyiCCpQXALBFA7Rb+RfsDYq9QrHLVmSDKuN1gk6rGa6/tScSbuWg +oiY3ycPk2u2i8bHvNfUGdAa0BEkwfz8pl/Z42rg58DoXDmisvjPf4F3bfPv1hy3 EtN771a5eopr8Bsi3rVECixyuDK2Bx1x9UzrhsEOLiFEPaH9dZ+MrZtC4SQ+DxXs v9midA== Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f0ymv1bpy-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 25 Jun 2026 13:20:20 +0000 (GMT) Received: by mail-vs1-f71.google.com with SMTP id ada2fe7eead31-72745cb2c3dso2015014137.0 for ; Thu, 25 Jun 2026 06:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782393619; x=1782998419; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=GjQjuigvKFd+Z+gtUv1havxbgca7I7GsAQ/BjMMTbQk=; b=atcpNZN+8lkAjt0PwmUuwTWJPnUEvnXZnOUbuPt2k4hV7h4B7iFeI+Hp10efe4cNpB b2aOcSwfIvprWhrFhRuGcFHVrME12y0xgXn2YsnxlwX8bQA34xBT5iwZsMa7oUAcJsy8 /jUoWv0m210v+tHSuAJQjMjXfeJfoVXhLsjO+GzlP1HP9RWJ88gUROKCmVgZJNhkyIzD Kfs52xGjcU803NuVZuARZ94vonSisJSwN41LF9m+ww/go59/xc4mFQx0JnKde/6FVGFf /ACJ/L/FZDmRfppL6ZdwrSbwMdh5o275ulw8Tg4kgMShFS7Vt5G34HPgCN48CKzwJJ1D wm6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782393619; x=1782998419; h=content-transfer-encoding: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; bh=GjQjuigvKFd+Z+gtUv1havxbgca7I7GsAQ/BjMMTbQk=; b=d5QF6VfeBjoKDSdjKeWGz0MqHZdWdKTtlnBx+HkvOxrDrlwEBhsTnssOtEv6mr8n// z+0mmhIqAa0vZeJM6X7y7F6SUf9XiKLRZmgEY+qTA8MJdq5ZmgXIGUhohkT0OLrXpVZv /si8b669VY4iQGouOVJb8u4hpJgwnekm7WqbvEZenP+ZIzgV+H7rCaIwG/O2+PivHLGB tsbpvM4BtvpxrMIEFFNuq/o1JesMTTBRf/2VLFJhmxHUT4UwWZXCKIJolz+9BfeNsbzq sz2sTN/j33yI9TXl4ALY+bnc1erzcjdrnshm9VXTWMPj8HfMMOeTty/KLSbJUW5DxlxH GUfA== X-Forwarded-Encrypted: i=1; AHgh+RqGWTV5rk4WAkQ8Xc5+gXgJK3ylXGCtwLcaW6FP84AMPCTNZnOFp21+ZX4EH7otHtEUSmhMNAfIVJTc2A==@vger.kernel.org X-Gm-Message-State: AOJu0Ywa1tBc4MYsjZ56+G0zOVAFaQGRDGzwSnpOfbet6Kn3E/hlXCxS SnRp4SY/Kk2rH8k5aB8X9hQxiP/TVcNqNYVavHL2mCqObGBXvjYV9X8AMas7PPJ4OoX13NOlR10 6OunWlMVKdCSFmlhUBz+HBNfcp0Yu373ZEUCt+/DKN4PhGxRtrjYdQUpbdCIO0dtsIA== X-Gm-Gg: AfdE7cn+o/l2M7mlfjhPGY9PMWbchkEGQon7F/fOqsdeypeKnVhqDVUVtrVd7xNeAdg J0wysjxJ2TA7C2KYq5WHVYzq2WKprD8OFJnDuIhraUz9B3HQqF5Cprdg5ObMUxc8InHkskHgSsf gK3qT6r22ldFPYm12nEDS09kF9SoXbt/dBi3gBqlRWXTBTit9ehw6ZEs4R7pg3iLfA4I9LvGYrf /xSmWZzHxBJDe8BJVM4W5hjBe75cAJRlW4rAzwB6UPhZ3ttgcNS5GwFSKILD4GIF7EXYGcRCOlr 7aGOFave2QG9MiKclbSFlEdoKE5ZE8Vj6Sbz9f42bTX+YQzd+qYPQaHZHDv0kM9YJa2DQURqtnl 2o/HzYZFPN6+hNNvtyuaB4mr1p2aAjoJoUv+QAIodGgxLPYnP7ELFpkAMoHdmD3NuSQbULP8= X-Received: by 2002:a05:6102:80aa:b0:650:94b2:b209 with SMTP id ada2fe7eead31-73433e36b9amr1057823137.4.1782393619063; Thu, 25 Jun 2026 06:20:19 -0700 (PDT) X-Received: by 2002:a05:6102:80aa:b0:650:94b2:b209 with SMTP id ada2fe7eead31-73433e36b9amr1057791137.4.1782393618631; Thu, 25 Jun 2026 06:20:18 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:fce5:aedd:3ea4:36f? ([2a05:6e02:1041:c10:fce5:aedd:3ea4:36f]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-46c221d93cdsm19126758f8f.18.2026.06.25.06.20.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jun 2026 06:20:17 -0700 (PDT) Message-ID: <638eebb6-c03e-4071-8aad-a5da30ddfe3d@oss.qualcomm.com> Date: Thu, 25 Jun 2026 15:20:15 +0200 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 3/3] arm64: dts: qcom: x1e78100-t14s: Add thermal zones for keyboard skin and charging sensors To: Konrad Dybcio , sre@kernel.org, hansg@kernel.org, ilpo.jarvinen@linux.intel.com, linux@roeck-us.net, andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: bryan.odonoghue@linaro.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org References: <20260624210825.264454-1-daniel.lezcano@oss.qualcomm.com> <20260624210825.264454-4-daniel.lezcano@oss.qualcomm.com> Content-Language: en-US From: Daniel Lezcano In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=DqBmPm/+ c=1 sm=1 tr=0 ts=6a3d2b14 cx=c_pps a=P2rfLEam3zuxRRdjJWA2cw==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=jUCef7gqdSedP1EdzSYA:9 a=QEXdDO2ut3YA:10 a=ODZdjJIeia2B_SHc_B0f:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjI1MDExNCBTYWx0ZWRfX+zj0lELIfeGA nvk7/+5w9QBKrpf2ZVzOSKr/X3MEWa7AIUAdbdQHwJnlET6BKw5ORdrDz5L9Mhsrlk6L1bG6z2A lvYIZH/MLGdH2yHT2zXCs8mlh6P8OKk= X-Proofpoint-ORIG-GUID: 74djsc1jkkmhwL6kT9yhIRB9r6oXVwyP X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjI1MDExNCBTYWx0ZWRfX4qeaBJI2kFSx F9nUNcbzwuz96S7VAXksm+nhktT2XjC3n76gi64OB7opYKYRQMOTHMxMM32Vc+jO8iCvx6jvZTt 3k2J/T/a/vPjmhIufEgm23YtW7u4t6OZm8VftCGjxxaqhqyNAKTcaMzS3pR16rOp0j4rly8EZut 4yTWX9yo9hfpmgbWwvSumLkruKrhsk7NNqTKzE+OVptLrJ+ljON9ArU/wApB+sU6WsszDXVof1r L6Q7ydjgRjvxUYExGdL8H5bZI0rSFTyhe/Y1nwuGeSry3EvT3E85UJgAP8DczetV1yiotxtP575 EeofO/RY+ulmBaqli95jGJjpmKfcNBOq7HSx8tFYyYC7MyIPPJ1z6/UaTTJ06DSQI10NlhEs9cS H1UjqYEEGrUn52q+enPrZB99TUrcHWRrTeun33+qGSmPJvaCXDXHxiKqZGAkhscuNhvbQ5/34pR uDcQWpafmalr83beKkg== X-Proofpoint-GUID: 74djsc1jkkmhwL6kT9yhIRB9r6oXVwyP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-25_01,2026-06-24_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 malwarescore=0 suspectscore=0 bulkscore=0 adultscore=0 spamscore=0 impostorscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606250114 On 6/25/26 13:36, Konrad Dybcio wrote: > On 6/24/26 11:08 PM, Daniel Lezcano wrote: >> Add thermal zone descriptions for the keyboard skin temperature and >> battery charging circuitry sensors exposed by the embedded controller. >> >> Expose the EC as a thermal sensor provider and define two thermal zones >> using the temperatures reported by the EC: >> >> - a keyboard skin temperature zone with passive and hot trip points, >> - a charging circuitry temperature zone with multiple passive trip >> points and CPU frequency mitigation levels. >> >> The charging thermal zone progressively throttles the different CPU >> clusters as the charging circuitry temperature rises and triggers a hot >> condition at the highest trip point. >> >> This provides thermal framework integration for the EC temperature >> sensors and enables platform thermal management through standard thermal >> zone definitions. >> >> Signed-off-by: Daniel Lezcano >> --- > > [...] > >> + ec-charging-thermal { >> + polling-delay = <5000>; >> + polling-delay-passive = <2000>; >> + >> + thermal-sensors = <&ec 3>; >> + >> + trips { >> + psv0: trip-point0 { > > "ec_charging_tripN", please - these labels are file-wide, so it's > better if they're not overly short > >> + temperature = <55000>; >> + hysteresis = <0>; >> + type = "passive"; >> + }; >> + >> + alert0: trip-point1 { >> + temperature = <63000>; >> + hysteresis = <0>; >> + type = "hot"; >> + }; >> + }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&psv0>; >> + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu8 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu9 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&cpu11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + >> + }; > > Stray \n above, might also possibly want to throttle the GPU. At this point, I don't think GPU throttling is needed