diff mbox

[v6,2/2] iio:dac: Add DT binding documentation for ds4424

Message ID 20170922201226.23721-2-Ismail.Kose@maximintegrated.com
State New
Headers show

Commit Message

Ismail Kose Sept. 22, 2017, 8:12 p.m. UTC
Signed-off-by: Ismail H. Kose <ihkose@gmail.com>
Signed-off-by: Ismail H. Kose <Ismail.Kose@maximintegrated.com>
---
v6:
	* Removed reference resistors property
	* Fixed regulator property
v3:
	* Removed iio-map
v2:
	* Removed min/max rfs, ifs-scale, etc values

 Documentation/devicetree/bindings/iio/dac/ds4424.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/dac/ds4424.txt

Comments

Jonathan Cameron Sept. 30, 2017, 5:18 p.m. UTC | #1
On Fri, 22 Sep 2017 13:12:09 -0700
"Ismail H. Kose" <Ismail.Kose@maximintegrated.com> wrote:

> Signed-off-by: Ismail H. Kose <ihkose@gmail.com>
> Signed-off-by: Ismail H. Kose <Ismail.Kose@maximintegrated.com>

Direct at Rob Herring...

Rob, this is now a very standard binding so I'm going to
take it into my testing tree.  If you have a chance to take a last
look at it though that would be great.

For everyone else: 

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

Thanks,

Jonathan
> ---
> v6:
> 	* Removed reference resistors property
> 	* Fixed regulator property
> v3:
> 	* Removed iio-map
> v2:
> 	* Removed min/max rfs, ifs-scale, etc values
> 
>  Documentation/devicetree/bindings/iio/dac/ds4424.txt | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/iio/dac/ds4424.txt
> 
> diff --git a/Documentation/devicetree/bindings/iio/dac/ds4424.txt b/Documentation/devicetree/bindings/iio/dac/ds4424.txt
> new file mode 100644
> index 000000000000..eaebbf8dab40
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/dac/ds4424.txt
> @@ -0,0 +1,20 @@
> +Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC Device Driver
> +
> +Datasheet publicly available at:
> +https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf
> +
> +Required properties:
> +	- compatible: Should be one of
> +		maxim,ds4422
> +		maxim,ds4424
> +	- reg: Should contain the DAC I2C address
> +
> +Optional properties:
> +	- vcc-supply: Power supply is optional. If not defined, driver will ignore it.
> +
> +Example:
> +	ds4224@10 {
> +		compatible = "maxim,ds4424";
> +		reg = <0x10>; /* When A0, A1 pins are ground */
> +		vcc-supply = <&vcc_3v3>;
> +	};

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Rob Herring Oct. 4, 2017, 8:25 p.m. UTC | #2
On Sat, Sep 30, 2017 at 06:18:41PM +0100, Jonathan Cameron wrote:
> On Fri, 22 Sep 2017 13:12:09 -0700
> "Ismail H. Kose" <Ismail.Kose@maximintegrated.com> wrote:
> 
> > Signed-off-by: Ismail H. Kose <ihkose@gmail.com>
> > Signed-off-by: Ismail H. Kose <Ismail.Kose@maximintegrated.com>
> 
> Direct at Rob Herring...
> 
> Rob, this is now a very standard binding so I'm going to
> take it into my testing tree.  If you have a chance to take a last
> look at it though that would be great.

No problem. I don't mind you taking things before I get to them because 
I know you actually look at them and will wait if there's something 
non-standard unlike some maintainers.

Acked-by: Rob Herring <robh@kernel.org>

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" 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/dac/ds4424.txt b/Documentation/devicetree/bindings/iio/dac/ds4424.txt
new file mode 100644
index 000000000000..eaebbf8dab40
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/ds4424.txt
@@ -0,0 +1,20 @@ 
+Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC Device Driver
+
+Datasheet publicly available at:
+https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf
+
+Required properties:
+	- compatible: Should be one of
+		maxim,ds4422
+		maxim,ds4424
+	- reg: Should contain the DAC I2C address
+
+Optional properties:
+	- vcc-supply: Power supply is optional. If not defined, driver will ignore it.
+
+Example:
+	ds4224@10 {
+		compatible = "maxim,ds4424";
+		reg = <0x10>; /* When A0, A1 pins are ground */
+		vcc-supply = <&vcc_3v3>;
+	};