Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 672de63c authored by Naresh Munagala's avatar Naresh Munagala
Browse files

drivers: iio: Add BMI160 DT Bindings



Added BMI160 DT bindings in the documentation
and parse of data during initialization.

Change-Id: I46f2d73df3bde0b5c1ab4c59d908d94ece9cb6c6
CRs-fixed: 1072562
Signed-off-by: default avatarNaresh Munagala <nareshm@codeaurora.org>
parent 64120cd2
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line

The BMI160 is a highly integrated, low power inertial measurement unit (IMU)
that provides precise acceleration and angular rate (gyroscopic) measurement.

Required properties:

 - compatible    : Should be "bosch-sensortec,bmi160".
 - reg           : the Chip select ID.
 - gpios         : BMI GPIO in the format described by ../gpio/gpio.txt

Optional properties:
 - bmi,init-interval:
 - bmi,place   :


Example:
	bmi160@68{
		compatible = "bosch-sensortec,bmi160";
		reg = <0x68>;
		pinctrl-names = "default";
		pinctrl-0 = <&bmi160_int1_default &bmi160_int2_default>;
		interrupt-parent = <&tlmm_pinmux>;
		interrupts = <78 0x2002>;
		bmi,init-interval = <200>;
		bmi,place = <1>;
		bmi,gpio_irq = <&tlmm_pinmux 78 0x2002>;
	};
+1 −0
Original line number Diff line number Diff line
@@ -195,3 +195,4 @@ xillybus Xillybus Ltd.
xlnx	Xilinx
zyxel	ZyXEL Communications Corp.
zarlink	Zarlink Semiconductor
bosch-sensortec»    Bosch Sensortec GmbH