From: Chanh Nguyen <chanh@os.amperecomputing.com>
To: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org,
linux-kernel@vger.kernel.org,
OpenBMC Maillist <openbmc@lists.ozlabs.org>,
Open Source Submission <patches@amperecomputing.com>
Cc: Phong Vo <phong@os.amperecomputing.com>,
Thang Nguyen <thang@os.amperecomputing.com>,
Quan Nguyen <quan@os.amperecomputing.com>,
Khanh Pham <khpham@amperecomputing.com>,
Chanh Nguyen <chanh@os.amperecomputing.com>
Subject: [PATCH] dt-bindings: hwmon: Add adt7462
Date: Wed, 18 Sep 2024 10:32:12 +0000 [thread overview]
Message-ID: <20240918103212.591204-1-chanh@os.amperecomputing.com> (raw)
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
next reply other threads:[~2024-09-18 10:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 10:32 Chanh Nguyen [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240918103212.591204-1-chanh@os.amperecomputing.com \
--to=chanh@os.amperecomputing.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=khpham@amperecomputing.com \
--cc=krzk+dt@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=openbmc@lists.ozlabs.org \
--cc=patches@amperecomputing.com \
--cc=phong@os.amperecomputing.com \
--cc=quan@os.amperecomputing.com \
--cc=robh+dt@kernel.org \
--cc=thang@os.amperecomputing.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®