From: Rob Herring <robh+dt@kernel.org>
To: Conor Dooley <conor@kernel.org>
Cc: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>,
patrick@stwcx.xyz, Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] dt-bindings: hwmon: add MAX31790
Date: Fri, 15 Sep 2023 10:20:54 -0500 [thread overview]
Message-ID: <CAL_JsqKWRfT71k56uMUJtU_abzFuicW01OBo-iScYash4Jrd2w@mail.gmail.com> (raw)
In-Reply-To: <20230915-quench-left-8fbc1ca3b1da@spud>
On Fri, Sep 15, 2023 at 9:50 AM Conor Dooley <conor@kernel.org> wrote:
>
> Yo,
>
> On Fri, Sep 15, 2023 at 02:29:24PM +0800, Delphine CC Chiu wrote:
> > Add dt-bindings for the MAXIM MAX31790.
> >
> > Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
> > ---
> > Changelog:
> > v2 - Add dt-bindings for the MAXIM MAX31790.
> > ---
> > .../bindings/hwmon/maxim,max31790.yaml | 59 +++++++++++++++++++
> > MAINTAINERS | 6 ++
> > 2 files changed, 65 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml b/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml
> > new file mode 100644
> > index 000000000000..2bd455b36b3f
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml
> > @@ -0,0 +1,59 @@
> > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +
> > +$id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Maxim max31790
> > +
> > +maintainers:
> > + - Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
> > +
> > +description: |
> > + The MAX31790 controls the speeds of up to six fans using
> > + six independent PWM outputs. The desired fan speeds (or PWM duty cycles)
> > + are written through the I2C interface.
> > + The outputs drive “4-wire” fans directly, or can be used to modulate
> > + the fan’s power terminals using an external pass transistor.
> > +
> > + Datasheets:
> > + https://datasheets.maximintegrated.com/en/ds/MAX31790.pdf
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - maxim,max31790
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + pwm-as-tach:
>
> I don't see any other users of this in-tree, so you'd need a vendor
> prefix. That said, I'm once bitten, twice shy about fan related
> properties in hwmon, so I would definitely like Rob to comment on this
> whole binding.
Please see this[1] and comment on it to ensure it meets your needs.
Otherwise, omit any fan related properties for now.
Rob
[1] https://lore.kernel.org/all/20230830123202.3408318-2-billy_tsai@aspeedtech.com/
next prev parent reply other threads:[~2023-09-15 15:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-15 6:29 [PATCH v2 0/2] hwmon: max31790: support to config PWM as TACH Delphine CC Chiu
2023-09-15 6:29 ` [PATCH v2 1/2] " Delphine CC Chiu
2023-09-15 6:29 ` [PATCH v2 2/2] dt-bindings: hwmon: add MAX31790 Delphine CC Chiu
2023-09-15 14:50 ` Conor Dooley
2023-09-15 15:20 ` Rob Herring [this message]
2023-09-22 2:33 ` Delphine_CC_Chiu/WYHQ/Wiwynn
2023-09-22 9:53 ` Conor Dooley
2023-09-22 14:42 ` 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=CAL_JsqKWRfT71k56uMUJtU_abzFuicW01OBo-iScYash4Jrd2w@mail.gmail.com \
--to=robh+dt@kernel.org \
--cc=Delphine_CC_Chiu@wiwynn.com \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=patrick@stwcx.xyz \
/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;
as well as URLs for NNTP newsgroup(s).