Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: hwmon: Convert apm,xgene-slimpro-hwmon to DT schema

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>
Link: https://lore.kernel.org/r/20251013213127.692373-1-robh@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Rob Herring (Arm) and committed by
Guenter Roeck
81a34b59 d3f849c7

+30 -14
+30
Documentation/devicetree/bindings/hwmon/apm,xgene-slimpro-hwmon.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/hwmon/apm,xgene-slimpro-hwmon.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: APM X-Gene SLIMpro hwmon 8 + 9 + maintainers: 10 + - Khuong Dinh <khuong@os.amperecomputing.com> 11 + 12 + properties: 13 + compatible: 14 + const: apm,xgene-slimpro-hwmon 15 + 16 + mboxes: 17 + maxItems: 1 18 + 19 + required: 20 + - compatible 21 + - mboxes 22 + 23 + additionalProperties: false 24 + 25 + examples: 26 + - | 27 + hwmon { 28 + compatible = "apm,xgene-slimpro-hwmon"; 29 + mboxes = <&mailbox 7>; 30 + };
-14
Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
··· 1 - APM X-Gene hwmon driver 2 - 3 - APM X-Gene SOC sensors are accessed over the "SLIMpro" mailbox. 4 - 5 - Required properties : 6 - - compatible : should be "apm,xgene-slimpro-hwmon" 7 - - mboxes : use the label reference for the mailbox as the first parameter. 8 - The second parameter is the channel number. 9 - 10 - Example : 11 - hwmonslimpro { 12 - compatible = "apm,xgene-slimpro-hwmon"; 13 - mboxes = <&mailbox 7>; 14 - };