* [PATCH] dt-bindings: hwmon: Convert apm,xgene-slimpro-hwmon to DT schema
@ 2025-10-13 21:31 Rob Herring (Arm)
2025-10-14 15:15 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-10-13 21:31 UTC (permalink / raw)
To: Guenter Roeck, Krzysztof Kozlowski, Conor Dooley, Khuong Dinh
Cc: linux-hwmon, devicetree, linux-kernel
Convert APM X-Gene slimpro-hwmon binding to DT schema format. It's a
straight-forward conversion.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../hwmon/apm,xgene-slimpro-hwmon.yaml | 30 +++++++++++++++++++
.../bindings/hwmon/apm-xgene-hwmon.txt | 14 ---------
2 files changed, 30 insertions(+), 14 deletions(-)
create mode 100644 Documentation/devicetree/bindings/hwmon/apm,xgene-slimpro-hwmon.yaml
delete mode 100644 Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
diff --git a/Documentation/devicetree/bindings/hwmon/apm,xgene-slimpro-hwmon.yaml b/Documentation/devicetree/bindings/hwmon/apm,xgene-slimpro-hwmon.yaml
new file mode 100644
index 000000000000..58c51626a9ce
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/apm,xgene-slimpro-hwmon.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/apm,xgene-slimpro-hwmon.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: APM X-Gene SLIMpro hwmon
+
+maintainers:
+ - Khuong Dinh <khuong@os.amperecomputing.com>
+
+properties:
+ compatible:
+ const: apm,xgene-slimpro-hwmon
+
+ mboxes:
+ maxItems: 1
+
+required:
+ - compatible
+ - mboxes
+
+additionalProperties: false
+
+examples:
+ - |
+ hwmon {
+ compatible = "apm,xgene-slimpro-hwmon";
+ mboxes = <&mailbox 7>;
+ };
diff --git a/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt b/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
deleted file mode 100644
index 59b38557f1bb..000000000000
--- a/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-APM X-Gene hwmon driver
-
-APM X-Gene SOC sensors are accessed over the "SLIMpro" mailbox.
-
-Required properties :
- - compatible : should be "apm,xgene-slimpro-hwmon"
- - mboxes : use the label reference for the mailbox as the first parameter.
- The second parameter is the channel number.
-
-Example :
- hwmonslimpro {
- compatible = "apm,xgene-slimpro-hwmon";
- mboxes = <&mailbox 7>;
- };
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: Convert apm,xgene-slimpro-hwmon to DT schema
2025-10-13 21:31 [PATCH] dt-bindings: hwmon: Convert apm,xgene-slimpro-hwmon to DT schema Rob Herring (Arm)
@ 2025-10-14 15:15 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2025-10-14 15:15 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Krzysztof Kozlowski, Conor Dooley, Khuong Dinh, linux-hwmon,
devicetree, linux-kernel
On Mon, Oct 13, 2025 at 04:31:26PM -0500, Rob Herring (Arm) wrote:
> Convert APM X-Gene slimpro-hwmon binding to DT schema format. It's a
> straight-forward conversion.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-14 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 21:31 [PATCH] dt-bindings: hwmon: Convert apm,xgene-slimpro-hwmon to DT schema Rob Herring (Arm)
2025-10-14 15:15 ` 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).