From patchwork Tue Jan 2 09:18:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 184295 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4346436dyb; Tue, 2 Jan 2024 01:26:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPHPJCeDMGAo+R2CPXi31Xhpd5UJlz9Hwx4lC6h99nKnUJPySqtPuXH+Qio6Zx55i417Rr X-Received: by 2002:a17:90a:2e15:b0:28c:892a:ab3 with SMTP id q21-20020a17090a2e1500b0028c892a0ab3mr3005228pjd.0.1704187589842; Tue, 02 Jan 2024 01:26:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704187589; cv=none; d=google.com; s=arc-20160816; b=XndS2J9ctDAlerunlNyX9A6m9N73RO+zcRpycvzdW7NMX29E4stbehGrVeUFQ/PDIy SnS/eyRaaQ7rsFXI1wa5jl0mTmqLoSmvEjqE1PkA7wXZvuCKrswWSQZlcW+IJgq2NgW/ 7d9I0ANy94ISHwyqkp3VqUHGrW29tV0LSuHV3HkC6evdOGe1brZ3Omeav+TvSwD9eZPH mlZfA9aJ1DHmI8XDofc6kTDCpbfxi9MVbxfGejslblJ7gONeL8D9yWGwnxu3YoNh3EWG 9vbu0LrJNUJ4J4AYTkRxExRSTydni4p9Tk4tRtpctnMImwZdnIH3xQOBtGvFVtcgoubo LWWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=mViAE+UwKGfdDy0plWgn3dmQ6r3tvrPJzjj3DkOgK8c=; fh=ayLodvRfQUzWy4whDm8HKuCiMCdZqpoB7xDcTRw+AJg=; b=vDZb80ZHGWHt/ZjEOj5OMZIN77ypiDDPUiZWzSHE/61UWjHLmMSBBAnvbctrRkh5l/ JEMZBgYESwX4h1DkoyAepgCnH1hqQrsnsF+HwQi17sqLhxS6Z1tPpdoU15Goajavkoaj pNU/yqF/YIZRnqxP5Tp2ha+gkCRU/iqC2T4YVnYDBbekJhXZnYQBdTp/PjbenD+jekjr zpqaBLbiajCGYQyCldLUnCXqbWFwIEbzmfW2eAmsdjXN3I4mSEFeAVcONwMkGQ4RM/mX kFu+MIfTYkWFr0er1hUiyTV63P6pFAWnZ/Bd6yBEFyEH8UIPMMtBX/mqDi+91EGV/G+b rtfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@free.fr header.s=smtp-20201208 header.b=rt4YQJaf; spf=pass (google.com: domain of linux-kernel+bounces-14183-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14183-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=free.fr Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q7-20020a17090a7a8700b0028bf1c9a696si19413325pjf.168.2024.01.02.01.26.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 01:26:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14183-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@free.fr header.s=smtp-20201208 header.b=rt4YQJaf; spf=pass (google.com: domain of linux-kernel+bounces-14183-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14183-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=free.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E4042282FDC for ; Tue, 2 Jan 2024 09:26:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3CEBC8FF; Tue, 2 Jan 2024 09:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr header.b="rt4YQJaf" X-Original-To: linux-kernel@vger.kernel.org Received: from smtpfb2-g21.free.fr (smtpfb2-g21.free.fr [212.27.42.10]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D0A163A6; Tue, 2 Jan 2024 09:25:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=free.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=free.fr Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by smtpfb2-g21.free.fr (Postfix) with ESMTP id 8A7384CEFB; Tue, 2 Jan 2024 10:19:17 +0100 (CET) Received: from [192.168.10.46] (unknown [130.180.211.218]) (Authenticated sender: daniel.lezcano@free.fr) by smtp1-g21.free.fr (Postfix) with ESMTPA id 214A8B00579; Tue, 2 Jan 2024 10:18:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1704187150; bh=YRUoYjKW8wgPvfkaSvYp4j0kKMDfeM6Fj+lD91OGM74=; h=Date:To:Cc:From:Subject:From; b=rt4YQJafE5g+ceEXg/ahxqubhvkCht+UuaL0/xhW5s2ysQg8jFDATA8HRC6TmbjTR OF3nUO3aQguhBNf9gDT/oehdw4t1pT0wu+Za1cj0JLJqZ6Whw7Kr9OSrxss74i/5Mv bAVyJULvhuQj76KT0jrXr6PoQ55B6p7uGe9wkh35ck1XPDkP0bQeNCydYKV4bm4WWq kFY4UInNuClPDQzNAfp9MlB3OxnltdJvdai2DIfZHMp2gdtsoDjiqYwcinka7e1R6W WepBMnDoJs/nEYPh2k/tthkbuhtHzjj0Hnr6So6P5F0n+R0LYlUaHwP20mtE3A2KXw 2NnaRryztU/2Q== Message-ID: <7163da4d-3f73-490c-a387-04d82e8bee1b@free.fr> Date: Tue, 2 Jan 2024 10:18:59 +0100 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: Linux Kernel Mailing List , Linux PM mailing list , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Binbin Zhou , Neil Armstrong , Fabio Estevam , Johan Hovold , Florian Eckert , Mateusz Majewski From: Daniel Lezcano Subject: [GIT PULL] thermal material for v6.8-rc1 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786970206017245333 X-GMAIL-MSGID: 1786970206017245333 Hi Rafael, happy new year 2024! Please consider pulling these thermal changes. Thanks -- Daniel The following changes since commit 5f70413a85056db04050604a76b52e3f39a37f21: thermal: cpuidle_cooling: fix kernel-doc warning and a spello (2023-12-21 12:05:48 +0100) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v6.8-rc1 for you to fetch changes up to 5314b1543787e6cd5d248186fcfd5c5fc4ca2146: thermal/drivers/exynos: Use set_trips ops (2024-01-02 09:33:19 +0100) ---------------------------------------------------------------- - Converted Mediatek Thermal to the json-schema (Rafał Miłecki) - Fixed DT bindings issue on Loongson (Binbin Zhou) - Fixed returning NULL instead of -ENODEV on Loogsoo (Binbin Zhou) - Added the DT binding for the tsens on SM8650 platform (Neil Armstrong) - Added a reboot on critical option feature (Fabio Estevam) - Made usage of DEFINE_SIMPLE_DEV_PM_OPS on AmLogic (Uwe Kleine-König) - Added the D1/T113s THS controller support on Sun8i (Maxim Kiselev) - Fixed example in the DT binding for QCom SPMI (Johan Hovold) - Fixed compilation warning for the tmon utility (Florian Eckert) - Added interrupt based configuration on Exynos along with a set of related cleanups (Mateusz Majewski) ---------------------------------------------------------------- Binbin Zhou (2): dt-bindings: thermal: loongson,ls2k-thermal: Fix binding check issues drivers/thermal/loongson2_thermal: Fix incorrect PTR_ERR() judgment Fabio Estevam (4): dt-bindings: thermal-zones: Document critical-action thermal/core: Prepare for introduction of thermal reboot reboot: Introduce thermal_zone_device_critical_reboot() thermal/thermal_of: Allow rebooting after critical temp Florian Eckert (1): tools/thermal/tmon: Fix compilation warning for wrong format Johan Hovold (2): dt-bindings: thermal: qcom-spmi-adc-tm5/hc: Fix example node names dt-bindings: thermal: qcom-spmi-adc-tm5/hc: Clean up examples Mateusz Majewski (9): thermal/drivers/exynos: Remove an unnecessary field description thermal/drivers/exynos: Drop id field thermal/drivers/exynos: Wwitch from workqueue-driven interrupt handling to threaded interrupts thermal/drivers/exynos: Handle devm_regulator_get_optional return value correctly thermal/drivers/exynos: Simplify regulator (de)initialization thermal/drivers/exynos: Stop using the threshold mechanism on Exynos 4210 thermal/drivers/exynos: Split initialization of TMU and the thermal zone thermal/drivers/exynos: Use BIT wherever possible thermal/drivers/exynos: Use set_trips ops Maxim Kiselev (2): dt-bindings: thermal: sun8i: Add binding for D1/T113s THS controller thermal/drivers/sun8i: Add D1/T113s THS controller support Neil Armstrong (1): dt-bindings: thermal: qcom-tsens: document the SM8650 Temperature Sensor Rafał Miłecki (1): dt-bindings: thermal: convert Mediatek Thermal to the json-schema Uwe Kleine-König (2): thermal: amlogic: Make amlogic_thermal_disable() return void thermal: amlogic: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions .../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 7 +- .../bindings/thermal/loongson,ls2k-thermal.yaml | 10 +- .../bindings/thermal/mediatek,thermal.yaml | 99 ++++ .../bindings/thermal/mediatek-thermal.txt | 52 -- .../bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 8 +- .../bindings/thermal/qcom-spmi-adc-tm5.yaml | 16 +- .../devicetree/bindings/thermal/qcom-tsens.yaml | 1 + .../devicetree/bindings/thermal/thermal-zones.yaml | 16 + drivers/thermal/amlogic_thermal.c | 19 +- drivers/thermal/loongson2_thermal.c | 2 +- drivers/thermal/samsung/exynos_tmu.c | 529 +++++++++++---------- drivers/thermal/sun8i_thermal.c | 13 + drivers/thermal/thermal_core.c | 21 +- drivers/thermal/thermal_core.h | 1 + drivers/thermal/thermal_of.c | 6 + include/linux/reboot.h | 12 +- kernel/reboot.c | 34 +- tools/thermal/tmon/tui.c | 2 +- 18 files changed, 491 insertions(+), 357 deletions(-) create mode 100644 Documentation/devicetree/bindings/thermal/mediatek,thermal.yaml delete mode 100644 Documentation/devicetree/bindings/thermal/mediatek-thermal.txt