From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 F131931F98C for ; Thu, 25 Jun 2026 13:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782393622; cv=none; b=OrANVbNwiXjRxbP/eZlv8VhFd++jZnOnIdVOZHsLZ/2b4HqtzV1kuKx5GpEpQVsAvdpwNLFtOc5ZSrpHSvJqjxh91hMpiT31F61neQA5vJyqElSEcRnt3R9d1QeAoZmO2Pwr656mO45dfUyHu4jaD5CSqNnmyJMIOQvixPL8Uek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782393622; c=relaxed/simple; bh=hVd/9vBlCbyUh6zt9JM7gQXmP2qyxhw6kvFctofIbA8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rCYn1CSFfnGhptguelfk39x3+fgrLOi1Dp/0kcFc48/DwoXUw4j6aY3kCur44lloMv47aGukRvvpUG9oUpUdW2BRvNkC8r/8AQQsbLmJcH6Tf9SBRh6oSkHPHlVbmikjIu1GOaJZpQ5kJa3HKGGaMfHXijnQlw62StmBM6uQ4wU= 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.180.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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65P9jurO1723164 for ; Thu, 25 Jun 2026 13:20:19 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-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f0j7dvebh-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 25 Jun 2026 13:20:19 +0000 (GMT) Received: by mail-vs1-f70.google.com with SMTP id ada2fe7eead31-7346c850ec0so514360137.3 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=i5g2a08y3cHK7rHTcWj250KM8us6nZYzQJew30qjBX9HjK/uBvklrT60umJIHeibIZ FjxVLaqfvtSGgBwEKRYX2M7q9xgnSL3cEx97mjyFKjhDDDrrB299Hh6LdsxV4UWog8fD mytvZsre0zgm3i31LxJk1iWiZShrzasIaygUno8cmZjkykH6YXJ8kB8IbSj7cLI+WIld GU+yN4/VvYm2AxPaNUT/yjg3a1beU7VAj/YP5or44VXU38b0XfUdzwnyfNcxS9GfDURr cvUHpZLQLakVrfeviTplS0/3q4S8gYii6nQ+4oSiQ8+jqjgebpQfd+IWFHT/Q1X2NSxj JcDQ== X-Forwarded-Encrypted: i=1; AHgh+RrHEtj/J3buqKC+LIImgHv5+gUzW+gv3pYDbjLPZdoSnn/O9BqIu8z9mKDqSDzl1G3HjeaJAz4C3sLMdhE=@vger.kernel.org X-Gm-Message-State: AOJu0YzVEkPu27fbxvtfVzwfw0TPg2DyFX65/dGl+EDVQu8g3qRXqQG5 jLOHxI6P2CnZLH8C1LsCWCuDENWoDczE01CEbH4DebQ/Mz2Of3UbH65NoRcS+vxRnYhcwF47nOX TNzRQLZID+Fp2rSHQZSrFT0jYEwJBp6rSFXKR4MnmEmpXySvaQVdsdIooOzbL2zf+mxQ= X-Gm-Gg: AfdE7cmpN3Bu/wjLIVIVOScVU3h/Dx8ClAfO0n4Mq2hP7Wa0vHkImzBHs7yrr4F/3lg s8RbNhJ9x+gCnsXY5UDsmuj8zzqsLFiZktyNKy02S2p76RXmQGPSf9kMJVjfcCpJulfhDxTBoXA VP76HsrNzT+39tzlLcUaeVnVfFXJXpWOotwjiw1VbuWTN4ciMUNEewO5MbMIeYG15cUgm2vL795 Jgwc4NqOvqNTbpt/MwlsgmeYP3YnoFw4YmOBsBeL9GZ0xmETIH9ue2fQeSAcoKgP8Tf5vfEb+bi o7YcINEDeGp7wU6ZBY/MWPqjmLypqa7QkGGtE8l0KEDPOwkpA3j1XEa8MzggisXnKh2QLyIZXoe tcVCmSri0KGbqZ2Pe0mz1LHabJ3dbF0BCwGOmkMUCTfhO/VgmBjaAI2FKHKEQsZpFKZIcu7M= X-Received: by 2002:a05:6102:80aa:b0:650:94b2:b209 with SMTP id ada2fe7eead31-73433e36b9amr1057837137.4.1782393619133; 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-kernel@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-Proofpoint-GUID: WFuMWFvSG4XZMbitcv5b8vvPGRQfClTj X-Authority-Analysis: v=2.4 cv=NvHhtcdJ c=1 sm=1 tr=0 ts=6a3d2b13 cx=c_pps a=N1BjEkVkxJi3uNfLdpvX3g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=jUCef7gqdSedP1EdzSYA:9 a=QEXdDO2ut3YA:10 a=crWF4MFLhNY0qMRaF8an:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjI1MDExNCBTYWx0ZWRfX2sZsPDCuJz5j PI5NUjj9FURrFHBvOMMb/dHADSco7P7k3Vl1JisFvbxqpvmlb45CKsPKuRSrbhy+m7tMIGnWqPu BlEAjsEOzu7bbP0bNukiY/PyGqPombQ= X-Proofpoint-ORIG-GUID: WFuMWFvSG4XZMbitcv5b8vvPGRQfClTj X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjI1MDExNCBTYWx0ZWRfXzvKaQHMCrmQ1 qklBulCI5WrRDEIUsmtoGWaKEO5NT2bnZY6ssc5M+hZ2RcXaQf5DT4t54qw72vB2++hOj7r7NQ1 Gr3fKulTNJ7AfRnibLAjAM5ibRbIOGC5KR2rz3+nuOwkR7UCDAsk3/6NSJsiI653dvQKsNv7gtP LexGKHFMj8S2oCbF7ttAMfb79vp0mjJ4OG9SVcwaq87lRuvtX4fZXW6iyrWenhdxgyeCNm1U9xc QHKKadRNlANf2Q/TMDMbcDoP2rYhiBMS3xIXZ4NYmE/kJ4ZlCx/PRUh6A8x47PYyqV36puW4j4V +aT9x1skP3o34nGN1ChmVdQLSc1oT153aUgUKifzhyzd+iFiDvJh6K6W8h3NByJxE0MfjBsfFbK o23IZyxFKm9LD/vdJcob/UsTeGld9PJjhrqZacB1SEeAoImzcu1Xcc14+NhA1yyZsCOAZTX0ClL D8zcjjmW+pIjb/8I1iw== 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 priorityscore=1501 suspectscore=0 adultscore=0 impostorscore=0 phishscore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=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