Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: thermal: Convert amazon,al-thermal to DT schema

Convert amazon,al-thermal binding to DT schema format. It's a
straight-forward conversion.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20251013215820.783272-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+51 -34
-33
Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt
··· 1 - Amazon's Annapurna Labs Thermal Sensor 2 - 3 - Simple thermal device that allows temperature reading by a single MMIO 4 - transaction. 5 - 6 - Required properties: 7 - - compatible: "amazon,al-thermal". 8 - - reg: The physical base address and length of the sensor's registers. 9 - - #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description. 10 - 11 - Example: 12 - thermal: thermal { 13 - compatible = "amazon,al-thermal"; 14 - reg = <0x0 0x05002860 0x0 0x1>; 15 - #thermal-sensor-cells = <0x1>; 16 - }; 17 - 18 - thermal-zones { 19 - thermal-z0 { 20 - polling-delay-passive = <250>; 21 - polling-delay = <1000>; 22 - thermal-sensors = <&thermal 0>; 23 - trips { 24 - critical { 25 - temperature = <105000>; 26 - hysteresis = <2000>; 27 - type = "critical"; 28 - }; 29 - }; 30 - 31 - }; 32 - }; 33 -
+50
Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/thermal/amazon,al-thermal.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Amazon Annapurna Labs Thermal Sensor 8 + 9 + maintainers: 10 + - Talel Shenhar <talel@amazon.com> 11 + 12 + description: 13 + Simple thermal device that allows temperature reading by a single MMIO 14 + transaction. 15 + 16 + properties: 17 + compatible: 18 + items: 19 + - const: amazon,al-thermal 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + '#thermal-sensor-cells': 25 + const: 1 26 + 27 + additionalProperties: false 28 + 29 + examples: 30 + - | 31 + thermal: thermal@5002860 { 32 + compatible = "amazon,al-thermal"; 33 + reg = <0x05002860 0x1>; 34 + #thermal-sensor-cells = <0x1>; 35 + }; 36 + 37 + thermal-zones { 38 + z0-thermal { 39 + polling-delay-passive = <250>; 40 + polling-delay = <1000>; 41 + thermal-sensors = <&thermal 0>; 42 + trips { 43 + critical { 44 + temperature = <105000>; 45 + hysteresis = <2000>; 46 + type = "critical"; 47 + }; 48 + }; 49 + }; 50 + };
+1 -1
MAINTAINERS
··· 973 973 AMAZON ANNAPURNA LABS THERMAL MMIO DRIVER 974 974 M: Talel Shenhar <talel@amazon.com> 975 975 S: Maintained 976 - F: Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt 976 + F: Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml 977 977 F: drivers/thermal/thermal_mmio.c 978 978 979 979 AMAZON ETHERNET DRIVERS