diff mbox

iio: mcp3422: Add DT binding documentation

Message ID 1424085663-21799-1-git-send-email-angelo.compagnucci@gmail.com
State Accepted, archived
Commit 4a428bf3d92385f27cbb15bef90754027ba4f2d9
Headers show

Commit Message

Angelo Compagnucci Feb. 16, 2015, 11:21 a.m. UTC
Adding binding documentation for ADC MCP3422.
---
 Documentation/devicetree/bindings/iio/adc/mcp3422.txt | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/mcp3422.txt

Comments

Jonathan Cameron March 8, 2015, 12:35 p.m. UTC | #1
On 16/02/15 11:21, Angelo Compagnucci wrote:
> Adding binding documentation for ADC MCP3422.
Could have gone in the trivial bindings, but I'm happy enough happy enough with it
here.

Anyhow, no sign off so not applied.  Please repost with a sign off.

Jonathan
> ---
>  Documentation/devicetree/bindings/iio/adc/mcp3422.txt | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/iio/adc/mcp3422.txt
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/mcp3422.txt b/Documentation/devicetree/bindings/iio/adc/mcp3422.txt
> new file mode 100644
> index 0000000..333139c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/mcp3422.txt
> @@ -0,0 +1,17 @@
> +* Microchip mcp3422/3/4/6/7/8 chip family (ADC)
> +
> +Required properties:
> + - compatible: Should be
> +	"microchip,mcp3422" or
> +	"microchip,mcp3423" or
> +	"microchip,mcp3424" or
> +	"microchip,mcp3426" or
> +	"microchip,mcp3427" or
> +	"microchip,mcp3428"
> + - reg: I2C address for the device
> +
> +Example:
> +adc@0 {
> +	compatible = "microchip,mcp3424";
> +	reg = <0x68>;
> +};
> 

--
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
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/iio/adc/mcp3422.txt b/Documentation/devicetree/bindings/iio/adc/mcp3422.txt
new file mode 100644
index 0000000..333139c
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/mcp3422.txt
@@ -0,0 +1,17 @@ 
+* Microchip mcp3422/3/4/6/7/8 chip family (ADC)
+
+Required properties:
+ - compatible: Should be
+	"microchip,mcp3422" or
+	"microchip,mcp3423" or
+	"microchip,mcp3424" or
+	"microchip,mcp3426" or
+	"microchip,mcp3427" or
+	"microchip,mcp3428"
+ - reg: I2C address for the device
+
+Example:
+adc@0 {
+	compatible = "microchip,mcp3424";
+	reg = <0x68>;
+};