From: Troy Mitchell <troy.mitchell@linux.dev>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-hwmon@vger.kernel.org,
Troy Mitchell <troy.mitchell@linux.dev>
Subject: [PATCH 2/3] dt-bindings: Add CTF2301 devicetree bindings
Date: Tue, 16 Sep 2025 12:46:45 +0800 [thread overview]
Message-ID: <20250916-ctl2301-v1-2-97e7c84f2c47@linux.dev> (raw)
In-Reply-To: <20250916-ctl2301-v1-0-97e7c84f2c47@linux.dev>
Add dt-binding for the hwmon driver of Sensylink's CTF2301 chip.
Signed-off-by: Troy Mitchell <troy.mitchell@linux.dev>
---
.../bindings/hwmon/sensylink,ctf2301.yaml | 49 ++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/sensylink,ctf2301.yaml b/Documentation/devicetree/bindings/hwmon/sensylink,ctf2301.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..fe98f5b578320bc1b43ff88f76667990821a88f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/sensylink,ctf2301.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/sensylink,ctf2301.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sensylink CTF2301 system-level thermal management solution chip
+
+maintainers:
+ - Troy Mitchell <troy.mitchell@linux.dev>
+
+allOf:
+ - $ref: hwmon-common.yaml#
+
+description: |
+ The CTF2301B is an I2C/SMBus compatible device featuring:
+ - One local temperature sensor with ±0.5°C accuracy and 0.0625°C resolution.
+ - One remote temperature sensor for external diode-connected transistors, offering ±1°C accuracy and 0.125°C resolution (temperature range: -40°C to +125°C).
+ - An integrated PWM fan controller.
+ - A 1-channel fan speed monitor (TACH input) for RPM measurement.
+
+ Datasheets:
+ https://www.sensylink.com/upload/1/net.sensylink.portal/1689557281035.pdf
+
+properties:
+ compatible:
+ const:
+ - sensylink,ctf2301
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ctf2301@4c {
+ compatible = "sensylink,ctf2301";
+ reg = <0x4c>;
+ };
+ };
--
2.51.0
next prev parent reply other threads:[~2025-09-16 4:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-16 4:46 [PATCH 0/3] hwmon: (ctf2301) Add support for CTF2301 Troy Mitchell
2025-09-16 4:46 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Sensylink Troy Mitchell
2025-09-24 14:41 ` Guenter Roeck
2025-09-26 1:17 ` Troy Mitchell
2025-09-16 4:46 ` Troy Mitchell [this message]
2025-09-16 13:25 ` [PATCH 2/3] dt-bindings: Add CTF2301 devicetree bindings Rob Herring (Arm)
2025-09-16 13:52 ` Rob Herring
2025-09-17 6:40 ` Troy Mitchell
2025-09-16 4:46 ` [PATCH 3/3] hwmon: (ctf2301) Add support for CTF2301 Troy Mitchell
2025-09-16 5:02 ` Troy Mitchell
2025-09-24 15:43 ` Guenter Roeck
2025-09-26 1:32 ` Troy Mitchell
2025-09-26 3:57 ` Guenter Roeck
2025-09-26 13:21 ` Troy Mitchell
2025-09-26 13:33 ` Guenter Roeck
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=20250916-ctl2301-v1-2-97e7c84f2c47@linux.dev \
--to=troy.mitchell@linux.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzk+dt@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).