forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'thermal-v6.11-rc1' of ssh://gitolite.kernel.org/pub/scm/li…
…nux/kernel/git/thermal/linux into thermal Merge thermal drivers updates for 6.11-rc1 from Daniel Lezcano: "- Group all Renesas drivers inside a dedicated sub directory and add the missing dependency to OF (Niklas Söderlund) - Add suspend/resume support on k3_j72xx_bandgap and take the opportunity to remove a unneeded delay in the init time code path (Théo Lebrun) - Fix thermal zone definition for MT8186 and MT8188 (Julien Panis) - Convert hisilicon-thermal.txt to dt-schema (Abdulrasaq Lawani) - Add the DT bindings for the X1E80100 temperature sensor (Abel Vesa) - Fix the thermal zone node name regular expression in the DT schema (Krzysztof Kozlowski) - Take into account some production platforms may not have calibration data. Deal with it with a default value instead of failing the initialization (Chen-Yu Tsai) - Fix the sensor cell size on the Exynos platform (Krzysztof Kozlowski) - Bring the common definition of '#thermal-sensor-cells' property in order to simplify the bindings on all the platforms where this change makes sense and do some minor cleanups (Krzysztof Kozlowski) - Fix a race between removal and clock disable on the broadcom driver (Krzysztof Kozlowski) - Drop 'trips' node as required from the thermal zone bindings in order to fix the remaining warnings appearing with thermal zone whithout trip points defined (Rob Herring) - Simplify all the drivers where dev_err_probe() can apply (Krzysztof Kozlowski) - Cleanup code related to stih416 as this platform is not described anywhere (Raphael Gallais-Pou)" * tag 'thermal-v6.11-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux: (45 commits) thermal/drivers/sti: Cleanup code related to stih416 thermal/drivers/generic-adc: Simplify with dev_err_probe() thermal/drivers/generic-adc: Simplify probe() with local dev variable thermal/drivers/qcom-tsens: Simplify with dev_err_probe() thermal/drivers/qcom-spmi-adc-tm5: Simplify with dev_err_probe() thermal/drivers/imx: Simplify with dev_err_probe() thermal/drivers/imx: Simplify probe() with local dev variable thermal/drivers/hisi: Simplify with dev_err_probe() thermal/drivers/exynos: Simplify with dev_err_probe() thermal/drivers/exynos: Simplify probe() with local dev variable thermal/drivers/broadcom: Simplify with dev_err_probe() thermal/drivers/broadcom: Simplify probe() with local dev variable thermal/drivers/broadcom: Fix race between removal and clock disable dt-bindings: thermal: Drop 'trips' node as required dt-bindings: thermal: qoriq: reference thermal-sensor schema dt-bindings: thermal: cleanup examples indentation dt-bindings: thermal: simplify few bindings dt-bindings: thermal: ti,j72xx: reference thermal-sensor schema dt-bindings: thermal: ti,am654: reference thermal-sensor schema dt-bindings: thermal: st,stm32: reference thermal-sensor schema ...
- Loading branch information
Showing
50 changed files
with
531 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ maintainers: | |
- Vasily Khoruzhick <[email protected]> | ||
- Yangtao Li <[email protected]> | ||
|
||
$ref: thermal-sensor.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
|
@@ -55,7 +57,6 @@ properties: | |
maxItems: 1 | ||
description: phandle to device controlling temperate offset SYS_CFG register | ||
|
||
# See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details | ||
"#thermal-sensor-cells": | ||
enum: | ||
- 0 | ||
|
@@ -135,9 +136,8 @@ required: | |
- compatible | ||
- reg | ||
- interrupts | ||
- '#thermal-sensor-cells' | ||
|
||
additionalProperties: false | ||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,6 @@ required: | |
- compatible | ||
- reg | ||
- clocks | ||
- '#thermal-sensor-cells' | ||
|
||
examples: | ||
- | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ properties: | |
|
||
required: | ||
- compatible | ||
- '#thermal-sensor-cells' | ||
|
||
additionalProperties: false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
Documentation/devicetree/bindings/thermal/hisilicon,tsensor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/thermal/hisilicon,tsensor.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Temperature Sensor on HiSilicon SoCs | ||
|
||
maintainers: | ||
- Abdulrasaq Lawani <[email protected]> | ||
|
||
allOf: | ||
- $ref: thermal-sensor.yaml | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- hisilicon,tsensor | ||
- hisilicon,hi3660-tsensor | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
clock-names: | ||
items: | ||
- const: thermal_clk | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
'#thermal-sensor-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- '#thermal-sensor-cells' | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/hi6220-clock.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
temperature-sensor@f7030700 { | ||
compatible = "hisilicon,tsensor"; | ||
reg = <0xf7030700 0x1000>; | ||
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&sys_ctrl HI6220_TSENSOR_CLK>; | ||
clock-names = "thermal_clk"; | ||
#thermal-sensor-cells = <1>; | ||
}; |
32 changes: 0 additions & 32 deletions
32
Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,6 @@ required: | |
- compatible | ||
- reg | ||
- interrupts | ||
- '#thermal-sensor-cells' | ||
|
||
if: | ||
properties: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,6 @@ required: | |
- compatible | ||
- reg | ||
- interrupts | ||
- '#thermal-sensor-cells' | ||
|
||
additionalProperties: false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring | |
maintainers: | ||
- Dmitry Baryshkov <[email protected]> | ||
|
||
$ref: thermal-sensor.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: qcom,spmi-adc-tm-hc | ||
|
@@ -20,9 +22,6 @@ properties: | |
|
||
"#thermal-sensor-cells": | ||
const: 1 | ||
description: | ||
Number of cells required to uniquely identify the thermal sensors. Since | ||
we have multiple sensors this is set to 1 | ||
|
||
"#address-cells": | ||
const: 1 | ||
|
@@ -106,9 +105,8 @@ required: | |
- interrupts | ||
- "#address-cells" | ||
- "#size-cells" | ||
- "#thermal-sensor-cells" | ||
|
||
additionalProperties: false | ||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
|
Oops, something went wrong.