All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 2/2] dt-bindings Help for MCP ADCs
@ 2015-03-10 21:14 ` Søren Andersen
  0 siblings, 0 replies; 4+ messages in thread
From: Søren Andersen @ 2015-03-10 21:14 UTC (permalink / raw)
  To: jic23; +Cc: linux-iio, devicetree

Signed-off-by: Soeren Andersen <san at rosetechnology.dk>
---
Documentation/devicetree/bindings/iio/adc/mcp320x.txt | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/mcp320x.txt b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
new file mode 100644
index 0000000..b851843
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
@@ -0,0 +1,30 @@
+* Microchip Analog to Digital Converter (ADC)
+
+The node for this driver must be a child node of a SPI controller, hence
+all mandatory properties described in
+
+        Documentation/devicetree/bindings/spi/spi-bus.txt
+
+must be specified.
+
+Required properties:
+	- compatible:  	Must be one of the following, depending on the
+			model:
+				"mcp3001"
+				"mcp3002"
+				"mcp3004"
+				"mcp3008"
+				"mcp3201"
+				"mcp3202"
+				"mcp3204"
+				"mcp3208"
+
+
+Examples:
+spi_controller {
+	mcp3x0x@0 {
+		compatible = "mcp3002";
+		reg = <0>;
+		spi-max-frequency = <1000000>;
+	};
+};

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [patch 2/2] dt-bindings Help for MCP ADCs
@ 2015-03-10 21:14 ` Søren Andersen
  0 siblings, 0 replies; 4+ messages in thread
From: Søren Andersen @ 2015-03-10 21:14 UTC (permalink / raw)
  To: jic23-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Soeren Andersen <san at rosetechnology.dk>
---
Documentation/devicetree/bindings/iio/adc/mcp320x.txt | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/mcp320x.txt b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
new file mode 100644
index 0000000..b851843
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
@@ -0,0 +1,30 @@
+* Microchip Analog to Digital Converter (ADC)
+
+The node for this driver must be a child node of a SPI controller, hence
+all mandatory properties described in
+
+        Documentation/devicetree/bindings/spi/spi-bus.txt
+
+must be specified.
+
+Required properties:
+	- compatible:  	Must be one of the following, depending on the
+			model:
+				"mcp3001"
+				"mcp3002"
+				"mcp3004"
+				"mcp3008"
+				"mcp3201"
+				"mcp3202"
+				"mcp3204"
+				"mcp3208"
+
+
+Examples:
+spi_controller {
+	mcp3x0x@0 {
+		compatible = "mcp3002";
+		reg = <0>;
+		spi-max-frequency = <1000000>;
+	};
+};


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [patch 2/2] dt-bindings Help for MCP ADCs
@ 2015-03-12 10:18   ` Jonathan Cameron
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2015-03-12 10:18 UTC (permalink / raw)
  To: Søren Andersen; +Cc: linux-iio, devicetree


Applied to the togreg branch of iio.git. Initially pushed out as
testing for the autobuilders to play.

Thanks

Jonathan
On 10/03/15 21:14, Søren Andersen wrote:
> Signed-off-by: Soeren Andersen <san at rosetechnology.dk>
> ---
> Documentation/devicetree/bindings/iio/adc/mcp320x.txt | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/mcp320x.txt b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
> new file mode 100644
> index 0000000..b851843
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
> @@ -0,0 +1,30 @@
> +* Microchip Analog to Digital Converter (ADC)
> +
> +The node for this driver must be a child node of a SPI controller, hence
> +all mandatory properties described in
> +
> +        Documentation/devicetree/bindings/spi/spi-bus.txt
> +
> +must be specified.
> +
> +Required properties:
> +	- compatible:  	Must be one of the following, depending on the
> +			model:
> +				"mcp3001"
> +				"mcp3002"
> +				"mcp3004"
> +				"mcp3008"
> +				"mcp3201"
> +				"mcp3202"
> +				"mcp3204"
> +				"mcp3208"
> +
> +
> +Examples:
> +spi_controller {
> +	mcp3x0x@0 {
> +		compatible = "mcp3002";
> +		reg = <0>;
> +		spi-max-frequency = <1000000>;
> +	};
> +};
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch 2/2] dt-bindings Help for MCP ADCs
@ 2015-03-12 10:18   ` Jonathan Cameron
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2015-03-12 10:18 UTC (permalink / raw)
  To: Søren Andersen
  Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA


Applied to the togreg branch of iio.git. Initially pushed out as
testing for the autobuilders to play.

Thanks

Jonathan
On 10/03/15 21:14, Søren Andersen wrote:
> Signed-off-by: Soeren Andersen <san at rosetechnology.dk>
> ---
> Documentation/devicetree/bindings/iio/adc/mcp320x.txt | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/mcp320x.txt b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
> new file mode 100644
> index 0000000..b851843
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
> @@ -0,0 +1,30 @@
> +* Microchip Analog to Digital Converter (ADC)
> +
> +The node for this driver must be a child node of a SPI controller, hence
> +all mandatory properties described in
> +
> +        Documentation/devicetree/bindings/spi/spi-bus.txt
> +
> +must be specified.
> +
> +Required properties:
> +	- compatible:  	Must be one of the following, depending on the
> +			model:
> +				"mcp3001"
> +				"mcp3002"
> +				"mcp3004"
> +				"mcp3008"
> +				"mcp3201"
> +				"mcp3202"
> +				"mcp3204"
> +				"mcp3208"
> +
> +
> +Examples:
> +spi_controller {
> +	mcp3x0x@0 {
> +		compatible = "mcp3002";
> +		reg = <0>;
> +		spi-max-frequency = <1000000>;
> +	};
> +};
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-14 14:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 21:14 [patch 2/2] dt-bindings Help for MCP ADCs Søren Andersen
2015-03-10 21:14 ` Søren Andersen
2015-03-12 10:18 ` Jonathan Cameron
2015-03-12 10:18   ` Jonathan Cameron

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.