[PATCH v2 2/7] ARM: dts: omap3-gta04: Add support for magnetometer

From: Marek Belisko
Date: Sat Mar 01 2014 - 09:01:40 EST


From: NeilBrown <neilb@xxxxxxx>

Add magnetometer hmc5843 node.

Signed-off-by: NeilBrown <neilb@xxxxxxx>
Signed-off-by: Marek Belisko <marek@xxxxxxxxxxxxx>
---
arch/arm/boot/dts/omap3-gta04.dts | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
index d3b253b..d9917b8 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -124,6 +124,12 @@
reg = <0x4>;
};
};
+
+ /* compass aka magnetometer */
+ hmc5843@1e {
+ compatible = "honeywell,hmc5843";
+ reg = <0x1e>;
+ };
};

&i2c3 {
--
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/