Linux Documentation
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Rob Herring <robh@kernel.org>,
	Grant Peltier <grantpeltier93@gmail.com>,
	geert+renesas@glider.be, magnus.damm@gmail.com,
	grant.peltier.jg@renesas.com, brandon.howell.jg@renesas.com,
	linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-doc@vger.kernel.org
Subject: Re: [PATCH v6 2/2] dt-bindings: hwmon: isl68137: add bindings to support voltage dividers
Date: Tue, 5 Nov 2024 18:35:25 +0000	[thread overview]
Message-ID: <20241105-imprecise-unharmed-ec1474ad1acc@spud> (raw)
In-Reply-To: <2afabeb7-9cf7-4092-965d-55a9c0762948@roeck-us.net>

[-- Attachment #1: Type: text/plain, Size: 3708 bytes --]

On Tue, Nov 05, 2024 at 07:45:38AM -0800, Guenter Roeck wrote:
> On 11/5/24 04:19, Rob Herring wrote:
> > On Mon, Nov 4, 2024 at 7:20 PM Guenter Roeck <linux@roeck-us.net> wrote:
> > > 
> > > On 11/4/24 07:08, Rob Herring wrote:
> > > > On Wed, Oct 30, 2024 at 5:41 PM Grant Peltier <grantpeltier93@gmail.com> wrote:
> > > > > 
> > > > > Add devicetree bindings to support declaring optional voltage dividers to
> > > > > the rail outputs of supported digital multiphase regulators. Some
> > > > > applications require Vout to exceed the voltage range that the Vsense pin
> > > > > can detect. This binding definition allows users to define the
> > > > > characteristics of a voltage divider placed between Vout and the Vsense
> > > > > pin for any rail powered by the device.
> > > > > 
> > > > > These bindings copy the vout-voltage-divider property defined in the
> > > > > maxim,max20730 bindings schema since it is the best fit for the use case
> > > > > of scaling hwmon PMBus telemetry. The generic voltage-divider property
> > > > > used by many iio drivers was determined to be a poor fit because that
> > > > > schema is tied directly to iio for the purpose of scaling io-channel
> > > > > voltages and the isl68137 driver is not an iio driver.
> > > > > 
> > > > > Signed-off-by: Grant Peltier <grantpeltier93@gmail.com>
> > > > > ---
> > > > >    .../hwmon/pmbus/renesas,isl68137.yaml         | 147 ++++++++++++++++++
> > > > >    1 file changed, 147 insertions(+)
> > > > >    create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/renesas,isl68137.yaml
> > > > > 
> > > > > diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/renesas,isl68137.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/renesas,isl68137.yaml
> > > > > new file mode 100644
> > > > > index 000000000000..ed659c2baadf
> > > > > --- /dev/null
> > > > > +++ b/Documentation/devicetree/bindings/hwmon/pmbus/renesas,isl68137.yaml
> > > > > @@ -0,0 +1,147 @@
> > > > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > > > > +%YAML 1.2
> > > > > +---
> > > > > +
> > > > > +$id: http://devicetree.org/schemas/hwmon/pmbus/renesas,isl68137.yaml#
> > > > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > > > +
> > > > > +title: Renesas Digital Multiphase Voltage Regulators with PMBus
> > > > > +
> > > > > +maintainers:
> > > > > +  - Grant Peltier <grant.peltier.jg@renesas.com>
> > > > > +
> > > > > +description: |
> > > > > +  Renesas digital multiphase voltage regulators with PMBus.
> > > > > +  https://www.renesas.com/en/products/power-management/multiphase-power/multiphase-dcdc-switching-controllers
> > > > > +
> > > > > +properties:
> > > > > +  compatible:
> > > > > +    enum:
> > > > 
> > > > Somehow "isl68137" is missing from your list. "make
> > > > dt_compatible_check" reports it as not documented.
> > > > 
> > > 
> > > Turns out it is also documented as "isil,isl68137" in trivial-devices.yaml
> > > (together with isil,isl69260). Both are referenced in .dts files. How should
> > > that be handled ?
> > 
> > Move those compatibles here. And this file should be renamed to
> > isil,isl68137.yaml or some other actual compatible value.
> > 
> 
> I guess that is a bit more complicated since Renesas acquired Intersil.
> Is there a common guidance explaining how new compatibles should be defined
> in such situations ?
> 
> Anyway, I had the patches queued in linux-next. I dropped them until
> this is sorted out.

The old ones with existing compatibles should keep their names, the new ones
should probably match whatever is in their datasheet so that people can
have an easier time.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2024-11-05 18:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 22:40 [PATCH v6 0/2] dt-bindings: hwmon: pmbus: add bindings for isl68137 Grant Peltier
2024-10-30 22:40 ` [PATCH v6 1/2] hwmon: (pmbus/isl68137) add support for voltage divider on Vout Grant Peltier
2024-11-01 14:31   ` Guenter Roeck
2024-10-30 22:41 ` [PATCH v6 2/2] dt-bindings: hwmon: isl68137: add bindings to support voltage dividers Grant Peltier
2024-10-31 18:18   ` Rob Herring (Arm)
2024-10-31 18:18   ` Rob Herring (Arm)
2024-11-01 14:28   ` Guenter Roeck
2024-11-04 15:08   ` Rob Herring
2024-11-05  1:20     ` Guenter Roeck
2024-11-05 12:19       ` Rob Herring
2024-11-05 15:45         ` Guenter Roeck
2024-11-05 18:35           ` Conor Dooley [this message]
2024-11-05 18:41             ` Geert Uytterhoeven

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=20241105-imprecise-unharmed-ec1474ad1acc@spud \
    --to=conor@kernel.org \
    --cc=brandon.howell.jg@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=grant.peltier.jg@renesas.com \
    --cc=grantpeltier93@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=magnus.damm@gmail.com \
    --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