From: Krzysztof Kozlowski <krzk@kernel.org>
To: ASHISH YADAV <ashishyadav78@gmail.com>,
Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
ASHISH YADAV <Ashish.Yadav@infineon.com>
Subject: Re: [PATCH v2 2/2] dt-bindings: hwmon/pmbus: Add Infineon TDA38740A
Date: Wed, 7 Jan 2026 17:14:53 +0100 [thread overview]
Message-ID: <7bf30b16-c98e-4c18-816c-58f632fcf939@kernel.org> (raw)
In-Reply-To: <20260107144507.46491-2-Ashish.Yadav@infineon.com>
On 07/01/2026 15:45, ASHISH YADAV wrote:
> Document the TDA38740A/25A device tree binding.
>
> Signed-off-by: ASHISH YADAV <Ashish.Yadav@infineon.com>
>
> ---
> Changes in v2:
> - Review comments address:
You need to write here what you exactly changed.
> https://lore.kernel.org/all/2ee75453-0869-4348-ad92-f7ff71aca75d@kernel.org/
>
> Driver code in review process:
> https://www.spinics.net/lists/kernel/msg5985470.html
> ---
> .../hwmon/pmbus/infineon,tda38740a.yaml | 81 +++++++++++++++++++
> 1 file changed, 81 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38740a.yaml
>
> diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38740a.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38740a.yaml
> new file mode 100644
> index 000000000000..cd4102350a15
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38740a.yaml
> @@ -0,0 +1,81 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +
> +$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,tda38740a.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Infineon TDA38740A and TDA38725A Synchronous Buck Regulator with I2C
> +
> +maintainers:
> + - ASHISH YADAV <Ashish.Yadav@infineon.com>
> +
> +description: |
> + The Infineon TDA38740A/TDA38725A is a 40A/25A Single-voltage Synchronous
> + Buck Regulator with I2C designed for Industrial use.
> +
> + Datasheet:
> + https://www.infineon.com/assets/row/public/documents/24/49/infineon-tda38740a-tda38725a-datasheet-en.pdf
> +
> +properties:
> + compatible:
> + enum:
> + - infineon,tda38725a
> + - infineon,tda38740a
> +
> + reg:
> + maxItems: 1
> +
> + infineon,vout-voltage-multiplier:
vout of what? Of input supply? But there is no input supply... Maybe you
just want to set output regulator supply?
> + description: |
> + TDA38740/25 pin strap parts are available in two flavors of 1:1 & 1:2
> + vout scale loop.
> + For the 1:1 vout_scale_loop version, there is no need for any resistor
> + divider as output voltage sense pins are directly connected to
> + the output.
> +
> + For a 1:2 scale loop version, it is recommended to use 499 ohms each for
> + top and bottom across the feedback path.
> + However, in some applications customers tend to use an intentional
> + resistor divider across the output with a different divider ratio other
> + than 1:1 or 1:2 to alter the actual output voltage.
> +
> + For example, if pin strap part is set to Vboot of 0.7V,they use a
> + resistor divider to generate 0.75V using the equation provided in
> + Section 13.3 of the datasheet.In this case, as there are only two
> + vout_scale_loop options of 1:1 and 1:2 that the IC can identify,
> + Read_Vout would still read as 0.7V in the telemetry and the baseboard
> + management controllers would use this telemetry data to monitor the
> + rail parameters leading to false tripping of the system.
> + This multiplier is used to offset the telemetry output voltage Read_Vout
> + so that the telemetry data is reported correctly to the monitoring
> + controller,in this example the multiplier would be 0.75/0.7 = 1.071.
> +
> + This multiplier is required only for any external monitoring of the rail
> + output voltage. All the other Vout related parameters are used
> + internally by the IC and there is only a slight impact on the fault
> + thresholds.The impact can be calculated using equations in Section 13.3
> + of the datasheet.
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + minItems: 2
> + maxItems: 2
> +
So this was a regulator before, now it is not. Confusing... Parts of the
description are saying this is regulator, so you miss regulator.yaml
reference in top-level. Anyway, I am not doing full review with such
incomplete changelog.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-01-07 16:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 14:45 [PATCH v2 1/2] hwmon:(pmbus/tda38740a) TDA38740A Voltage Regulator Driver ASHISH YADAV
2026-01-07 14:45 ` [PATCH v2 2/2] dt-bindings: hwmon/pmbus: Add Infineon TDA38740A ASHISH YADAV
2026-01-07 16:14 ` Krzysztof Kozlowski [this message]
2026-01-08 9:24 ` ashish yadav
2026-01-08 8:54 ` Krzysztof Kozlowski
2026-01-08 9:17 ` ashish yadav
2026-01-12 21:42 ` Guenter Roeck
2026-01-13 7:27 ` ashish yadav
2026-01-09 16:23 ` [PATCH v2 1/2] hwmon:(pmbus/tda38740a) TDA38740A Voltage Regulator Driver ashish yadav
2026-01-12 21:51 ` Guenter Roeck
2026-01-13 7:24 ` ashish yadav
2026-01-13 15:10 ` Guenter Roeck
2026-01-22 11:42 ` ashish yadav
2026-02-02 0:29 ` Guenter Roeck
2026-02-09 5:04 ` ashish yadav
2026-02-09 16:09 ` 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=7bf30b16-c98e-4c18-816c-58f632fcf939@kernel.org \
--to=krzk@kernel.org \
--cc=Ashish.Yadav@infineon.com \
--cc=ashishyadav78@gmail.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 \
/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®