Message ID | 20190114201914.24572-2-sebastien.bourdelin@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v3,1/2] iio: chemical: bme680: Add device-tree support | expand |
On Mon, Jan 14, 2019 at 03:19:14PM -0500, Sebastien Bourdelin wrote: > BME680 is a pressure/temperature/humidity/voc sensor. > > Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com> > --- > v2 -> v3: > - change i2c address to 0x76 as it seems more reliable: Suggested by Himanshu Jha <himanshujha199640@gmail.com> > - rebase on master > --- > .../devicetree/bindings/iio/chemical/bme680.txt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/chemical/bme680.txt > > diff --git a/Documentation/devicetree/bindings/iio/chemical/bme680.txt b/Documentation/devicetree/bindings/iio/chemical/bme680.txt > new file mode 100644 > index 000000000000..7f3827cfb2ff > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/chemical/bme680.txt > @@ -0,0 +1,11 @@ > +Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors > + > +Required properties: > +- compatible: must be "bosch,bme680" > + > +Example: > + > +bme680@76 { > + compatible = "bosch,bme680"; > + reg = <0x76>; > +}; Thanks, Acked-by: Himanshu Jha <himanshujha199640@gmail.com>
On Mon, 14 Jan 2019 15:19:14 -0500, Sebastien Bourdelin wrote: > BME680 is a pressure/temperature/humidity/voc sensor. > > Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com> > --- > v2 -> v3: > - change i2c address to 0x76 as it seems more reliable: Suggested by Himanshu Jha <himanshujha199640@gmail.com> > - rebase on master > --- > .../devicetree/bindings/iio/chemical/bme680.txt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/chemical/bme680.txt > Reviewed-by: Rob Herring <robh@kernel.org>
On Tue, 15 Jan 2019 14:28:02 -0600 Rob Herring <robh@kernel.org> wrote: > On Mon, 14 Jan 2019 15:19:14 -0500, Sebastien Bourdelin wrote: > > BME680 is a pressure/temperature/humidity/voc sensor. > > > > Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com> > > --- > > v2 -> v3: > > - change i2c address to 0x76 as it seems more reliable: Suggested by Himanshu Jha <himanshujha199640@gmail.com> > > - rebase on master > > --- > > .../devicetree/bindings/iio/chemical/bme680.txt | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/iio/chemical/bme680.txt > > > > Reviewed-by: Rob Herring <robh@kernel.org> Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan
diff --git a/Documentation/devicetree/bindings/iio/chemical/bme680.txt b/Documentation/devicetree/bindings/iio/chemical/bme680.txt new file mode 100644 index 000000000000..7f3827cfb2ff --- /dev/null +++ b/Documentation/devicetree/bindings/iio/chemical/bme680.txt @@ -0,0 +1,11 @@ +Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors + +Required properties: +- compatible: must be "bosch,bme680" + +Example: + +bme680@76 { + compatible = "bosch,bme680"; + reg = <0x76>; +};
BME680 is a pressure/temperature/humidity/voc sensor. Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com> --- v2 -> v3: - change i2c address to 0x76 as it seems more reliable: Suggested by Himanshu Jha <himanshujha199640@gmail.com> - rebase on master --- .../devicetree/bindings/iio/chemical/bme680.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/bme680.txt