[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250813091924.1075488-1-olek2@wp.pl>
Date: Wed, 13 Aug 2025 11:19:21 +0200
From: Aleksander Jan Bajkowski <olek2@...pl>
To: jdelvare@...e.com,
linux@...ck-us.net,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
fe@....tdt.de,
linux-hwmon@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Aleksander Jan Bajkowski <olek2@...pl>
Subject: [PATCH] dt-bindings: hwmon: convert lantiq-cputemp to yaml
Convert the Lantiq cpu temperature sensor bindings to yaml format.
Signed-off-by: Aleksander Jan Bajkowski <olek2@...pl>
---
.../bindings/hwmon/lantiq,cputemp.yaml | 25 +++++++++++++++++++
.../devicetree/bindings/hwmon/ltq-cputemp.txt | 10 --------
2 files changed, 25 insertions(+), 10 deletions(-)
create mode 100644 Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml
delete mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt
diff --git a/Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml b/Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml
new file mode 100644
index 000000000000..5dbe1c631a34
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml
@@ -0,0 +1,25 @@
+# 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 <fe@....tdt.de>
+
+properties:
+ compatible:
+ const: lantiq,cputemp
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ cputemp {
+ compatible = "lantiq,cputemp";
+ };
diff --git a/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt b/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt
deleted file mode 100644
index 473b34c876dd..000000000000
--- a/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Lantiq cpu temperature sensor
-
-Requires node properties:
-- compatible value :
- "lantiq,cputemp"
-
-Example:
- cputemp@0 {
- compatible = "lantiq,cputemp";
- };
--
2.47.2
Powered by blists - more mailing lists