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 6B1953D8107 for ; Thu, 25 Jun 2026 11:36:49 +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=1782387411; cv=none; b=qTRbF+B+TcatwTv0PYy6lD4RUO6sTE1AXu7ChGZPhtWba0zznzE5GUqoUxXk7cDybBXIhGjKf5YjXs+xFv2Vx+QpuvScbNGkiOQTlkVusq34VYi3zbMLqSVjqwSOKcyLqAOi2pGLZ+8Kt7hzFcwateEYcyNmdxbiyukm6VjlUq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782387411; c=relaxed/simple; bh=EKoghlk8RH2zNWov+Ldx9Bakuy2XIl3xFyMtc1/ag+4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ft4clnt3FowIBFF8IbJ52H3uGwBSdRbojn/hIfLrOu5CsY7ygZLMk2jipEphb3S76tzm07wrG+YVf20GgP1RTVUdGuPpZ6MSYkXSd9bWxABtCfHRPtv3S6Rkv711hgWVP/DeA0Y6tqyAaIaJNlEChANbkE1r4Y1YpRv4zO58Euc= 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=X2gd777n; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=WtpATyup; 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="X2gd777n"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="WtpATyup" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65P9juId1470481 for ; Thu, 25 Jun 2026 11:36:48 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= WVY/1XuYxAJzExKXdHQeGSKvfHtqz93hoztP85UA33I=; b=X2gd777n8egnysoz xelcUMjWxePk5DhDwNcAZk/WsoU7MGigh7XE76wS3sA9ohFY5KTFd6MACOV/mrny iv7u9KBsa2bl1NI/oLOhoOw0Vqp//8tlizfWLCidjcD14MhY5xG+WZcmKx37CzkO yqFt84dhhTY2Wt7JHNOf7VvG+9GU9DjKVGD4GZxDMKQct5Vd7NbGusMzUGY1gqNK 2XeEXfcDqf17zhnIb6E4Lf3rcGnOy/cLftKGXq80H/iKbMiukCDyW1KJHFyjm+XC bSIY+sJW7htd6od9SreojJ8QKtHRj7iGCyEMsNSIWERiv+QyjhyA4Zn7bYt0+pwL +UppEw== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f0nv7k3qs-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 25 Jun 2026 11:36:48 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-51a07295d67so5955701cf.2 for ; Thu, 25 Jun 2026 04:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782387408; x=1782992208; 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=WVY/1XuYxAJzExKXdHQeGSKvfHtqz93hoztP85UA33I=; b=WtpATyupeDwKW4nuq5eBTjOvmO5zFM96eME5bohugOJxnHJHYnNf2dign71pS47Lx/ NiXU2zPcBwY2cRBh92cn3d1jXTxp/hQCwPaf0+9H2+eLRs0nVqt/a5dEDp5rp6J08c8K ea+LGb+B8o3bitp2xJbai08dFPsYN5pADQMpJPUPyrnq0cliYcSoYAnu2ymTYohT9+UM uaAT4xpyKaojUxLeVAQo5kZOs5jPVoy4Grj2kweVQihcTfdOfhtqz+4YNzGKGVuv0wUN D8GTDhZmqZMFtjdLaHIywAazfBVzF0nhkFk/tK/ORJaOg5+MNuXmS4C6m6Kx/VYgh8gG Pl/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782387408; x=1782992208; 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=WVY/1XuYxAJzExKXdHQeGSKvfHtqz93hoztP85UA33I=; b=IXXY7NldS9kw2zWb8FeRM6IuoPbIWsbUbceSlx3tcgMjLz9Ogf+yCUp8NVVFGI3GGe V0RcUov/BZE0frZvk+sM9e8YaQ+R+YB8EvUs63+d97baRG7Q51LuO85Iw+WUkegq6nKI +jwIBzfUFSlb4UiDbs+jD1lde5nj0kMfGAn4FOwEqp29Aw7Vq8Ppg6DyI8NbiOYaPNG2 vpXJhVO4Vz17AQRXOxh4XIyUnV99LKK9DWHAVF6UcqvLZQ3xUeIAojWj6v9JvSkIAkQT uAQg2okwU33nbHMJV4ZVZOJ1AnCO04f2XToWdanwhLceaSgDJYL1QL+VgZsj6fe8yHA1 fRUg== X-Forwarded-Encrypted: i=1; AFNElJ8qB6fG/FK+raSxQdia3K4vkCjHtJgqZ6/6E108ccpzuQVzDKPQaG//Qj0gIaa89G+9xWK5fsnd9DnX3+o=@vger.kernel.org X-Gm-Message-State: AOJu0YyZtwD9o50zln5+IJ/xO1Cho5zLh1oQd8+DCDf3vPjJ2WzWY1UA oeytSUAWH7VrXIwzeaMmwGjLXRkdBkiwg3pyp//UZ8EqonbiYuMO8R9+5nYIi3vl+Op8NiSajwi 4vWn5BfzTTXxHsqavNpjq013XH1S3sgs3PhRoNX3oc88+UT6BdhmwiSLmqBV4G4wR69/ZXxs7P/ 8= X-Gm-Gg: AfdE7cnYcYVpP0syip4Y7irdRhg+EfNOjZgpsuQ53GtvPGdrnPgskn+W6h83IovRqvS ZMHKm4oC2FIgFFDq6XyJhmP+8JlTn4HD1g0+srzoF3Y/dLwHWK9hWMNRZtgTAbwfn7qFkmVr7Ot lIt4MhsBrvb2N5WTruEzkcfg+qDc3U+Z8qMOudXVEkEoxyzxsMmdWfQ7GLLh/7/hgvgF6aFlGL9 q3Or6Z6ZhSVU5Fo0vm44L8PzZRcGNZnLfjXU6jK2l2l339iJb6WWWBKfFnQ9/9fv5zXchOUEKI0 x+rFxGO8PoleRSxzsmqbSKg/Lfw95VGE6uJ2bHmPH0awI6PaFsbuoqC7MFCraRQFlLxY2diqG5Q qLOR8+s9oq2iKtxBtsBmzsF+Gqm3psnyKgS4= X-Received: by 2002:ac8:57c5:0:b0:517:6162:daf5 with SMTP id d75a77b69052e-51a72a47ba5mr15818861cf.3.1782387407677; Thu, 25 Jun 2026 04:36:47 -0700 (PDT) X-Received: by 2002:ac8:57c5:0:b0:517:6162:daf5 with SMTP id d75a77b69052e-51a72a47ba5mr15818501cf.3.1782387407280; Thu, 25 Jun 2026 04:36:47 -0700 (PDT) Received: from [192.168.120.170] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c11fbed6c78sm161489066b.60.2026.06.25.04.36.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jun 2026 04:36:46 -0700 (PDT) Message-ID: Date: Thu, 25 Jun 2026 13:36:44 +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: Daniel Lezcano , 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: Konrad Dybcio In-Reply-To: <20260624210825.264454-4-daniel.lezcano@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNjI1MDA5OSBTYWx0ZWRfXwlpRaYQNmzeb vuklS8x/nyVcri2z3L4dZ7Hw3DE4xT28nT5O+Mbe2sEGR3vwLTYk2YAHj31hFtMr0Hn9vW5gacC tbXEAaQJPL3Td64JQRLoMh6AK7n1E+M= X-Authority-Analysis: v=2.4 cv=RJiD2Yi+ c=1 sm=1 tr=0 ts=6a3d12d0 cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=68P_60IqByrghkTM5uUA:9 a=QEXdDO2ut3YA:10 a=uxP6HrT_eTzRwkO_Te1X:22 X-Proofpoint-ORIG-GUID: Q51LvAu66m9oA0s2Y4k90D0M_5o_wotY X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjI1MDA5OSBTYWx0ZWRfX2swHAjBrh0+N +W3EPt7AlDcmljONWYOQ2mWy++fcypD1amWmHBzUnAPPYgfOL4htLxc42CVxVD3s+KdQHJkpoCo F/AVY5YbsRHLQsdHl0xoneuEBa+/h735MevuGL4VVOhxHClCGdJFwZnMQPZPa/Mo4j4S5/re04d HkbZ47K30hRZQNQhY/BZZ3B8sKW7C/Ixidec8WnpNrqRgSiRM50W/P+m5mYAPjFYqEbRibBUZ00 j5tpGfyzqBCWNWEAFu38bldjEJymYAtMFuqwyeIga9XYNVyCQvf/45mEuE7L0WyXBkLUgx4A3CG 3rmxn5gVWG6nhBUOaej5u3HYd/7F0S3xzYQGh4+5bGzTd48Qxql06pg1k68XHvSRhHNs1SkD34r A5qDydME9of9V4JCumpPHo0HG4W+U0egVU/0WDHImFejqFt+LpTBQn+LHTaUi9xXuJ8d3rt5d8z QvYoOcbsw/JK9LJrEKw== X-Proofpoint-GUID: Q51LvAu66m9oA0s2Y4k90D0M_5o_wotY 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 phishscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 clxscore=1015 impostorscore=0 suspectscore=0 adultscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606250099 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. I don't know. Konrad