Skip to contentSkip to conversation

ARM: dts: sun6i: Add accelerometer on Columbus A31

PATCH New Hans de Goede 2 participants 2 messages Sep 13, 2015 – Sep 14, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: sun6i: Add accelerometer on Columbus A31

From: Sander Vermin <[email protected]>

Add mma8452 accelerometer to sun6i-a31-colombus.dts.

---
 arch/arm/boot/dts/sun6i-a31-colombus.dts | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/sun6i-a31-colombus.dts +7 -0
index 0e51249..f9cf368 100644
@@ -104,6 +104,13 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c2_pins_a>;
 	status = "okay";
+
+	mma8452: mma8452 at 1d {
+		compatible = "fsl,mma8452";
+		reg = <0x1d>;
+		interrupt-parent = <&pio>;
+		interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PA9 */
+	};
 };
 
 &mmc0 {
Signature · 1 line
2.4.3
#1 lore raw

PATCH 1/1 ARM: dts: sun6i: Add accelerometer on Columbus A31

Quoted 6 lines · Hans de Goede

From: Sander Vermin <[email protected]>

Add mma8452 accelerometer to sun6i-a31-colombus.dts.

Applied, thanks!

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150914/bd850e68/attachment.sig>