Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1509832
| Path | csiph.com!news.freedyn.net!news.redatomik.org!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Rob Herring <robh@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] hwmon: (mcp3021) add devicetree bindings documentation |
| Date | Wed, 26 Oct 2016 23:20:02 +0200 |
| Message-ID | <swDM6-Ri-27@gated-at.bofh.it> (permalink) |
| References | <su1hT-3b7-3@gated-at.bofh.it> |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=l0wJPtd27CZ879BqAZXg+WhMQmIaQfJ85PKkxNGpKD0=; b=dMkKI/pGihSiqWOhcdJPOYOg3TSoozYofyVeptjhxQD87TYKmLcAhWgRlYOCgBzkzf gyVNjpcoq4xnnxKmOpLo8JdmLACpL2wQZ30f/SR+TBV/0/pqsAHPzixTccjW7u/zBe5I uWONfj1bbqk/nKEXoaLSkQrsmFi5nVXKzOzuRCrryVZQJPgV2QFMmjvy/EFxcWTknjRW aFhsgciCHJYpefEHV33hObF8+g9EHs/hMzQ9wNei2ewUxARo/Qf2neKAACOMZ7UFm3Ej Va5orRGEwKo7BJsvm1F+RwGd+N6nsPwySn41Xw/QQIvp/aaGCPvvixnXUekXo3qPc0s3 9geg== |
| X-Gm-Message-State | ABUngvdSDOqGAI9kuFwTOj4WLuYvp/gnV400l2oGA5hcJtSuw/0ofKk6gMGwUQTgLc5J8w== |
| X-Received | by 10.157.11.121 with SMTP id p54mr3059348otd.109.1477516379815; Wed, 26 Oct 2016 14:12:59 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.6.2-neo (2016-08-21) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 46 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-hwmon@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>, Jean Delvare <jdelvare@suse.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Wed, 26 Oct 2016 16:12:57 -0500 |
| X-Original-Message-ID | <20161026211257.eu3lspzhkeaf56ms@rob-hp-laptop> |
| X-Original-References | <20161019094056.24508-1-clemens.gruber@pqgruber.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1509832 |
Show key headers only | View raw
On Wed, Oct 19, 2016 at 11:40:56AM +0200, Clemens Gruber wrote:
> Documents the devicetree bindings for the Microchip MCP3021/3221.
>
> Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
> ---
> Documentation/devicetree/bindings/hwmon/mcp3021.txt | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/mcp3021.txt
>
> diff --git a/Documentation/devicetree/bindings/hwmon/mcp3021.txt b/Documentation/devicetree/bindings/hwmon/mcp3021.txt
> new file mode 100644
> index 0000000..e1d1e62
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/mcp3021.txt
> @@ -0,0 +1,21 @@
> +mcp3021 properties
> +
> +Required properties:
> +- compatible: Must be one of the following:
> + - "microchip,mcp3021" for mcp3021
> + - "microchip,mcp3221" for mcp3221
> +- reg: I2C address
> +
> +Optional properties:
> +
> +- reference-voltage
> + Reference voltage in millivolt (mV)
What I said on the first version.
> +
> +Example:
> +
> +mcp3021@4d {
> + compatible = "microchip,mcp3021";
> + reg = <0x4d>;
> +
> + reference-voltage = <4500>; /* 4.5 V */
> +};
> --
> 2.10.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] hwmon: (mcp3021) add devicetree bindings documentation Clemens Gruber <clemens.gruber@pqgruber.com> - 2016-10-19 17:50 +0200 Re: [PATCH 2/2] hwmon: (mcp3021) add devicetree bindings documentation Rob Herring <robh@kernel.org> - 2016-10-26 23:20 +0200
csiph-web