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 <[email protected]>
> ---
>  .../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
> 

Reply via email to