From: Marco Franchi <marco.franchi@nxp.com>
To: <shawnguo@kernel.org>
Cc: <fabio.estevam@nxp.com>, <robh+dt@kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Marco Franchi <marco.franchi@nxp.com>
Subject: [PATCH 3/3] ARM: dts: imx7d-sdb: Add support for mpl3115 sensor
Date: Tue, 9 Jan 2018 09:46:25 -0200 [thread overview]
Message-ID: <1515498385-23198-3-git-send-email-marco.franchi@nxp.com> (raw)
In-Reply-To: <1515498385-23198-1-git-send-email-marco.franchi@nxp.com>
The i.MX 7D SDB has a MPL3115 Pressure sensor.
Add support for this sensor, which is included in the trivial i2c devices
and according to the bindings documentation, just need a compatible field
and an address.
Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
---
arch/arm/boot/dts/imx7d-sdb.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index a7a5dc7..a20c942 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -336,6 +336,11 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";
+
+ mpl3115@60 {
+ compatible = "fsl,mpl3115";
+ reg = <0x60>;
+ };
};
&i2c3 {
--
2.7.4
next prev parent reply other threads:[~2018-01-09 11:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-09 11:46 [PATCH 1/3] ARM: dts: imx6ul-evk: Add support for mag3110 sensor Marco Franchi
2018-01-09 11:46 ` [PATCH 2/3] ARM: imx: Update imx_v6_v7_defconfig for mag3110 support Marco Franchi
2018-01-10 16:52 ` Fabio Estevam
2018-01-09 11:46 ` Marco Franchi [this message]
2018-01-10 16:53 ` [PATCH 3/3] ARM: dts: imx7d-sdb: Add support for mpl3115 sensor Fabio Estevam
2018-01-10 16:51 ` [PATCH 1/3] ARM: dts: imx6ul-evk: Add support for mag3110 sensor Fabio Estevam
2018-02-02 5:26 ` Shawn Guo
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=1515498385-23198-3-git-send-email-marco.franchi@nxp.com \
--to=marco.franchi@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=fabio.estevam@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=shawnguo@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
all inboxes | Powered by JetHome®