diff mbox series

[2/7] dt-bindings:iio:chemical:bosch,bme180: Move to trivial devices

Message ID 20201031182922.743153-3-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series dt-bindings:iio: Move to trivial-devices.yaml from txt files. | expand

Commit Message

Jonathan Cameron Oct. 31, 2020, 6:29 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Very simple binding so no need to maintain a separate file.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Sebastien Bourdelin <sebastien.bourdelin@gmail.com>
Cc: Himanshu Jha <himanshujha199640@gmail.com>
---
 .../devicetree/bindings/iio/chemical/bme680.txt       | 11 -----------
 .../devicetree/bindings/trivial-devices.yaml          |  2 ++
 2 files changed, 2 insertions(+), 11 deletions(-)

Comments

Jonathan Cameron Nov. 1, 2020, 8:34 p.m. UTC | #1
On Sun, 1 Nov 2020 14:54:59 +0530
Himanshu Jha <himanshujha199640@gmail.com> wrote:

> Hi Jonathan,
> 
> On Sun, Nov 1, 2020, 12:01 AM Jonathan Cameron <jic23@kernel.org> wrote:
> 
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > Very simple binding so no need to maintain a separate file.
> >
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > Cc: Sebastien Bourdelin <sebastien.bourdelin@gmail.com>
> > Cc: Himanshu Jha <himanshujha199640@gmail.com>
> > ---
> >  .../devicetree/bindings/iio/chemical/bme680.txt       | 11 -----------
> >  .../devicetree/bindings/trivial-devices.yaml          |  2 ++
> >  2 files changed, 2 insertions(+), 11 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/chemical/bme680.txt
> > b/Documentation/devicetree/bindings/iio/chemical/bme680.txt
> > deleted file mode 100644
> > index 7f3827cfb2ff..000000000000
> > --- a/Documentation/devicetree/bindings/iio/chemical/bme680.txt
> > +++ /dev/null
> > @@ -1,11 +0,0 @@
> > -Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors
> > -
> > -Required properties:
> > -- compatible: must be "bosch,bme680"
> > -
> > -Example:
> > -
> > -bme680@76 {
> > -          compatible = "bosch,bme680";
> > -          reg = <0x76>;
> > -};
> > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml
> > b/Documentation/devicetree/bindings/trivial-devices.yaml
> > index 642502761106..10f0afd44684 100644
> > --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> > @@ -44,6 +44,8 @@ properties:
> >            - atmel,atsha204a
> >              # i2c h/w elliptic curve crypto module
> >            - atmel,atecc508a
> > +            # Bosch Sensortec preassure, temperature, humididty and VOC
> > sensor
> > +          - bosch,bme680
> >  
> 
> Typo here and in subject line.
> 
> Otherwise, Ack!

Yikes.  I really should have proof read this one more carefully!

> 
> 
> -Himanshu
> 
>              # CM32181: Ambient Light Sensor
> >            - capella,cm32181
> >              # CM3232: Ambient Light Sensor
> > --
> > 2.28.0
> >
> >
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/chemical/bme680.txt b/Documentation/devicetree/bindings/iio/chemical/bme680.txt
deleted file mode 100644
index 7f3827cfb2ff..000000000000
--- a/Documentation/devicetree/bindings/iio/chemical/bme680.txt
+++ /dev/null
@@ -1,11 +0,0 @@ 
-Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors
-
-Required properties:
-- compatible: must be "bosch,bme680"
-
-Example:
-
-bme680@76 {
-          compatible = "bosch,bme680";
-          reg = <0x76>;
-};
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 642502761106..10f0afd44684 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -44,6 +44,8 @@  properties:
           - atmel,atsha204a
             # i2c h/w elliptic curve crypto module
           - atmel,atecc508a
+            # Bosch Sensortec preassure, temperature, humididty and VOC sensor
+          - bosch,bme680
             # CM32181: Ambient Light Sensor
           - capella,cm32181
             # CM3232: Ambient Light Sensor