Thread (1 message) 1 message, 1 author, 2020-11-01

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

From: Jonathan Cameron <jic23@kernel.org>
Date: 2020-11-01 20:34:23
Also in: linux-iio

On Sun, 1 Nov 2020 14:54:59 +0530
Himanshu Jha [off-list ref] wrote:
Hi Jonathan,

On Sun, Nov 1, 2020, 12:01 AM Jonathan Cameron [off-list ref] wrote:
quoted
From: Jonathan Cameron <redacted>

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

Signed-off-by: Jonathan Cameron <redacted>
Cc: Sebastien Bourdelin <redacted>
Cc: Himanshu Jha <redacted>
---
 .../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
quoted
           - capella,cm32181
             # CM3232: Ambient Light Sensor
--
2.28.0

 
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help