Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp559312pxv; Thu, 8 Jul 2021 08:41:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG5OBDWJyAik8Ehnq3URMGWd8EgoNwT/Xrj2eOpwrVXhCJ3BKxXzTKStjAYnACxB6zAEo/ X-Received: by 2002:a05:6638:268d:: with SMTP id o13mr1570294jat.103.1625758882051; Thu, 08 Jul 2021 08:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625758882; cv=none; d=google.com; s=arc-20160816; b=ag/F4lC00g2Hf4GJ13njeoIVwLILhqsjuVByGWDeC/+U8ZLGtoz1UPhJPpX/6xuzcv km56TzfAA3JAkP5cYoTwcW6aol0KzKBHMIRyJXsISYSAZFCLufAG87PI2EakbPrHvjcZ 0mzE8kmd0eEACP6k0x/o0p8SGpKi0erO2CmmMO0G0EE9YXTTckYCDvcXQDKmF15H9elG b+MaUFtjX0LiPI4uICOIyo0yFiPtJ043lPw7KZwtFyvIp2vaFRizLOsxU2/G7BNofRNw ykBqxftDf6UE+gIVjsEEUOc8/y4jOn05CcL7w+PHFBtjS0GhzBOI9nmWMScxRravnhtx fjOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:cc:to:subject:from :dkim-signature; bh=7o3jCjF52vu1m+SPPYBNztcE1ZA7aixghKNxFppt9FA=; b=fHxeVInfYXy7rOnM+1tyVlhNfYqbIRiZPx0bkpcHkPUJYdJfaeCQ0e2NQjLna19F1l PxKHFyoQXtVlCpKATuMz/QV8GYXFQ9MlEG/jQU6u3UmoBlLOyb0AswXDQSBN6F43QQMM u0HrOoj7+YrDGu5Ez+WJtHohAkVqZCMlwR5eZhnj/b/b5kM3mrUj5DBIrow+fmGFEFps pQbErmh5eVOaUnpXnZots8nnKPHzxqJTFEaGAJQlR+cptonfhiRTXZdhw8wo3mG+kmCL nCvzFhKWEopTUQB/gUTKeq0t00Pl/BJQaauZMuVAzGrIPK6O1fn1ouaAmfeBblJs5+jm sfNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z7Al6ICQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q14si2652851iow.18.2021.07.08.08.41.09; Thu, 08 Jul 2021 08:41:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z7Al6ICQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229592AbhGHPnY (ORCPT + 99 others); Thu, 8 Jul 2021 11:43:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231804AbhGHPnY (ORCPT ); Thu, 8 Jul 2021 11:43:24 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8631EC06175F for ; Thu, 8 Jul 2021 08:40:41 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id k4so1787915wrc.8 for ; Thu, 08 Jul 2021 08:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=7o3jCjF52vu1m+SPPYBNztcE1ZA7aixghKNxFppt9FA=; b=z7Al6ICQJ+HJIkOrOcnpLbbNFf9wnKaNtjdk1nbOInTWoa9aW75evFkjor7Nc4rXiQ +CrZ2r8wyukbPoDnUAw5f4GrrT2Ce6ThW0bj2Z4aw+ESq0sbzW7MXh6ZFUQIVsvQBQLA 9eMIcpwGLczwuumvCv4YguZaMOkDHNmVic/k0Hteul8go1xo8HsO+fZMg5pzbmAFmrlr VG0aLYLwoAmuhwi7U4817zsWXmu8tSEef8GAxMpA3t7/hHiblTztCvIztmjkgCWb9Q4v Y2Ui9yvHc9GeNchHImvAoE6LMaa8NYFMY6GhGgNk8mbrrvHnq/rmA7z5gyVoyjGkBr5p Kn+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=7o3jCjF52vu1m+SPPYBNztcE1ZA7aixghKNxFppt9FA=; b=uGtrRgV580URaiCQ1zWA84UQ4DQRo6HCgCpCYGEj2GMI7T8CIJ82trPMZghY4NH2+x PGxlJg0a3/gH5vOZtHNwrDGPJbyROLP83Og/yJxcSdPIPJi+owHMIF/NozEXsOQDGWet oiTZjRQy9jDLeb8uRjwFp/W+Px0LbX+NbY2tVIV5qHQ6PU61ex3AwRYyhqWQKLft2jcl Phk4x02FRcsEIPJNMTO0Tsv9uGcYUFe5zDx/A4YoRYi2HOeIzd9ra76njJTc+ba6jvdc kQkYY+HGPJBlEdbS4a1ekHLfqYuFp4EHLGG7HommcNjz0VebWBaA40UFBicPFJ94ORgG YKuQ== X-Gm-Message-State: AOAM53187L9jV83mrTYOV51Bpg7dLznaLel3inrmzVUp6u9qPYs7WjIk uLoZNYo6MenhDmHk5Loo6lnO4w== X-Received: by 2002:a5d:4bc4:: with SMTP id l4mr34860965wrt.67.1625758839754; Thu, 08 Jul 2021 08:40:39 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:b33a:9c9a:b724:1957? ([2a01:e34:ed2f:f020:b33a:9c9a:b724:1957]) by smtp.googlemail.com with ESMTPSA id n18sm8258196wms.3.2021.07.08.08.40.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jul 2021 08:40:38 -0700 (PDT) From: Daniel Lezcano Subject: [GIT PULL] thermal for v5.14-rc1 #2 To: Linus Torvalds Cc: Zhang Rui , Linux PM mailing list , Linux Kernel Mailing List , Chunyan Zhang , Srinivas Pandruvada , Rajeshwari Ravindra Kamble , Yang Yingliang , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , Krzysztof Kozlowski , Dmitry Osipenko , Ezequiel Garcia , Bjorn Andersson , Andy Shevchenko , Yangtao Li , Finley Xiao Message-ID: <8b2470a5-3090-87c3-0fad-d8eefdf54f4f@linaro.org> Date: Thu, 8 Jul 2021 17:40:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, here is the second PR for v5.14-rc1. I removed the two patches responsible of the compilation issue. The branch was several days in linux-next before sending this PR in addition to several local testing. The following changes since commit 614124bea77e452aa6df7a8714e8bc820b489922: Linux 5.13-rc5 (2021-06-06 15:47:27 -0700) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v5.14-rc1 for you to fetch changes up to fe6a6de6692e7f7159c1ff42b07ecd737df712b4: thermal/drivers/int340x/processor_thermal: Fix tcc setting (2021-07-04 18:28:04 +0200) ---------------------------------------------------------------- - Add rk3568 sensor support (Finley Xiao) - Add missing MODULE_DEVICE_TABLE for the Spreadtrum sensor (Chunyan Zhang) - Export additionnal attributes for the int340x thermal processor (Srinivas Pandruvada) - Add SC7280 compatible for the tsens driver (Rajeshwari Ravindra Kamble) - Fix kernel documentation for thermal_zone_device_unregister() and use devm_platform_get_and_ioremap_resource() (Yang Yingliang) - Fix coefficient calculations for the rcar_gen3 sensor driver (Niklas Söderlund) - Fix shadowing variable rcar_gen3_ths_tj_1 (Geert Uytterhoeven) - Add missing of_node_put() for the iMX and Spreadtrum sensors (Krzysztof Kozlowski) - Add tegra3 thermal sensor DT bindings (Dmitry Osipenko) - Stop the thermal zone monitoring when unregistering it to prevent a temperature update without the 'get_temp' callback (Dmitry Osipenko) - Add rk3568 DT bindings, convert bindings to yaml schemas and add the corresponding compatible in the Rockchip sensor (Ezequiel Garcia) - Add the sc8180x compatible for the Qualcomm tsensor (Bjorn Andersson) - Use the find_first_zero_bit() function instead of custom code (Andy Shevchenko) - Fix the kernel doc for the device cooling device (Yang Li) - Reorg the processor thermal int340x to set the scene for the PCI mmio driver (Srinivas Pandruvada) - Add PCI MMIO driver for the int340x processor thermal driver (Srinivas Pandruvada) - Add hwmon sensors for the mediatek sensor (Frank Wunderlich) - Fix warning for return value reported by Smatch for the int340x thermal processor (Srinivas Pandruvada) - Fix wrong register access and decoding for the int340x thermal processor (Srinivas Pandruvada) ---------------------------------------------------------------- Andy Shevchenko (1): thermal/drivers/intel/intel_soc_dts_iosf: Switch to use find_first_zero_bit() Bjorn Andersson (1): dt-bindings: thermal: tsens: Add sc8180x compatible Chunyan Zhang (1): thermal/drivers/sprd: Add missing MODULE_DEVICE_TABLE Dmitry Osipenko (2): dt-bindings: thermal: Add binding for Tegra30 thermal sensor thermal/core/thermal_of: Stop zone device before unregistering it Ezequiel Garcia (2): dt-bindings: thermal: convert rockchip-thermal to json-schema dt-bindings: rockchip-thermal: Support the RK3568 SoC compatible Finley Xiao (1): thermal/drivers/rockchip: Support RK3568 SoCs in the thermal driver Frank Wunderlich (1): thermal/drivers/mediatek: Add sensors-support Geert Uytterhoeven (1): thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1 Krzysztof Kozlowski (2): thermal/drivers/imx_sc: Add missing of_node_put for loop iteration thermal/drivers/sprd: Add missing of_node_put for loop iteration Niklas Söderlund (1): thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations Rajeshwari Ravindra Kamble (1): dt-bindings: thermal: tsens: Add compatible string to TSENS binding for SC7280 Srinivas Pandruvada (6): thermal/drivers/int340x: processor_thermal: Export mailbox interface thermal/drivers/int340x: processor_thermal: Export additional attributes thermal/drivers/int340x/processor_thermal: Split enumeration and processing part thermal/drivers/int340x/processor_thermal: Add PCI MMIO based thermal driver thermal/drivers/int340x/processor_thermal: Fix warning for return value thermal/drivers/int340x/processor_thermal: Fix tcc setting Yang Li (1): thermal: devfreq_cooling: Fix kernel-doc Yang Yingliang (2): thermal/core: Correct function name thermal_zone_device_unregister() thermal/drivers/st: Use devm_platform_get_and_ioremap_resource() .../bindings/thermal/nvidia,tegra30-tsensor.yaml | 73 ++++ .../devicetree/bindings/thermal/qcom-tsens.yaml | 2 + .../bindings/thermal/rockchip-thermal.txt | 85 ----- .../bindings/thermal/rockchip-thermal.yaml | 96 ++++++ drivers/thermal/devfreq_cooling.c | 2 +- drivers/thermal/imx_sc_thermal.c | 3 + drivers/thermal/intel/int340x_thermal/Makefile | 3 + .../intel/int340x_thermal/int3401_thermal.c | 82 +++++ .../int340x_thermal/processor_thermal_device.c | 309 +++-------------- .../int340x_thermal/processor_thermal_device.h | 9 + .../int340x_thermal/processor_thermal_device_pci.c | 373 +++++++++++++++++++++ .../processor_thermal_device_pci_legacy.c | 163 +++++++++ .../intel/int340x_thermal/processor_thermal_mbox.c | 12 +- .../intel/int340x_thermal/processor_thermal_rfim.c | 55 +++ drivers/thermal/intel/intel_soc_dts_iosf.c | 15 +- drivers/thermal/mtk_thermal.c | 6 + drivers/thermal/rcar_gen3_thermal.c | 7 +- drivers/thermal/rockchip_thermal.c | 121 +++++++ drivers/thermal/sprd_thermal.c | 16 +- drivers/thermal/st/st_thermal_memmap.c | 13 +- drivers/thermal/thermal_core.c | 2 +- drivers/thermal/thermal_of.c | 3 + 22 files changed, 1066 insertions(+), 384 deletions(-) create mode 100644 Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml delete mode 100644 Documentation/devicetree/bindings/thermal/rockchip-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml create mode 100644 drivers/thermal/intel/int340x_thermal/int3401_thermal.c create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci_legacy.c -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog