[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120814195115.GA17168@roeck-us.net>
Date: Tue, 14 Aug 2012 12:51:15 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Sourav Poddar <sourav.poddar@...com>
Cc: devicetree-discuss@...ts.ozlabs.org,
linux-arm-kernel@...ts.infradead.org, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, Benoit Cousson <b-cousson@...com>,
Felipe Balbi <balbi@...com>,
Santosh Shilimkar <santosh.shilimkar@...com>
Subject: Re: [PATCH] Documentation: dt: hwmon: Update for tmp102
On Tue, Aug 14, 2012 at 09:53:32PM +0530, Sourav Poddar wrote:
> Add Documentation for tmp102 temperature sensor.
>
> Cc: Benoit Cousson <b-cousson@...com>
> Cc: Felipe Balbi <balbi@...com>
> Cc: Santosh Shilimkar <santosh.shilimkar@...com>
> Signed-off-by: Sourav Poddar <sourav.poddar@...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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists