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 7313026B973 for ; Sun, 7 Jun 2026 15:21:11 +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=1780845672; cv=none; b=ftGy6rgtxf/msyN5mgmU2auzJ5mEY4q8UmCJ8KpjKQLCOfHSZ6ZmFB1GYZ4x8asDXCJry9Qq/kjDMM0tceCMUhnYITUkavS78kLuHLxooIT8M8/9rcVIjJmRDK2PdQxdDAipYAWcjwitRR8ErShDV0EauMI39dUqMfEgFl7jxgE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780845672; c=relaxed/simple; bh=UQ1td9OdelFmWTJa7JvEiR3Njg6prNfei0TELsPYflE=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=u2e06FUoHdXaVsOUtcs972aAQ4nrSa2CF6iOpV3staySGX1VtnMgsl0fSiCwfI8noM+IQSnfxSHX5Fi+z2U8xGqysFcqbTahhHZoE+gHR8m7/2jm395SBYwSmAgHrFTgv9G4x0X8RXxdLfBC3SiCYl7EYyf1sgHFTYsKTWNfkJk= 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=Zg32dyPR; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=C4aNnyyx; 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="Zg32dyPR"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="C4aNnyyx" 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 657EmnQG829836 for ; Sun, 7 Jun 2026 15:21:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=5ZpU9OC6ER68E5SI93Ra/6 7P0DLT3HagxFdEGufoOCI=; b=Zg32dyPRgmbzLhJw50c7vyF4VpaHmsfRXoG9NE r5FJvGwwKsnxp1YCWPCSUQd4qqsIARfE7Qf6g/UuPSS98UTuV6nd5aEzz5IWxMWW 92ykUGQO9bfKq50OtQeLwBoTR2OXWRIFDGBfIiWc314Res7sHmqutYQVRNzJEvqI Yxh0yCiphYO5Xf7rbB6UZDJBJk/z8gM1Y7wHGWLgEAEZqqB56rxlPHm/HZfDfqu5 ChbNC65GD1ST4/JXC8P0LNrFZFPP49J5ja95rUyrNL3W0eczk61VWKy+2ekEvUkl C405HRDrII+Gv/1kGx4jiDiIhbcpFgxW+bek7sYo4S032Qcw== Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4embx6c1xp-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sun, 07 Jun 2026 15:21:10 +0000 (GMT) Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-517a9f4b626so18692341cf.2 for ; Sun, 07 Jun 2026 08:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1780845670; x=1781450470; darn=vger.kernel.org; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=5ZpU9OC6ER68E5SI93Ra/67P0DLT3HagxFdEGufoOCI=; b=C4aNnyyxTmZKa0jwCenuRXhpav9O43dtD5aamLGAoNxm1rz5GXAbC0HxCgfE2fYEse 337qU1apaUczKv/Ay9rOLEMa5lY05jIJggjS9ye9Z0QVtaTxdlsAv3E85sHglvzpA8yA f71GakquHaN5WqsIbi9H/7a8VDb7b1Hp4jaxnC9SvchyaQVZjjSBUKNJ2nLJlCoXBbNi Ype6WX6jLuv7bCPAOE7wolYILqrWzDEh70N6eCGlVDhm2aYwgnke6G5bY7ERfyTlxrqC gk5kd/Ctf8kN5B7I0e0VTFL3MPj/bIid578t4H5U6hzQVbUTkPwYrR96ybk0eahF4PCC lgFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780845670; x=1781450470; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5ZpU9OC6ER68E5SI93Ra/67P0DLT3HagxFdEGufoOCI=; b=iZRZVzTDgSxbHuqk9exibRS4N5NkTj81NI2SsLaiyhym1Zb+3wZ/AxT4+RMMzQuEsA tx1BCdQzRVFMl1VWmcz+Hj0GudRKRlIpbg1NQ8MbRbNR1zHuiERDffZGzoTQKt5eZYK0 BkuSug4qetF/q1JqJ3KVRs7sqoJdtUOD3J85NVCi09DwBRS/hNU0PF4mYSN8ndrZv+v5 qtGU4Ndj5op0+Xb34qQC6T3S2OfGK4mqfmJwFEFac14Agx2QyBvLLyrwEHShT6uFbWzg 1d0O3gDEcvy8fNM3t32ScItMMWGrjJI4U2SPzKpGz3/cm7ijs0IeCDIecLDKXBarv5T8 GNUA== X-Forwarded-Encrypted: i=1; AFNElJ8S4trPyCSJjeXiGStyFsw0ckERNK4UPRM1jN7dwdid6kWweQomv8o9qdvWUdJ9g4Qopo7T5N2qXdm5ZfU=@vger.kernel.org X-Gm-Message-State: AOJu0YzeoNTm04sxB6BKlD9WkNL6qZP1KRRkpnUC4F4QInG3iP9CNQzj y3pYJeG1g4/2c5s95koSE2mW7h6XcO5xs76iJTnyp2AIv4ZIjHxL5n2C9j+uy8KzOgo02xzxZ0c q/cJ568y/1TJoieMikYy4cw9yYGy9PxA6ZF1s3ENNRXw1IqbGBuzbxIofZoUc0zZuwAU= X-Gm-Gg: Acq92OHVqo1rB5yMSufJDvH8Btuk9YEYOWWo0B18AexiJ7fzJGp18yzX/8/mUQqAk21 iurBkbxSrTqIH2dN7KaRzYhafBqoJmPBAsNRgIHvUuIypxNikQmg1284AbjUL3f6o7UvpuJoDFC J3S724FtBH6hy8FZ81hZ+mFfrkHuxNFu3h40sCImWc4Melobgq+BP1wFyW9vrwlDcBDCf64tBja TIILQx62CNB7CAfUOs51s+oFVH/imZXVPuj34BtYw/xlMcB1oFPWHRy/7KguK7lDKvDWsSMrnmL TVjWQamr5dDREVzU9izYttJX1jx06HSY+FOjcDrnbqSlKya4TKC2EQ8Y+hkUbjt8yPXkDaaihde lctjVg8XNT1VVBlhvMFXlfA5tB8kVWxlKg2ly4Pzl/BlYVhK5K9QPQktcr3a2FIEdztepOs0LPo CuMVsbv07ltfxu3ftE3v4= X-Received: by 2002:a05:622a:124b:b0:517:88a0:9b2e with SMTP id d75a77b69052e-51795a71255mr171659801cf.4.1780845669567; Sun, 07 Jun 2026 08:21:09 -0700 (PDT) X-Received: by 2002:a05:622a:124b:b0:517:88a0:9b2e with SMTP id d75a77b69052e-51795a71255mr171659371cf.4.1780845669066; Sun, 07 Jun 2026 08:21:09 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:ce9e:f8b6:20af:d01d? ([2a05:6e02:1041:c10:ce9e:f8b6:20af:d01d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4601f35eae5sm44618256f8f.33.2026.06.07.08.21.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Jun 2026 08:21:08 -0700 (PDT) Message-ID: <4f7a64f5-4f58-4552-9fc8-820bc7652c11@oss.qualcomm.com> Date: Sun, 7 Jun 2026 17:21:07 +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 Content-Language: en-US To: "Rafael J. Wysocki" Cc: Lukasz Luba , Zhang Rui , Daniel Lezcano , Gaurav Kohli , Deepti Jaggi , Dipa Ramesh Mantre , jacky.baip@gmail.com, Jinseok Kim , Krzysztof Kozlowski , Mayur Kumar , Priyansh Jain , Ronald Claveau , Shuwei Wu , Linux Kernel Mailing List , Linux PM mailing list From: Daniel Lezcano Subject: [GIT PULL] thermal drivers for v7.2-rc1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=cvmrVV4i c=1 sm=1 tr=0 ts=6a258c66 cx=c_pps a=mPf7EqFMSY9/WdsSgAYMbA==: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=VwQbUJbxAAAA:8 a=C15exOp2nNw1rQcZD-AA:9 a=QEXdDO2ut3YA:10 a=dawVfQjAaf238kedN5IG:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjA3MDE1MiBTYWx0ZWRfXzjZfAHz5y0Cr vyo9lgyh+rBe3hbKWmMD5/EdOg/JScD3W39044zCL/SCR1k7VIJEuVt7AMadESUsS8s3MVKnb4k kg+L9xSggHcQ4kJ9j67w34cBQa9Ev5Zj6psyKd208N9qUCQ6Tu9wtaKEwu+kFMx3/y7B74iNPfE WooV0dCGaZVb9vmqoAExSKlRF4aRCEm68bgR4QDrE51EGxEDeS9YC7nvkIvlD8HdbGzVhLOprnC ediO19WZgw6sppjfwJm9bah6h1qiKr3ileKWQau2KUYP4ByKuU4rnG4Ppkr6Kex/e9yJ5wnPrU6 4FCZ9WAcBiQeQOUhUT+ANEQn62simoltLHNJyO3PL6+Dg8fgSZCA1VnopQzsR/W+FV+uxowtx8t AKyvdf9gzA1t9z+Zw8YFQfSRm1PeVgzdsLSoPAk6REwvwk9SssnaOghhkA/wO/jtFYJr1rnN9Wd FaxeBvmKVZ3F6S/i4pQ== X-Proofpoint-GUID: zLD9bf9boKzcV78f7StRfojSmOxGkV0c X-Proofpoint-ORIG-GUID: zLD9bf9boKzcV78f7StRfojSmOxGkV0c 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-07_04,2026-06-05_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 phishscore=0 clxscore=1015 malwarescore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2606070152 Hi Rafael, please consider the following changes since commit 21c315342b81526874acfa311f11b3f72bed4e14: thermal: sysfs: remove space before tab in macro (2026-05-22 18:55:08 +0200) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v7.2-rc1 for you to fetch changes up to 968098b4ca5219b0d2e0a981aed1dacfbd5adc69: thermal/drivers/qcom/tsens: Disable wakeup interrupt setup on automotive targets (2026-06-03 09:13:04 +0200) ---------------------------------------------------------------- - Add the QCom Nord temperature sensor DT bindings (Deepti Jaggi) - Use devm_add_action_or_reset() for clock disable on the NVidia soctherm and switch to devm cooling device registration version (Daniel Lezcano) - Replace the devm version implementation by the helper doing the same thing (Daniel Lezcano) - Add the Amlogic T7 thermal sensor along with thermal calibration data read from SMC calls (Ronald Claveau) - Fix typo in comment, "uppper" with "upper" in the TSens QCom driver (Jinseok Kim) - Add the QCom Shikra temperature sensor DT bindings (Gaurav Kohli) - Add the QCom Hawi temperature sensor DT bindings (Dipa Ramesh Mantre) - Fix atomic temperature read in the QCom tsens to comply with hardware documentation (Priyansh Jain) - Fix trailing whitespace and repeated word in the OF code. Do not split quoted string across lines in the iMX7 driver (Mayur Kumar) - Add SpacemiT K1 thermal sensor support (Shuwei Wu) - Add the i.MX93 temperature sensor support and filter out the invalid temperature (Jacky Bai) - Enable by default the TMU (Thermal Monitoring Unit) on Exynos platform (Krzysztof Kozlowski) - Split the core code and the OF which are interleaved. Add the cooling device per index registration in order to support dedicated cooling devices controller (Daniel Lezcano) - Add DT binding to specify an index in the cooling device map (Gaurav Kohli) - Rework interrupt initialization in the Tsens driver and add the optional wakeup source (Priyansh Jain) ---------------------------------------------------------------- Daniel Lezcano (13): thermal/drivers/tegra/soctherm: Use devm_add_action_or_reset() for clock disable thermal/drivers/tegra/soctherma: Switch to devm cooling device registration thermal/core: Use devm_add_action_or_reset() when registering a cooling device thermal/core: Introduce non-OF thermal_cooling_device_register() thermal/core: Add devm_thermal_cooling_device_register() hwmon: Use non-OF thermal cooling device registration API thermal/of: Move cooling device OF helpers out of thermal core thermal/core: Make cooling device OF node conditional on CONFIG_THERMAL_OF thermal/of: Rename the devm_thermal_of_cooling_device_register() function thermal/of: Add cooling device ID support thermal/of: Pass cdev_id and introduce devm registration helper thermal/of: Support cooling device ID in cooling-spec thermal/core: Fix missing stub for devm_thermal_cooling_device_register Deepti Jaggi (1): dt-bindings: thermal: qcom-tsens: Document Nord Temperature Sensor Dipa Ramesh Mantre (1): dt-bindings: thermal: qcom-tsens: Document the Hawi Temperature Sensor Gaurav Kohli (2): dt-bindings: thermal: qcom-tsens: Document the Shikra Temperature Sensor dt-bindings: thermal: cooling-devices: Update support for 3 cells cooling device Jacky Bai (3): dt-bindings: thermal: qoriq: Add compatible string for imx93 thermal/drivers/qoriq: Add i.MX93 tmu support thermal/driver/qoriq: Workaround unexpected temperature readings from tmu Jinseok Kim (1): thermal/drivers/qcom: Fix typo in comment Krzysztof Kozlowski (1): thermal/drivers/samsung: Enable TMU by default Mayur Kumar (2): thermal/of: Fix trailing whitespace and repeated word thermal/drivers/imx: Do not split quoted string across lines Priyansh Jain (3): thermal/drivers/qcom/tsens: Atomic temperature read with hardware-guided retries thermal/drivers/qcom/tsens: Switch wake IRQ handling to PM callbacks thermal/drivers/qcom/tsens: Disable wakeup interrupt setup on automotive targets Ronald Claveau (5): dt-bindings: thermal: amlogic: Add support for T7 firmware: meson: sm: Thermal calibration read via secure monitor firmware: meson: sm: Add thermal calibration SMC call thermal/drivers/amlogic: Add missing dependency on MESON_SM thermal/drivers/amlogic: Add support for secure monitor calibration readout Shuwei Wu (2): dt-bindings: thermal: Add SpacemiT K1 thermal sensor thermal/drivers/spacemit/k1: Add thermal sensor support .../devicetree/bindings/hwmon/pwm-fan.yaml | 3 +- .../bindings/thermal/amlogic,thermal.yaml | 37 ++- .../devicetree/bindings/thermal/qcom-tsens.yaml | 3 + .../devicetree/bindings/thermal/qoriq-thermal.yaml | 1 + .../bindings/thermal/spacemit,k1-tsensor.yaml | 76 ++++++ .../bindings/thermal/thermal-cooling-devices.yaml | 8 +- .../devicetree/bindings/thermal/thermal-zones.yaml | 3 +- drivers/firmware/meson/meson_sm.c | 28 ++- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 5 +- drivers/hwmon/amc6821.c | 2 +- drivers/hwmon/aspeed-pwm-tacho.c | 5 +- drivers/hwmon/cros_ec_hwmon.c | 4 +- drivers/hwmon/dell-smm-hwmon.c | 4 +- drivers/hwmon/emc2305.c | 6 +- drivers/hwmon/gpio-fan.c | 6 +- drivers/hwmon/max6650.c | 6 +- drivers/hwmon/mlxreg-fan.c | 4 +- drivers/hwmon/npcm750-pwm-fan.c | 6 +- drivers/hwmon/pwm-fan.c | 5 +- drivers/hwmon/qnap-mcu-hwmon.c | 6 +- drivers/hwmon/tc654.c | 5 +- drivers/memory/tegra/tegra210-emc-core.c | 4 +- drivers/soc/qcom/qcom_aoss.c | 2 +- drivers/thermal/Kconfig | 3 + drivers/thermal/Makefile | 1 + drivers/thermal/amlogic_thermal.c | 112 ++++++--- drivers/thermal/cpufreq_cooling.c | 2 +- drivers/thermal/cpuidle_cooling.c | 2 +- drivers/thermal/devfreq_cooling.c | 2 +- drivers/thermal/imx_thermal.c | 4 +- drivers/thermal/khadas_mcu_fan.c | 7 +- drivers/thermal/qcom/tsens-v2.c | 9 +- drivers/thermal/qcom/tsens.c | 183 ++++++++++---- drivers/thermal/qcom/tsens.h | 24 +- drivers/thermal/qoriq_thermal.c | 71 +++++- drivers/thermal/samsung/Kconfig | 1 + drivers/thermal/spacemit/Kconfig | 19 ++ drivers/thermal/spacemit/Makefile | 3 + drivers/thermal/spacemit/k1_tsensor.c | 280 +++++++++++++++++++++ drivers/thermal/tegra/soctherm.c | 34 +-- drivers/thermal/thermal_core.c | 111 ++------ drivers/thermal/thermal_core.h | 5 + drivers/thermal/thermal_of.c | 152 ++++++++++- include/linux/firmware/meson/meson_sm.h | 3 + include/linux/thermal.h | 71 ++++-- 45 files changed, 1070 insertions(+), 258 deletions(-) create mode 100644 Documentation/devicetree/bindings/thermal/spacemit,k1-tsensor.yaml create mode 100644 drivers/thermal/spacemit/Kconfig create mode 100644 drivers/thermal/spacemit/Makefile create mode 100644 drivers/thermal/spacemit/k1_tsensor.c