From: Rob Herring <robh@kernel.org>
To: Chanh Nguyen <chanh@os.amperecomputing.com>
Cc: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org,
linux-kernel@vger.kernel.org,
OpenBMC Maillist <openbmc@lists.ozlabs.org>,
Open Source Submission <patches@amperecomputing.com>,
Phong Vo <phong@os.amperecomputing.com>,
Thang Nguyen <thang@os.amperecomputing.com>,
Quan Nguyen <quan@os.amperecomputing.com>,
Khanh Pham <khpham@amperecomputing.com>
Subject: Re: [PATCH] dt-bindings: hwmon: Add adt7462
Date: Wed, 18 Sep 2024 17:05:53 -0500 [thread overview]
Message-ID: <20240918220553.GA2216504-robh@kernel.org> (raw)
In-Reply-To: <20240918103212.591204-1-chanh@os.amperecomputing.com>
On Wed, Sep 18, 2024 at 10:32:12AM +0000, Chanh Nguyen wrote:
> Add device tree binding and example for adt7462 device.
>
> Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
> ---
> .../bindings/hwmon/onnn,adt7462.yaml | 51 +++++++++++++++++++
> 1 file changed, 51 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/onnn,adt7462.yaml
>
> diff --git a/Documentation/devicetree/bindings/hwmon/onnn,adt7462.yaml b/Documentation/devicetree/bindings/hwmon/onnn,adt7462.yaml
> new file mode 100644
> index 000000000000..4a980cca419a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/onnn,adt7462.yaml
> @@ -0,0 +1,51 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/hwmon/onnn,adt7462.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ON Semiconductor ADT7462 Temperature, Voltage Monitor and Fan Controller
> +
> +maintainers:
> + - Chanh Nguyen <chanh@os.amperecomputing.com>
> +
> +description: |
> + The ADT7462 has temperature monitors, voltage monitors and multiple PWN Fan
> + controllers.
> +
> + The ADT7462 supports monitoring and controlling up to four PWM Fan Drive
> + Outputs and eight TACH Inputs Measures. The ADT7462 supports reading a single
> + on chip temperature sensor and three remote temperature sensors. There are up
> + to 13 voltage monitoring inputs, ranging from 12V to 0.9V.
> +
> + Datasheets:
> + https://www.onsemi.com/pub/Collateral/ADT7462-D.PDF
> +
> +properties:
> + compatible:
> + const: onnn,adt7462
> +
> + reg:
> + maxItems: 1
> +
> + resets:
> + maxItems: 1
How would this work? 'resets' generally is used for on-chip devices and
a reset controller. That doesn't exist at the board level. A standalone
device typically uses a GPIO lines if there's a s/w controlled reset.
That would be the 'reset-gpios' property.
Rob
next prev parent reply other threads:[~2024-09-18 22:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 10:32 [PATCH] dt-bindings: hwmon: Add adt7462 Chanh Nguyen
2024-09-18 13:09 ` Krzysztof Kozlowski
2024-09-18 16:07 ` Chanh Nguyen
2024-09-18 17:10 ` Guenter Roeck
2024-09-18 22:09 ` Rob Herring
2024-09-18 22:05 ` Rob Herring [this message]
2024-09-19 9:43 ` Chanh Nguyen
2024-09-19 10:39 ` Krzysztof Kozlowski
2024-09-19 15:02 ` Chanh Nguyen
2024-09-19 15:14 ` Guenter Roeck
2024-09-19 15:54 ` Chanh Nguyen
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=20240918220553.GA2216504-robh@kernel.org \
--to=robh@kernel.org \
--cc=chanh@os.amperecomputing.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=khpham@amperecomputing.com \
--cc=krzk+dt@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=openbmc@lists.ozlabs.org \
--cc=patches@amperecomputing.com \
--cc=phong@os.amperecomputing.com \
--cc=quan@os.amperecomputing.com \
--cc=thang@os.amperecomputing.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 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).