dt-bindings: hwmon: convert lantiq-cputemp to yaml
Subsystems (2)
PATCH v2 1/1 dt-bindings: hwmon: convert lantiq-cputemp to yaml
Convert the Lantiq cpu temperature sensor bindings to yaml format.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>
---
v2:
- added reg property
--- .../bindings/hwmon/lantiq,cputemp.yaml | 30 +++++++++++++++++++ .../devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ------- 2 files changed, 30 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml delete mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt
Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml new file +30 -0
@@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/lantiq,cputemp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq cpu temperature sensor + +maintainers: + - Florian Eckert <[email protected]> + +properties: + compatible: + const: lantiq,cputemp + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cputemp@103040 { + compatible = "lantiq,cputemp"; + reg = <0x103040 0x4>; + };
Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt deleted +0 -10
@@ -1,10 +0,0 @@ -Lantiq cpu temperature sensor - -Requires node properties: -- compatible value : - "lantiq,cputemp" - -Example: - cputemp@0 { - compatible = "lantiq,cputemp"; - };
Signature · 1 line
2.47.2
Quoted 6 lines · Aleksander Jan Bajkowski
Convert the Lantiq cpu temperature sensor bindings to yaml format.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>---
v2:
- added reg property
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Quoted 4 lines · Aleksander Jan Bajkowski
Convert the Lantiq cpu temperature sensor bindings to yaml format.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Applied.
Guenter