summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarco Franchi <marco.franchi@nxp.com>2018-01-09 14:46:25 +0300
committerShawn Guo <shawnguo@kernel.org>2018-02-12 16:13:01 +0300
commitdc5c632596f47bc528f38ea84621d3908637a71f (patch)
tree4e69fd010ea28b4e0fbd1ead8c0e9696711207d4 /arch
parent256909a47871a5ff2456ce3d2ec30a75e1236090 (diff)
downloadlinux-dc5c632596f47bc528f38ea84621d3908637a71f.tar.xz
ARM: dts: imx7d-sdb: Add support for mpl3115 sensor
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> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/imx7d-sdb.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index a7a5dc7b2700..a20c942c46b8 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 {