diff mbox series

[v2,2/2] dt-bindings: hwmon: add binding documentation for max6621 device

Message ID 1505126725-4336-3-git-send-email-vadimp@mellanox.com
State Not Applicable, archived
Headers show
Series Add support for Maxim MAX6621 temperature sensor device | expand

Commit Message

Vadim Pasternak Sept. 11, 2017, 10:45 a.m. UTC
Add binding document for Maxim MAX6621 temperature sensor device.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
---
 Documentation/devicetree/bindings/hwmon/max6621.txt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/max6621.txt

Comments

Rob Herring Sept. 18, 2017, 9:07 p.m. UTC | #1
On Mon, Sep 11, 2017 at 10:45:25AM +0000, Vadim Pasternak wrote:
> Add binding document for Maxim MAX6621 temperature sensor device.
> 
> Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
> ---
>  Documentation/devicetree/bindings/hwmon/max6621.txt | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/max6621.txt
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/max6621.txt b/Documentation/devicetree/bindings/hwmon/max6621.txt
> new file mode 100644
> index 0000000..c1f7e95
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/max6621.txt
> @@ -0,0 +1,14 @@
> +MAX6621 temperature sensor
> +-------------------------
> +
> +This device supports I2C only.
> +
> +Requires node properties:
> +- compatible : "maxim,max6621"
> +- reg : the I2C address of the device.

This could go in trivial-devices.txt instead. Either way,

Acked-by: Rob Herring <robh@kernel.org>
--
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 series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/max6621.txt b/Documentation/devicetree/bindings/hwmon/max6621.txt
new file mode 100644
index 0000000..c1f7e95
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/max6621.txt
@@ -0,0 +1,14 @@ 
+MAX6621 temperature sensor
+-------------------------
+
+This device supports I2C only.
+
+Requires node properties:
+- compatible : "maxim,max6621"
+- reg : the I2C address of the device.
+
+Example:
+	max6621@2b {
+		compatible = "maxim,max6621";
+		reg = <0x2b>;
+	};