diff mbox

Documentation: dt: hwmon: Update for tmp102

Message ID 1344961412-13622-1-git-send-email-sourav.poddar@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Poddar, Sourav Aug. 14, 2012, 4:23 p.m. UTC
Add Documentation for tmp102 temperature sensor.

Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 Documentation/devicetree/bindings/hwmon/tmp102.txt |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/tmp102.txt

Comments

Guenter Roeck Aug. 14, 2012, 7:51 p.m. UTC | #1
On Tue, Aug 14, 2012 at 09:53:32PM +0530, Sourav Poddar wrote:
> Add Documentation for tmp102 temperature sensor.
> 
> Cc: Benoit Cousson <b-cousson@ti.com>
> Cc: Felipe Balbi <balbi@ti.com>
> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
> Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
> ---
>  Documentation/devicetree/bindings/hwmon/tmp102.txt |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/tmp102.txt
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/tmp102.txt b/Documentation/devicetree/bindings/hwmon/tmp102.txt
> new file mode 100644
> index 0000000..df1342b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/tmp102.txt
> @@ -0,0 +1,11 @@
> +TMP102 Temperature sensor
> +
> +Required properties:
> +- compatible: ti,tmp102
> +
> +Example:
> +
> +tmp102@48 {
> +        compatible = "ti,tmp102";
> +        reg = <0x48>;
> +};
> -- 

It would be simpler to just add a single line to
	Documentation/devicetree/bindings/i2c/trivial-devices.txt

Guenter
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/tmp102.txt b/Documentation/devicetree/bindings/hwmon/tmp102.txt
new file mode 100644
index 0000000..df1342b
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/tmp102.txt
@@ -0,0 +1,11 @@ 
+TMP102 Temperature sensor
+
+Required properties:
+- compatible: ti,tmp102
+
+Example:
+
+tmp102@48 {
+        compatible = "ti,tmp102";
+        reg = <0x48>;
+};