Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1503945 > unrolled thread

[PATCH 2/2] hwmon: (mcp3021) add devicetree bindings documentation

Started byClemens Gruber <clemens.gruber@pqgruber.com>
First post2016-10-19 17:50 +0200
Last post2016-10-26 23:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [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

#1503945 — [PATCH 2/2] hwmon: (mcp3021) add devicetree bindings documentation

FromClemens Gruber <clemens.gruber@pqgruber.com>
Date2016-10-19 17:50 +0200
Subject[PATCH 2/2] hwmon: (mcp3021) add devicetree bindings documentation
Message-ID<su1hT-3b7-3@gated-at.bofh.it>
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)
+
+Example:
+
+mcp3021@4d {
+	compatible = "microchip,mcp3021";
+	reg = <0x4d>;
+
+	reference-voltage = <4500>; /* 4.5 V */
+};
-- 
2.10.0

[toc] | [next] | [standalone]


#1509832 — Re: [PATCH 2/2] hwmon: (mcp3021) add devicetree bindings documentation

FromRob Herring <robh@kernel.org>
Date2016-10-26 23:20 +0200
SubjectRe: [PATCH 2/2] hwmon: (mcp3021) add devicetree bindings documentation
Message-ID<swDM6-Ri-27@gated-at.bofh.it>
In reply to#1503945
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web