[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250916135216.GA3674673-robh@kernel.org>
Date: Tue, 16 Sep 2025 08:52:16 -0500
From: Rob Herring <robh@...nel.org>
To: Troy Mitchell <troy.mitchell@...ux.dev>
Cc: Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hwmon@...r.kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: Add CTF2301 devicetree bindings
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@...ux.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@...ux.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).
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
>
Powered by blists - more mailing lists