From: Guenter Roeck <linux@roeck-us.net>
To: Sinan Divarci <Sinan.Divarci@analog.com>
Cc: jdelvare@suse.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, linux-hwmon@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] docs: hwmon: add max31732 documentation
Date: Thu, 29 Dec 2022 07:39:57 -0800 [thread overview]
Message-ID: <20221229153957.GA24429@roeck-us.net> (raw)
In-Reply-To: <20221214142206.13288-3-Sinan.Divarci@analog.com>
On Wed, Dec 14, 2022 at 05:22:05PM +0300, Sinan Divarci wrote:
> Adding documentation for max31732 quad remote temperature sensor
>
> Signed-off-by: Sinan Divarci <Sinan.Divarci@analog.com>
> ---
> Documentation/hwmon/index.rst | 1 +
> Documentation/hwmon/max31732.rst | 62 ++++++++++++++++++++++++++++++++
> 2 files changed, 63 insertions(+)
> create mode 100644 Documentation/hwmon/max31732.rst
>
> diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst
> index fe2cc6b73..e521bf555 100644
> --- a/Documentation/hwmon/index.rst
> +++ b/Documentation/hwmon/index.rst
> @@ -133,6 +133,7 @@ Hardware Monitoring Kernel Drivers
> max20751
> max31722
> max31730
> + max31732
> max31760
> max31785
> max31790
> diff --git a/Documentation/hwmon/max31732.rst b/Documentation/hwmon/max31732.rst
> new file mode 100644
> index 000000000..67bfcf393
> --- /dev/null
> +++ b/Documentation/hwmon/max31732.rst
> @@ -0,0 +1,62 @@
> +.. SPDX-License-Identifier: GPL-2.0-or-later
> +
> +Kernel driver max31732
> +======================
> +
> +Supported chips:
> +
> + * Analog Devices MAX31732
> +
> + Prefix: 'max31732'
> +
> + Addresses scanned: none
> +
> +Author: Sinan Divarci <Sinan.Divarci@analog.com>
> +
> +
> +Description
> +-----------
> +
> +This driver implements support for Maxim MAX31732.
> +
> +The MAX31732 is a multi-channel temperature sensor that monitors its
> +own temperature and the temperatures of up to four external diodeconnected
> +transistors. The device operates with 3.0V to 3.6V supply range
> +and consume TBDμA of current in standby mode of operation. Resistance
TBDμA ?
> +cancellation feature compensates for high series resistance between
> +circuit-board traces and the external thermal diode, while beta
> +compensation corrects for temperature-measurement errors due to lowbeta
> +sensing transistors.
> +
> +The MAX31732 offers two open-drain, active-low alarm outputs,
> +ALARM1 and ALARM2. When the measured temperature of a channel
> +crosses the respective primary over/under temperature threshold levels
> +ALARM1 asserts low and a status bit is set in the corresponding thermal
> +status registers. When the measured temperature of a channel crosses the
> +secondary over/under temperature threshold levels, ALARM2 asserts low
> +and a status bit is set in the corresponding thermal status registers.
> +
> +Temperature measurement range: from -64°C to 150°C
> +
> +Temperature Resolution: 12 Bits, ±0.0625°C
> +
> +Sysfs entries
> +-------------
> +
> +===================== == =======================================================
> +temp[1-5]_enable RW Temperature enable/disable
> + Set to 1 to enable channel, 0 to disable
> +temp[1-5]_input RO Temperature input
> +temp[2-5]_fault RO Fault indicator for remote channels
> +temp[1-5]_max RW Temperature max value. Asserts "ALARM1" pin when exceeded
> +temp[1-5]_max_alarm RO Temperature max alarm status
> +temp[1-5]_crit RW Temperature critical value. Asserts "ALARM2" pin when exceeded
> +temp[1-5]_crit_alarm RO Temperature critical alarm status
> +temp[1-5]_min RW Temperature min value. Common for all channels.
> + Only temp1_min is writeable. Asserts "ALARM1" pin when exceeded
> +temp[1-5]_min_alarm RO Temperature min alarm status
> +temp[1-5]_lcrit RW Temperature critical low value. Common for all channels.
> + Only temp1_min is writeable. Asserts "ALARM2" pin when exceeded
> +temp[1-5]_lcrit_alarm RO Temperature critical low alarm status
> +temp[2-5]_offset RW Temperature offset for remote channels
> +===================== == =======================================================
next prev parent reply other threads:[~2022-12-29 15:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-14 14:22 [PATCH v2 0/3] hwmon: Add max31732 quad remote temperature sensor driver Sinan Divarci
2022-12-14 14:22 ` [PATCH v2 1/3] drivers: " Sinan Divarci
2022-12-14 17:02 ` Krzysztof Kozlowski
2022-12-14 17:24 ` Guenter Roeck
2022-12-15 8:32 ` Krzysztof Kozlowski
2022-12-29 15:38 ` Guenter Roeck
2022-12-14 14:22 ` [PATCH v2 2/3] docs: hwmon: add max31732 documentation Sinan Divarci
2022-12-29 15:39 ` Guenter Roeck [this message]
2022-12-14 14:22 ` [PATCH v2 3/3] dt-bindings: hwmon: Add bindings for max31732 Sinan Divarci
2022-12-14 17:00 ` Krzysztof Kozlowski
2022-12-29 15:52 ` Guenter Roeck
2022-12-29 16:39 ` Krzysztof Kozlowski
2022-12-29 18:30 ` 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=20221229153957.GA24429@roeck-us.net \
--to=linux@roeck-us.net \
--cc=Sinan.Divarci@analog.com \
--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=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.