Skip to contentSkip to conversation

dt-bindings: iio: accel: Add bmi088 accelerometer bindings

PATCH Superseded Mike Looijmans 3 participants 4 messages Mar 16, 2020 – Mar 23, 2020

Subsystems (2)

v1 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: iio: accel: Add bmi088 accelerometer bindings

This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part.

---
 .../devicetree/bindings/iio/accel/bmi088.txt  | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/accel/bmi088.txt
Documentation/devicetree/bindings/iio/accel/bmi088.txt new file +23 -0
new file mode 100644
index 000000000000..691a47726dbc
@@ -0,0 +1,23 @@
+* Bosch BMI088 IMU combining accelerometer and gyroscope
+
+https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf
+
+Required properties:
+
+  - compatible : should be "bosch,bmi088_accel"
+  - reg : the I2C address of the sensor or the SPI chip select number
+
+Optional properties:
+
+  - interrupts : interrupt mapping for GPIO IRQ, it should be configured with
+		 IRQ_TYPE_EDGE_RISING
+
+Example:
+
+bmi088_accel@1 {
+	compatible = "bosch,bmi088_accel";
+	reg = <1>;
+	spi-max-frequency = <10000000>;
+	interrupt-parent = <&gpio>;
+	interrupts = <90 IRQ_TYPE_EDGE_RISING>;
+};
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 6 lines · On Mon, 16 Mar 2020 07:52:18 +0100 Mike Looijmans <[email protected]>…

This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part.

---
 .../devicetree/bindings/iio/accel/bmi088.txt  | 23 +++++++++++++++++++

Sorry. All new DT bindings need to be in yaml format.

Please put this in the same series as the driver.

Thanks,

Jonathan

Quoted 32 lines
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/accel/bmi088.txt
Documentation/devicetree/bindings/iio/accel/bmi088.txt new file +23 -0
new file mode 100644
index 000000000000..691a47726dbc
@@ -0,0 +1,23 @@
+* Bosch BMI088 IMU combining accelerometer and gyroscope
+
+https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf
+
+Required properties:
+
+  - compatible : should be "bosch,bmi088_accel"
+  - reg : the I2C address of the sensor or the SPI chip select number
+
+Optional properties:
+
+  - interrupts : interrupt mapping for GPIO IRQ, it should be configured with
+		 IRQ_TYPE_EDGE_RISING
+
+Example:
+
+bmi088_accel@1 {
+	compatible = "bosch,bmi088_accel";
+	reg = <1>;
+	spi-max-frequency = <10000000>;
+	interrupt-parent = <&gpio>;
+	interrupts = <90 IRQ_TYPE_EDGE_RISING>;
+};
#2 lore raw
Quoted 6 lines · Jonathan Cameron
Quoted 3 lines · On Mon, 16 Mar 2020 07:52:18 +0100 Mike Looijmans <[email protected]>…

This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part.

Quoted 7 lines
Quoted 3 lines
---
  .../devicetree/bindings/iio/accel/bmi088.txt  | 23 +++++++++++++++++++

Sorry. All new DT bindings need to be in yaml format.

Please put this in the same series as the driver.

sooy, I noticed this too late, patches are underway in separate mails now. Hope that isn't a blocking issue?

Quoted 38 lines

Thanks,

Jonathan

Quoted 32 lines
  1 file changed, 23 insertions(+)

create mode 100644 Documentation/devicetree/bindings/iio/accel/bmi088.txt

Documentation/devicetree/bindings/iio/accel/bmi088.txt new file +23 -0
new file mode 100644
index 000000000000..691a47726dbc
@@ -0,0 +1,23 @@
+* Bosch BMI088 IMU combining accelerometer and gyroscope
+
+https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf
+
+Required properties:
+
+  - compatible : should be "bosch,bmi088_accel"
+  - reg : the I2C address of the sensor or the SPI chip select number
+
+Optional properties:
+
+  - interrupts : interrupt mapping for GPIO IRQ, it should be configured with
+		 IRQ_TYPE_EDGE_RISING
+
+Example:
+
+bmi088_accel@1 {
+	compatible = "bosch,bmi088_accel";
+	reg = <1>;
+	spi-max-frequency = <10000000>;
+	interrupt-parent = <&gpio>;
+	interrupts = <90 IRQ_TYPE_EDGE_RISING>;
+};
Signature · 1 line
Mike Looijmans
#3 lore raw
Quoted 11 lines · On Mon, 23 Mar 2020 10:56:41 +0100 Mike Looijmans <[email protected]>…
Quoted 10 lines · Jonathan Cameron
Quoted 6 lines · On Mon, 16 Mar 2020 07:52:18 +0100 Mike Looijmans <[email protected]>…

This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part.

---
  .../devicetree/bindings/iio/accel/bmi088.txt  | 23 +++++++++++++++++++  
Quoted 6 lines
Quoted 3 lines

Sorry. All new DT bindings need to be in yaml format.

Please put this in the same series as the driver.

sooy, I noticed this too late, patches are underway in separate mails now. Hope that isn't a blocking issue?

For next version of either pull them together.

Jonathan

Quoted 41 lines
Quoted 39 lines

Thanks,

Jonathan

Quoted 32 lines
  1 file changed, 23 insertions(+)

create mode 100644 Documentation/devicetree/bindings/iio/accel/bmi088.txt

Documentation/devicetree/bindings/iio/accel/bmi088.txt new file +23 -0
new file mode 100644
index 000000000000..691a47726dbc
@@ -0,0 +1,23 @@
+* Bosch BMI088 IMU combining accelerometer and gyroscope
+
+https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf
+
+Required properties:
+
+  - compatible : should be "bosch,bmi088_accel"
+  - reg : the I2C address of the sensor or the SPI chip select number
+
+Optional properties:
+
+  - interrupts : interrupt mapping for GPIO IRQ, it should be configured with
+		 IRQ_TYPE_EDGE_RISING
+
+Example:
+
+bmi088_accel@1 {
+	compatible = "bosch,bmi088_accel";
+	reg = <1>;
+	spi-max-frequency = <10000000>;
+	interrupt-parent = <&gpio>;
+	interrupts = <90 IRQ_TYPE_EDGE_RISING>;
+};