From: Conor Dooley <conor@kernel.org>
To: Colin Huang <colin.huang2@amd.com>
Cc: Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Colin Huang <u8813345@gmail.com>
Subject: Re: [PATCH v2 1/2] dt-bindings: hwmon: pmbus: Add Infineon tda38740 and tda38725
Date: Mon, 7 Sep 2026 18:03:49 +0100 [thread overview]
Message-ID: <20260907-kangaroo-ascend-d0541fbdc975@spud> (raw)
In-Reply-To: <20260907-add-tda38740-and-tda38725-v2-1-1d051d63aa01@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3676 bytes --]
On Mon, Sep 07, 2026 at 02:52:29PM +0800, Colin Huang wrote:
> From: Colin Huang <u8813345@gmail.com>
>
> Add devicetree bindings for the Infineon TDA38740 and TDA38725
> single-voltage synchronous buck regulators with PMBus interface.
>
> Signed-off-by: Colin Huang <u8813345@gmail.com>
> ---
> .../bindings/hwmon/pmbus/infineon,tda38740.yaml | 82 ++++++++++++++++++++++
> 1 file changed, 82 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38740.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38740.yaml
> new file mode 100644
> index 000000000000..c9bf19902d3c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38740.yaml
> @@ -0,0 +1,82 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +
> +$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,tda38740.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Infineon TDA38740 and TDA38725 PMBus Synchronous Buck Regulator
> +
> +maintainers:
> + - Colin Huang <u8813345@gmail.com>
> +
> +description: |
> + The Infineon TDA38740/TDA38725 is a 40A/25A single-voltage synchronous
> + buck regulator with a PMBus interface designed for industrial use.
> +
> + Datasheet:
> + https://www.infineon.com/row/public/documents/24/49/infineon-tda38740-tda38725-datasheet-en.pdf
> +
> +properties:
> + compatible:
> + enum:
> + - infineon,tda38725
> + - infineon,tda38740
If the programming model for these devices doesn't differ, one should
fall back to the other.
> +
> + reg:
> + maxItems: 1
> +
> + infineon,vout-scale-micro:
> + description: |
> + Scaling factor applied to READ_VOUT telemetry.
> +
> + TDA38740/25 pin strap parts are available in two flavors of
> + VOUT_SCALE_LOOP: 1:1 and 1:2.
> +
> + For the 1:1 VOUT_SCALE_LOOP version, output voltage sense pins are
> + directly connected to the output, and no resistor divider is used.
> +
> + For the 1:2 version, a resistor divider is typically used (for example,
> + 499 ohms for both top and bottom resistors).
> +
> + In some designs, users intentionally modify the feedback divider ratio
> + to obtain an output voltage different from the internally configured
> + VBOOT or VOUT value.
> +
> + In such cases, the device telemetry (READ_VOUT) continues to report
> + the internally programmed voltage and does not reflect the actual
> + externally adjusted output voltage.
> +
> + This property provides a multiplier to scale the reported telemetry
> + value so that the monitoring system reflects the actual output voltage.
> +
> + The value shall be expressed in micro units where 1,000,000 represents
> + a scaling factor of 1.0.
> +
> + Example:
> + If actual Vout = 0.75V and READ_VOUT reports 0.7V:
> + scaling factor = 0.75 / 0.7 = 1.071
> + value = 1071000
> + $ref: /schemas/types.yaml#/definitions/uint32
> + minimum: 100000
> + maximum: 2000000
This is not a required property, so you need a default.
pw-bot: changes-requested
Thanks,
Conor.
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + sensor@40 {
> + compatible = "infineon,tda38740";
> + reg = <0x40>;
> + infineon,vout-scale-micro = <1071000>;
> + };
> + };
> +
>
> --
> 2.34.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-09-07 17:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 6:52 [PATCH v2 0/2] Add driver for Infineon TDA38740/TDA38725 Colin Huang
2026-09-07 6:52 ` [PATCH v2 1/2] dt-bindings: hwmon: pmbus: Add Infineon tda38740 and tda38725 Colin Huang
2026-09-07 6:57 ` sashiko-bot
2026-09-07 17:03 ` Conor Dooley [this message]
2026-09-10 6:17 ` Colin Huang
2026-09-07 6:52 ` [PATCH v2 2/2] hwmon: (pmbus/tda38740) Add driver for Infineon TDA38740/TDA38725 Colin Huang
2026-09-07 6:58 ` sashiko-bot
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=20260907-kangaroo-ascend-d0541fbdc975@spud \
--to=conor@kernel.org \
--cc=colin.huang2@amd.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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 \
--cc=u8813345@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.