提交 0372bb6b 编写于 作者: P Priit Laes 提交者: Maxime Ripard

ARM: dts: sun4i: gemei-g9: Add accelerometer (bma250) IRQ

Add IRQ configuration for bma250 accelerometer.
Signed-off-by: NPriit Laes <plaes@plaes.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 f7ad082c
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#include "sunxi-common-regulators.dtsi" #include "sunxi-common-regulators.dtsi"
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
/ { / {
model = "Gemei G9 Tablet"; model = "Gemei G9 Tablet";
...@@ -64,7 +65,7 @@ ...@@ -64,7 +65,7 @@
/* /*
* TODO: * TODO:
* 2x cameras via CSI * 2x cameras via CSI
* bma250 IRQs * audio
* AXP battery management * AXP battery management
* NAND * NAND
* OTG * OTG
...@@ -103,12 +104,8 @@ ...@@ -103,12 +104,8 @@
bma250@18 { bma250@18 {
compatible = "bosch,bma250"; compatible = "bosch,bma250";
reg = <0x18>; reg = <0x18>;
interrupt-parent = <&pio>;
/* interrupts = <7 0 IRQ_TYPE_EDGE_RISING>; /* PH00 / EINT0 */
* TODO: interrupt pins:
* int1 - PH00
* int2 - PI10
*/
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册