Re: [PATCH 2/3] dt-bindings: Add CTF2301 devicetree bindings
From: Rob Herring
Date: Tue Sep 16 2025 - 09:52:41 EST
On Tue, Sep 16, 2025 at 12:46:45PM +0800, Troy Mitchell wrote:
> Add dt-binding for the hwmon driver of Sensylink's CTF2301 chip.
>
> Signed-off-by: Troy Mitchell <troy.mitchell@xxxxxxxxx>
> ---
> .../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@xxxxxxxxx>
> +
> +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).
Wrap at 80 chars.
> + - 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
>