devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: hwmon: Add adt7462
@ 2024-09-18 10:32 Chanh Nguyen
  2024-09-18 13:09 ` Krzysztof Kozlowski
  2024-09-18 22:05 ` Rob Herring
  0 siblings, 2 replies; 11+ messages in thread
From: Chanh Nguyen @ 2024-09-18 10:32 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree, linux-hwmon, linux-kernel,
	OpenBMC Maillist, Open Source Submission
  Cc: Phong Vo, Thang Nguyen, Quan Nguyen, Khanh Pham, Chanh Nguyen

Add device tree binding and example for adt7462 device.

Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
---
 .../bindings/hwmon/onnn,adt7462.yaml          | 51 +++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/onnn,adt7462.yaml

diff --git a/Documentation/devicetree/bindings/hwmon/onnn,adt7462.yaml b/Documentation/devicetree/bindings/hwmon/onnn,adt7462.yaml
new file mode 100644
index 000000000000..4a980cca419a
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/onnn,adt7462.yaml
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/onnn,adt7462.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ON Semiconductor ADT7462 Temperature, Voltage Monitor and Fan Controller
+
+maintainers:
+  - Chanh Nguyen <chanh@os.amperecomputing.com>
+
+description: |
+  The ADT7462 has temperature monitors, voltage monitors and multiple PWN Fan
+  controllers.
+
+  The ADT7462 supports monitoring and controlling up to four PWM Fan Drive
+  Outputs and eight TACH Inputs Measures. The ADT7462 supports reading a single
+  on chip temperature sensor and three remote temperature sensors. There are up
+  to 13 voltage monitoring inputs, ranging from 12V to 0.9V.
+
+  Datasheets:
+    https://www.onsemi.com/pub/Collateral/ADT7462-D.PDF
+
+properties:
+  compatible:
+    const: onnn,adt7462
+
+  reg:
+    maxItems: 1
+
+  resets:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      hwmon@5c {
+        compatible = "onnn,adt7462";
+        reg = <0x5c>;
+        resets = <&reset 0>;
+      };
+    };
-- 
2.43.0


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

end of thread, other threads:[~2024-09-19 15:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-18 10:32 [PATCH] dt-bindings: hwmon: Add adt7462 Chanh Nguyen
2024-09-18 13:09 ` Krzysztof Kozlowski
2024-09-18 16:07   ` Chanh Nguyen
2024-09-18 17:10     ` Guenter Roeck
2024-09-18 22:09   ` Rob Herring
2024-09-18 22:05 ` Rob Herring
2024-09-19  9:43   ` Chanh Nguyen
2024-09-19 10:39     ` Krzysztof Kozlowski
2024-09-19 15:02       ` Chanh Nguyen
2024-09-19 15:14         ` Guenter Roeck
2024-09-19 15:54           ` Chanh Nguyen

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).