linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2]  ARM: dts: xt875: Improve dts support for Motorola XT875
@ 2020-10-23 16:09 Carl Philipp Klemm
  2020-10-29  6:19 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Carl Philipp Klemm @ 2020-10-23 16:09 UTC (permalink / raw)
  To: robh+dt; +Cc: linux-omap, devicetree

Add section and support for kionix kxtf9 on XT875

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

---
 arch/arm/boot/dts/omap4-droid-bionic-xt875.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts b/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts
index 49b2a8d55356..271a43827cbf 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 {
+	lis3dh: accelerometer@18 {
+		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";
+	};
+};
-- 
2.28.0

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2]  ARM: dts: xt875: Improve dts support for Motorola XT875
  2020-10-23 16:09 [PATCH 2/2] ARM: dts: xt875: Improve dts support for Motorola XT875 Carl Philipp Klemm
@ 2020-10-29  6:19 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2020-10-29  6:19 UTC (permalink / raw)
  To: Carl Philipp Klemm; +Cc: robh+dt, linux-omap, devicetree

* Carl Philipp Klemm <philipp@uvos.xyz> [201023 19:24]:
> Add section and support for kionix kxtf9 on XT875

Applying forv 5.11 thanks. I changed the subject to match
the line above to avoid commits with duplicate subjet as
the previous patch also had the same subject.

Regards,

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-29  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 16:09 [PATCH 2/2] ARM: dts: xt875: Improve dts support for Motorola XT875 Carl Philipp Klemm
2020-10-29  6:19 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).