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 DE83541D11D for ; Fri, 7 Aug 2026 20:04:06 +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=1786133048; cv=none; b=jTxY2Z7bcxTyj6OIP6hmbkC0tidfxN7zB5KkDyf1cV5mEa6hMqYdG2q33bKKukDbTe32xJEaNKvxkFX1p+qGAgTPXompiCUbYbHGWBYz3ILrToDcSJCXokD8BmxQaSgSUwQksXbHMU9mwe3nTd6vNE5p419O7OeCZEMRO7q+dnU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786133048; c=relaxed/simple; bh=YhktGsZSyl3pw8vKmz55aHodW+8qoIC+F791+3qIRsQ=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=TMiEUBl+V6UciFsDZPDNm8Ts9S6IpiaaGgZm3cpE7GyqZGDA+TB8d4GrGDdkaSjc5m1q83iD+jbNAC+V86dKG8Jftgxf+L5iAHw+pcy9dNZG6MoQYZ70HDBFFL0wBuaWxvhTMebjuUzFkN5IrVq8m2jE3R2l8MFYnvwvU4MBimQ= 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=ArWkX4k3; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=CUpMmVBi; 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="ArWkX4k3"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="CUpMmVBi" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 677Im4RM1871207 for ; Fri, 7 Aug 2026 20:04:06 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=YAHTsN1SxcEB9glrMdNJNx I2xfAf21NmyL4IW+ixmjY=; b=ArWkX4k3wtfCGqcQJxXN1NhB0hhVLaoVZ+0Q20 JM8chgRi+m1u6GJnaPY9z8SbG8ZHn8k08dSpm9/T3NKjwpfdq+Tl5eqqWQ1sxMBk qGSt2H4My1faq5Tna5u1fWLwoEyr+sRooo1h8Fl7fUcYfA4Xk1/BRC1UlK3QvQ3U +IN4nShoDz6srGmUrgfbTYWjbxkg+Dgb5/xqmIQgMFr1rrohCnB2CWMJV0KlJk5T +89iL+h9pdsW3Z0o7OaLvYDf1Bpb5CPqyAEp9tgCxb8F5Exia8VN3ZENNGfc1fux XWbArWLGoyuvR34GVUOewqDX6dd1o3CzLg4U22O5ArOVGN/A== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fwege266h-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 07 Aug 2026 20:04:05 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-51c20762d21so44387451cf.0 for ; Fri, 07 Aug 2026 13:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1786133045; x=1786737845; darn=vger.kernel.org; h=content-transfer-encoding:content-type:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=YAHTsN1SxcEB9glrMdNJNxI2xfAf21NmyL4IW+ixmjY=; b=CUpMmVBitoGh6ezexEPzx1crY9hI9VMtipZOLYMaPLvQNmpVGNclVPBXljTMC8WYdD W4CzAGH/FNg38Px4ekFKvzgZmTX15S28zgAWSy450vL4Ppt5nCZOjHvyCuBfOZkb1+dC faLghOAmYtZKOUuv3/jPiq4wnPRGp+cvj57whrSFaWsU9m6Cv/es7uIND/TQfQTDWj9B y4sQsTWOP/67K8ef5BHn8alJdOnnEYgmXkcv28Gz25E0YDR+gGdv7TDfkgs0NFrOnX7n aCBn4hpb36th2M6JDI6sVofEBkjD+6HezBfyoFKLzl9kl6BTDrBt+/n9GG7y2wOridsd 2jnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786133045; x=1786737845; h=content-transfer-encoding:content-type: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 :content-type; bh=YAHTsN1SxcEB9glrMdNJNxI2xfAf21NmyL4IW+ixmjY=; b=HShUt0DxY5ohk0d1apSJGOQuCxVEiWlWHJqg5BagLRh2TJ2QMo4jGhPzdn9Jc/LV/m EffVTa8xtdi1pGzg0a6RMQD90DeIwsamOqnefDnkDpqsAOXrmdsrGwbTSBDwZhy0X18u QruQW5U0DnB6tUROGG1A6s2w80GbzLvxpHf1UwxShg82x5C4x8rMXsctdU/DWNZthL2y QS9A/JJGMJHnibl6cDCL4pXBVUHHCU5cDgUkgDAaRAtMgCGSfTjHuKBtPUKuHyEIq2Iu XEIehVZ8V6aWvlA3yakcAfLfoIyLm0DOLA1rgI9TFnFb+mv7xMmUyj4WMQNGyOtdSL6s +r/Q== X-Forwarded-Encrypted: i=1; AHgh+RrvNCACTU32eSpUTpy8u0YeC8cc5Z29q8+rTqLPom0/6rVseM/zDuL7YTGXkKS9Hn3YExIxNB5t17BvCEQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxsL+gWprWjJcU+xVYzUp1xweKVSQKXhIE4Y4YWIeTQv4283fMn GSdQhqJVQYCsv9uQC/JOOBMGnDHLV3WJzRZYf+DNg/oDQvUrtQhxcGyFRDiGvRI/7n+7WU69ONg Jiq7Ero6PPMvyulwIIyBzNj1Y+Pj7fRrbNtQh4GtyS4BnX45dQAd0a/6S2NN6A7ysKqE= X-Gm-Gg: AR+sD127d6rDJf9WtruBrgWl0ze7lgyBD7qLLFGXvjeLSGhxav2fQsWwYGn09wbqbi9 AUFGtp3oa0Kw1YrimKcu8hWjr8TPqsOKovvVeI8Hn2gHefsKisswBuEaKCRJMTpOxjyTNmirvH6 L9O2PIlNcI034/mAOyoAR2QaxPaaomilzNkdyCBlWXfvtm6XZCh9OL+qJCxM5OOqhTmMZcB1y8K srw0anwHS8lQVEygs/XgSFGd1PI+wb49HaXQSdPExe+EwvG6nSP+9ivVZ3TheyhWfjqbO900ziF 4rt5dcpFmvK8lbLK554oMObRYdufbjS2t2AeaplYKfGjOExvGId9I2fxX1Fi6tVfJgoAjDnH0SR Vq5NQ66gGz0tIQJbCfJLRGjDG8sf/ACrXXKRyoQJPrGuwSw== X-Received: by 2002:a05:622a:480f:b0:52b:581e:1274 with SMTP id d75a77b69052e-52d18ec82e0mr78363391cf.19.1786133044742; Fri, 07 Aug 2026 13:04:04 -0700 (PDT) X-Received: by 2002:a05:622a:480f:b0:52b:581e:1274 with SMTP id d75a77b69052e-52d18ec82e0mr78362521cf.19.1786133044238; Fri, 07 Aug 2026 13:04:04 -0700 (PDT) Received: from [192.168.2.1] (146725694.box.freepro.com. [130.180.211.218]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48002150952sm7544093f8f.15.2026.08.07.13.03.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Aug 2026 13:04:03 -0700 (PDT) Message-ID: <7d85c5c6-3ee3-4ce6-aeeb-e4f15cb57b32@oss.qualcomm.com> Date: Fri, 7 Aug 2026 22:03:55 +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" , Daniel Lezcano Cc: Zhang Rui , Lukasz Luba , Linux Kernel Mailing List , "Bryan B. Lima" , Dan Carpenter , Wolfram Sang , Christian Marangi , Rakesh Kota , Can Peng , Satya Priya Kakitapalli , Haritha S K , Pei Xiao , marek.vasut+renesas@gmail.com, Linux PM mailing list , Jishnu Prakash , AngeloGioacchino Del Regno , Andreas Haufler , Pan Chuang , surendra From: Daniel Lezcano Subject: [GIT PULL] thermal drivers for v7.3-rc1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: lF1q17ZYAUe9Io8rJFf-oJTfmsHJmLku X-Proofpoint-Spam-Info: AW1haW4tMjYwODA3MDE1NiBTYWx0ZWRfX1kdq2VNywBr2 J58Qdp33VZspmOq6lRHnZv5VSH+22DUAYQe0K1JN73/uaAsIdHxueBJjDucj9hLVLbxctw8feHg wsYP9h9dwJ1iXCMK5/oXBsC1UfTMA1M= X-Proofpoint-GUID: lF1q17ZYAUe9Io8rJFf-oJTfmsHJmLku X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODA3MDE1NiBTYWx0ZWRfX3TRZURRAaWVd /AjVwrPwIbgQ0Lz6DYuwEBwXkQvWgNJwlN82uVjpGj7uRM5ZkAzmEpyL7SSYFUNVDAE7BTPl+Eu 15GoQoAqZIDLAbAcRaiM55M7G7A2Ixp1f11m6AXTv1wKFtjH2j8TvJhAT75/wRhhmRnhuK7ADeg zNszRaeC5ZsY14bS68Vje0vwUx6hH/+2SaR3NzaY/gGGNJg/Sq/qoOXzte+H5S5/Z/IAAM4nw7k WHAtaQDDEX1IOKGT4HB17tufmZMXVBUbkKeEMLlDQ8wmp0X0On8f2DP6JUqyiMDmzx1QpB4dtp9 0mSreqM03/ds+q1oRwcX/842Kqf33sgXHRlncHUTDdzwuPABIy5izcCSZ0OSJ61eOMO7fHkA7Ct ojxTujAFE7YU+BOx51CinbtoMf6lp6ImxF+rfmZs8YANrcKrdbVLRgNUG/zUl9JmfBVBJXoC+We HiqELpX0cQ0XbFI0gpQ== X-Authority-Analysis: v=2.4 cv=X71i7mTe c=1 sm=1 tr=0 ts=6a763a35 cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=uw/3876vWhRnNVL35W6mqQ==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=VwQbUJbxAAAA:8 a=uyM6vb5DrBnEitOwxxEA:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-07_04,2026-08-07_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 adultscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608070156 Hi Rafael, please consider the following changes since commit 8cdeaa50eae8dad34885515f62559ee83e7e8dda: Linux 7.2-rc2 (2026-07-05 14:44:06 -1000) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v7.3-rc1 for you to fetch changes up to 55c16e15ff9f91bc994a20124b83faf27f0e3690: thermal/drivers: Remove redundant error messages on IRQ request failure (2026-08-07 17:27:28 +0200) ---------------------------------------------------------------- - Move thermal_zone_device_enable() to the right place in order to prevent calling it if the thermal zone registration failed (Dan Carpenter) - Improve bitfield manipulations on Armada (Bryan B. Lima) - Remove unneeded 'fast_io' on Sun8i and Armada (Wolfram Sang) - Fix wrong boundary when clamping the low values in the set_trips() callback and fix wrong mask when setting the temperature interval on Airoha (Christian Marangi) - Make use of the regmap API in order to support the Airoha AN7583 (Christian Marangi) - Fix adc_tm5_get_temp() return check value on the QCom SPMI ADC sensor (Rakesh Kota) - Fix unbalanced clock enablement when the resume fails on the iMX driver (Can Peng) - Add Qualcomm Master BandGap thermal monitor support (Satya Priya Kakitapalli) - Add Maili Temperature bindings compatible (Haritha S K) - Add a devm action to clean hardware interrupts, sampling, and control registers on Spacemit K1 (Pei Xiao) - Fix trivial typo in an OF code comment (Marek Vasut) - Remove unecessary print on Qcom SPMI ADC driver when a call to devm_request_threaded_irq() fails as this one already prints a message (Jishnu Prakash) - Add support for QCom PMIC5 Gen3 ADC by using auxialiary driver and shared interrupt with the IIO driver (Jishnu Prakash) - Make resets optional on MT8196 and add the corresponding property in the DT bindings (AngeloGioacchino Del Regno) - Fix clock staying enabled with the resume operation fails on Qoriq (Can Peng) - Fix wrong closing brace position in thermal library header (Andreas Haufler) - Fix low and high trip point validation by moving the check after the clamp on the spacemit driver (surendra) - Remove redundant error messages on IRQ request failure (Pan Chuang) ---------------------------------------------------------------- Andreas Haufler (1): tools/lib/thermal: Fix misplaced extern "C" closing brace AngeloGioacchino Del Regno (2): dt-bindings: thermal: mediatek: Make resets optional for MT8196 thermal/drivers/mediatek/lvts_thermal: Make reset optional for MT8196 Bryan B. Lima (1): thermal/drivers/armada: Use bitfield and bitmask macros Can Peng (2): thermal/drivers/imx: Disable clock on runtime resume failure thermal/drivers/qoriq: Disable clock on resume failure Christian Marangi (7): thermal/drivers/airoha: Fix copy paste error on clamp_t low temp thermal/drivers/airoha: Fix copy paste error for sen internal thermal/drivers/airoha: Convert to regmap API thermal/drivers/airoha: Generalize probe function thermal/drivers/airoha: Generalize get_thermal_ADC and set_mux function dt-bindings: arm: airoha: Add the chip-scu node for AN7583 SoC thermal/drivers/airoha: Add support for AN7583 Thermal Sensor Dan Carpenter (1): thermal/drivers/rcar: Fix error checking in probe() Haritha S K (1): dt-bindings: thermal: qcom-tsens: Document the Maili Temperature Sensor Jishnu Prakash (3): iio: adc: qcom-spmi-adc5-gen3: Remove an unnecessary print iio: adc: qcom-spmi-adc5-gen3: Share SDAM0 IRQ with ADC_TM auxiliary driver thermal/drivers/qcom: add support for PMIC5 Gen3 ADC thermal monitoring Marek Vasut (1): thermal/of: Fix trivial enabled typo Pan Chuang (1): thermal/drivers: Remove redundant error messages on IRQ request failure Pei Xiao (1): thermal/drivers/spacemit/k1: Add shutdown action and reorder registration order Rakesh Kota (1): thermal/drivers/qcom-spmi-adc-tm5: Drop IIO_VAL_INT check in adc_tm5_get_temp Satya Priya Kakitapalli (2): dt-bindings: thermal: Add Qualcomm MBG thermal monitor support thermal/drivers/qcom: Add support for Qualcomm MBG thermal monitoring Wolfram Sang (1): thermal: Remove unneeded 'fast_io' parameter in regmap_config surendra (1): thermal/drivers/spacemit: Validate clamped trip thresholds .../bindings/arm/airoha,en7581-chip-scu.yaml | 14 + .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 + .../bindings/thermal/mediatek,lvts-thermal.yaml | 13 +- .../bindings/thermal/qcom,pm8775-mbg-tm.yaml | 72 ++++ .../devicetree/bindings/thermal/qcom-tsens.yaml | 1 + drivers/iio/adc/qcom-spmi-adc5-gen3.c | 69 +--- drivers/thermal/airoha_thermal.c | 382 +++++++++++++++++---- drivers/thermal/armada_thermal.c | 106 +++--- drivers/thermal/broadcom/brcmstb_thermal.c | 3 +- drivers/thermal/db8500_thermal.c | 8 +- drivers/thermal/hisi_thermal.c | 4 +- drivers/thermal/imx91_thermal.c | 2 +- drivers/thermal/imx_thermal.c | 13 +- .../int340x_thermal/processor_thermal_device_pci.c | 8 +- drivers/thermal/intel/intel_bxt_pmic_thermal.c | 4 +- drivers/thermal/loongson2_thermal.c | 2 +- drivers/thermal/max77620_thermal.c | 8 +- drivers/thermal/mediatek/lvts_thermal.c | 17 +- drivers/thermal/qcom/Kconfig | 23 ++ drivers/thermal/qcom/Makefile | 2 + drivers/thermal/qcom/lmh.c | 1 - drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 3 - drivers/thermal/qcom/qcom-spmi-mbg-tm.c | 256 ++++++++++++++ drivers/thermal/qcom/tsens.c | 5 +- drivers/thermal/qoriq_thermal.c | 13 +- drivers/thermal/renesas/rcar_thermal.c | 19 +- drivers/thermal/renesas/rzg3e_thermal.c | 4 +- drivers/thermal/rockchip_thermal.c | 3 +- drivers/thermal/samsung/exynos_tmu.c | 4 +- drivers/thermal/spacemit/k1_tsensor.c | 78 ++++- drivers/thermal/st/st_thermal_memmap.c | 4 +- drivers/thermal/st/stm_thermal.c | 5 +- drivers/thermal/sun8i_thermal.c | 1 - drivers/thermal/tegra/soctherm.c | 8 +- drivers/thermal/tegra/tegra30-tsensor.c | 3 +- drivers/thermal/thermal-fw.c | 12 + drivers/thermal/thermal_fw.c | 97 ++++++ drivers/thermal/thermal_of.c | 2 +- include/linux/iio/adc/qcom-adc5-gen3-common.h | 2 - tools/lib/thermal/include/thermal.h | 4 +- 40 files changed, 995 insertions(+), 284 deletions(-) create mode 100644 Documentation/devicetree/bindings/thermal/qcom,pm8775-mbg-tm.yaml create mode 100644 drivers/thermal/qcom/qcom-spmi-mbg-tm.c create mode 100644 drivers/thermal/thermal-fw.c create mode 100644 drivers/thermal/thermal_fw.c