All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: xt875: Add section and support for kionix kxtf9 on XT875
@ 2020-11-02 11:24 Carl Philipp Klemm
  0 siblings, 0 replies; only message in thread
From: Carl Philipp Klemm @ 2020-11-02 11:24 UTC (permalink / raw)
  To: Tony Lindgren, robh+dt; +Cc: linux-omap, devicetree

Adds section and support for kionix kxtf9 on XT875

Signed-off-by: Carl Philipp Klemm <carl@uvos.xyz>

---

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";
+       };
+};


-- 
Carl Philipp Klemm <philipp@uvos.xyz> <carl@uvos.xyz>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-02 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 11:24 [PATCH v2] ARM: dts: xt875: Add section and support for kionix kxtf9 on XT875 Carl Philipp Klemm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.