From: Carl Philipp Klemm <philipp@uvos.xyz>
To: robh+dt@kernel.org
Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH 2/2] ARM: dts: xt875: Improve dts support for Motorola XT875
Date: Fri, 23 Oct 2020 18:09:02 +0200 [thread overview]
Message-ID: <20201023180902.45afa3cad97a11e563ff8110@uvos.xyz> (raw)
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>
next reply other threads:[~2020-10-23 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-23 16:09 Carl Philipp Klemm [this message]
2020-10-29 6:19 ` [PATCH 2/2] ARM: dts: xt875: Improve dts support for Motorola XT875 Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201023180902.45afa3cad97a11e563ff8110@uvos.xyz \
--to=philipp@uvos.xyz \
--cc=devicetree@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).