linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: hwmon: convert lantiq-cputemp to yaml
@ 2025-08-14  8:04 Aleksander Jan Bajkowski
  2025-08-15  9:18 ` Krzysztof Kozlowski
  2025-08-27 15:54 ` Guenter Roeck
  0 siblings, 2 replies; 3+ messages in thread
From: Aleksander Jan Bajkowski @ 2025-08-14  8:04 UTC (permalink / raw)
  To: jdelvare, linux, robh, krzk+dt, conor+dt, fe, linux-hwmon,
	devicetree, linux-kernel
  Cc: Aleksander Jan Bajkowski

Convert the Lantiq cpu temperature sensor bindings to yaml format.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
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

diff --git a/Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml b/Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml
new file mode 100644
index 000000000000..9419b481ff35
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml
@@ -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 <fe@dev.tdt.de>
+
+properties:
+  compatible:
+    const: lantiq,cputemp
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    cputemp@103040 {
+        compatible = "lantiq,cputemp";
+        reg = <0x103040 0x4>;
+    };
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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] dt-bindings: hwmon: convert lantiq-cputemp to yaml
  2025-08-14  8:04 [PATCH v2] dt-bindings: hwmon: convert lantiq-cputemp to yaml Aleksander Jan Bajkowski
@ 2025-08-15  9:18 ` Krzysztof Kozlowski
  2025-08-27 15:54 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-15  9:18 UTC (permalink / raw)
  To: Aleksander Jan Bajkowski
  Cc: jdelvare, linux, robh, krzk+dt, conor+dt, fe, linux-hwmon,
	devicetree, linux-kernel

On Thu, Aug 14, 2025 at 10:04:41AM +0200, Aleksander Jan Bajkowski wrote:
> Convert the Lantiq cpu temperature sensor bindings to yaml format.
> 
> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
> ---
> v2:
> - added reg property 

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] dt-bindings: hwmon: convert lantiq-cputemp to yaml
  2025-08-14  8:04 [PATCH v2] dt-bindings: hwmon: convert lantiq-cputemp to yaml Aleksander Jan Bajkowski
  2025-08-15  9:18 ` Krzysztof Kozlowski
@ 2025-08-27 15:54 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2025-08-27 15:54 UTC (permalink / raw)
  To: Aleksander Jan Bajkowski
  Cc: jdelvare, robh, krzk+dt, conor+dt, fe, linux-hwmon, devicetree,
	linux-kernel

On Thu, Aug 14, 2025 at 10:04:41AM +0200, Aleksander Jan Bajkowski wrote:
> Convert the Lantiq cpu temperature sensor bindings to yaml format.
> 
> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Applied.

Guenter

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-27 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14  8:04 [PATCH v2] dt-bindings: hwmon: convert lantiq-cputemp to yaml Aleksander Jan Bajkowski
2025-08-15  9:18 ` Krzysztof Kozlowski
2025-08-27 15:54 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).