diff mbox series

[v3] ARM: dts: xt875: add section for kionix kxtf9

Message ID 20201108194339.aa6518a3d67f3b00380e8326@uvos.xyz (mailing list archive)
State New, archived
Headers show
Series [v3] ARM: dts: xt875: add section for kionix kxtf9 | expand

Commit Message

Carl Philipp Klemm Nov. 8, 2020, 6:43 p.m. UTC
ARM: dts: xt875: add section for kionix kxtf9

Signed-off-by: Carl Philipp Klemm <philipp@uvos.xyz>
---
 arch/arm/boot/dts/omap4-droid-bionic-xt875.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

Tony Lindgren Nov. 10, 2020, 1:39 p.m. UTC | #1
* Carl Philipp Klemm <philipp@uvos.xyz> [201108 18:43]:
> ARM: dts: xt875: add section for kionix kxtf9

Thanks applying after leaving out the extra "ARM: dts:..."
from the description.

Tony
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts b/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts
index 49b2a8d55356..ccf03a743678 100644
--- a/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts
+++ b/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts
@@ -37,3 +37,19 @@  backlight_led: led@0 {
 		};
 	};
 };
+
+&i2c4 {
+	kxtf9: accelerometer@f {
+		compatible = "kionix,kxtf9";
+		reg = <0x0f>;
+
+		vdd-supply = <&vhvio>;
+
+		interrupt-parent = <&gpio2>;
+		interrupts = <2 IRQ_TYPE_EDGE_RISING>;
+
+		rotation-matrix = "0", "-1", "0",
+				  "1", "0", "0",
+				  "0", "0", "1";
+	};
+};