From: Krzysztof Kozlowski <krzk@kernel.org>
To: Vincent Jardin <vjardin@free.fr>
Cc: Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH v5 2/3] dt-bindings: hwmon: pmbus: add MPS MPQ8646 binding
Date: Mon, 27 Jul 2026 09:13:53 +0200 [thread overview]
Message-ID: <20260727-sceptical-finicky-waxbill-d7ecbf@quoll> (raw)
In-Reply-To: <20260724-mpq8646_v0-v5-2-5915b5ae9aa2@free.fr>
On Fri, Jul 24, 2026 at 01:55:28AM +0200, Vincent Jardin wrote:
> Add a device-tree binding for the Monolithic Power Systems
> MPQ8646 step-down converter as a PMBus device.
>
> The schema is inspired from the mpq8785e:
> same mps,vout-fb-divider-ratio-permille property (maximum: 2047),
> and const: mps,mpq8646.
>
> Signed-off-by: Vincent Jardin <vjardin@free.fr>
A nit, subject: drop second/last, redundant "binding". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v7.1-rc7/source/Documentation/devicetree/bindings/submitting-patches.rst#L23
> ---
> .../bindings/hwmon/pmbus/mps,mpq8646.yaml | 50 ++++++++++++++++++++++
> 1 file changed, 50 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8646.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8646.yaml
> new file mode 100644
> index 000000000000..7acf4f235b12
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8646.yaml
> @@ -0,0 +1,50 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +# Copyright (c) 2026 Free Mobile - Vincent Jardin <vjardin@free.fr>
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/hwmon/pmbus/mps,mpq8646.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Monolithic Power Systems MPQ8646 PMBus Step-Down Converter (extended)
> +
> +maintainers:
> + - Vincent Jardin <vjardin@free.fr>
> +
> +description: |
Do not need '|' unless you need to preserve formatting.
> + MPS MPQ8646 PMBus step-down converter.
> +
> +properties:
> + compatible:
> + const: mps,mpq8646
> +
> + reg:
> + maxItems: 1
> +
> + mps,vout-fb-divider-ratio-permille:
> + description:
> + The feedback resistor divider ratio, expressed in permille
> + (Vfb / Vout * 1000). This value is written to the
> + PMBUS_VOUT_SCALE_LOOP register and is required for correct output
> + voltage presentation.
> + $ref: /schemas/types.yaml#/definitions/uint32
> + minimum: 1
> + maximum: 2047
> + default: 706
Everything is the same as mps,mpq8785.yam, so why it cannot be added
there? Just grow the list of if:then: to cover your specific
constraints.
Even default is the same... I do not get why looking at other schema
which combines different devices with same default and same maximum
value, you still decided to create a new file.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-07-27 7:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 23:55 [PATCH v5 0/3] hwmon: pmbus: add MPS MPQ8646 support Vincent Jardin via B4 Relay
2026-07-23 23:55 ` [PATCH v5 1/3] hwmon: pmbus: event notification with alarms Vincent Jardin via B4 Relay
2026-07-23 23:55 ` [PATCH v5 2/3] dt-bindings: hwmon: pmbus: add MPS MPQ8646 binding Vincent Jardin via B4 Relay
2026-07-27 7:13 ` Krzysztof Kozlowski [this message]
2026-07-23 23:55 ` [PATCH v5 3/3] hwmon: pmbus: add MPQ8646 driver Vincent Jardin via B4 Relay
2026-07-24 2:15 ` Guenter Roeck
2026-07-24 10:18 ` Vincent Jardin
2026-07-24 13:23 ` Guenter Roeck
2026-07-24 14:00 ` Guenter Roeck
2026-07-24 16:40 ` Markus Elfring
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=20260727-sceptical-finicky-waxbill-d7ecbf@quoll \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=vjardin@free.fr \
/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®