lkml.org 
[lkml]   [2017]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] dt-bindings: iio: humidity: add bindings for HDC100x sensors
On Mon, Jun 12, 2017 at 09:49:08AM -0500, Michael Stecklein wrote:
> Add the bindings for the family of HDC100x sensors.
>
> Signed-off-by: Michael Stecklein <m-stecklein@ti.com>
> ---
> .../devicetree/bindings/iio/humidity/hdc100x.txt | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
>
> diff --git a/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt b/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
> new file mode 100644
> index 0000000..6f272fa
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
> @@ -0,0 +1,16 @@
> +* HDC100x temperature + humidity sensors
> +
> +Required properties:
> + - compatible: Should contain one of the following:
> + ti,hdc100x

No wildcards in compatible strings please.

> + ti,hdc1010
> + ti,hdc1050
> + ti,hdc1080
> + - reg: i2c address of the sensor
> +
> +Example:
> +
> +hdc100x@40 {
> + compatible = "ti,hdc100x";
> + reg = <0x40>;
> +};
> --
> 2.7.4
>

\
 
 \ /
  Last update: 2017-06-18 16:10    [W:0.675 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site