dt-bindings: thermal: Convert amazon,al-thermal to DT schema
Rob Herring (Arm)
maintainerPATCH 1/1 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.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../bindings/thermal/amazon,al-thermal.txt | 33 ------------ .../bindings/thermal/amazon,al-thermal.yaml | 50 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 51 insertions(+), 34 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml
Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt deleted +0 -33
@@ -1,33 +0,0 @@ -Amazon's Annapurna Labs Thermal Sensor - -Simple thermal device that allows temperature reading by a single MMIO -transaction. - -Required properties: -- compatible: "amazon,al-thermal". -- reg: The physical base address and length of the sensor's registers. -- #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description. - -Example: - thermal: thermal { - compatible = "amazon,al-thermal"; - reg = <0x0 0x05002860 0x0 0x1>; - #thermal-sensor-cells = <0x1>; - }; - - thermal-zones { - thermal-z0 { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&thermal 0>; - trips { - critical { - temperature = <105000>; - hysteresis = <2000>; - type = "critical"; - }; - }; - - }; - }; -
Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml new file +50 -0
50 lines not on this page · raw message
MAINTAINERS +1 -1
@@ -973,7 +973,7 @@ F: drivers/edac/al_mc_edac.c AMAZON ANNAPURNA LABS THERMAL MMIO DRIVER M: Talel Shenhar <[email protected]> S: Maintained -F: Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt +F: Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml F: drivers/thermal/thermal_mmio.c AMAZON ETHERNET DRIVERS
Signature · 1 line
2.51.0
Quoted 8 lines · Rob Herring (Arm)
Convert amazon,al-thermal binding to DT schema format. It's a straight-forward conversion.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../bindings/thermal/amazon,al-thermal.txt | 33 ------------ .../bindings/thermal/amazon,al-thermal.yaml | 50 +++++++++++++++++++ MAINTAINERS | 2 +-
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Quoted 12 lines · Rob Herring (Arm)
Convert amazon,al-thermal binding to DT schema format. It's a straight-forward conversion.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../bindings/thermal/amazon,al-thermal.txt | 33 ------------ .../bindings/thermal/amazon,al-thermal.yaml | 50 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 51 insertions(+), 34 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.yaml
Applied, thanks!