projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
594e808
)
ARM: dts: omap4-droid4: Add compass
author
Sebastian Reichel
<sre@kernel.org>
Mon, 6 Mar 2017 04:11:57 +0000
(20:11 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Mon, 6 Mar 2017 16:04:30 +0000
(08:04 -0800)
Add compass.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-droid4-xt894.dts
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/boot/dts/omap4-droid4-xt894.dts
b/arch/arm/boot/dts/omap4-droid4-xt894.dts
index ac3df1f99131cd919a8522485dc248031a32429b..31638598331ac262e1c9cab9ad9fac6bf7df9150 100644
(file)
--- a/
arch/arm/boot/dts/omap4-droid4-xt894.dts
+++ b/
arch/arm/boot/dts/omap4-droid4-xt894.dts
@@
-264,3
+264,20
@@
mode = <3>;
power = <50>;
};
+
+&i2c4 {
+ ak8975: magnetometer@c {
+ compatible = "asahi-kasei,ak8975";
+ reg = <0x0c>;
+
+ vdd-supply = <&vhvio>;
+
+ interrupt-parent = <&gpio6>;
+ interrupts = <15 IRQ_TYPE_EDGE_RISING>; /* gpio175 */
+
+ rotation-matrix = "-1", "0", "0",
+ "0", "1", "0",
+ "0", "0", "-1";
+
+ };
+};