From: Guenter Roeck <linux@roeck-us.net>
To: Andrea Merello <andrea.merello@gmail.com>
Cc: linux-hwmon@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>
Subject: Re: [PATCH v2 1/2] DT: add binding documentation for STTS751
Date: Tue, 4 Oct 2016 17:25:27 -0700 [thread overview]
Message-ID: <20161005002527.GA7857@roeck-us.net> (raw)
In-Reply-To: <1474978047-28290-2-git-send-email-andrea.merello@gmail.com>
On Tue, Sep 27, 2016 at 02:07:26PM +0200, Andrea Merello wrote:
> Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> ---
> Documentation/devicetree/bindings/hwmon/stts751.txt | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/stts751.txt
>
> diff --git a/Documentation/devicetree/bindings/hwmon/stts751.txt b/Documentation/devicetree/bindings/hwmon/stts751.txt
> new file mode 100644
> index 0000000..277ad46
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/stts751.txt
> @@ -0,0 +1,19 @@
> +* STTS751 thermometer.
> +
> +Required node properties:
> +- compatible: "stts751"
> +- reg: I2C bus address of the device
> +
> +Optional properties:
> +- has-therm: specifies that the "therm" pin is wired
> +- has-event: specifies that the "event" pin is wired
As mentioned in the code patch, I don't think those properties are actually
needed.
Guenter
> +- smbus-timeout-disable: when set, the smbus timeout function will be disabled
> +
> +Example stts751 node:
> +
> +temp-sensor {
> + compatible = "stts751";
> + reg = <0x48>;
> + has-therm;
> + has-event;
> +}
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-10-05 0:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-27 12:07 [PATCH v2 0/2] Add driver for ST stts751 thermal sensor Andrea Merello
2016-09-27 12:07 ` [PATCH v2 1/2] DT: add binding documentation for STTS751 Andrea Merello
2016-10-05 0:25 ` Guenter Roeck [this message]
2016-09-27 12:07 ` [PATCH v2 2/2] hwmon: new driver for ST stts751 thermal sensor Andrea Merello
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=20161005002527.GA7857@roeck-us.net \
--to=linux@roeck-us.net \
--cc=andrea.merello@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=mark.rutland@arm.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox