lkml.org 
[lkml]   [2015]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] iio: magnetometer: mmc35240: Add DT binding doc
On 17/07/15 09:34, Jandy Gou wrote:
> Signed-off-by: Jandy Gou <qingsong.gou@ck-telecom.com>
This is so trivial, I'm taking it without waiting for the standard device tree ack / 3 weeks.

Applied to the togreg branch of iio.git - initially pushed out as testing.
> ---
> .../devicetree/bindings/iio/magnetometer/mmc35240.txt | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
>
> diff --git a/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt b/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
> new file mode 100644
> index 0000000..a01235c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
> @@ -0,0 +1,13 @@
> +* MEMSIC MMC35240 magnetometer sensor
> +
> +Required properties:
> +
> + - compatible : should be "memsic,mmc35240"
> + - reg : the I2C address of the magnetometer
> +
> +Example:
> +
> +mmc35240@30 {
> + compatible = "memsic,mmc35240";
> + reg = <0x30>;
> +};
>



\
 
 \ /
  Last update: 2015-07-19 12:21    [W:0.051 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site