ARM: dts: imx7d-sdb: Add support for mpl3115 sensor
authorMarco Franchi <marco.franchi@nxp.com>
Tue, 9 Jan 2018 11:46:25 +0000 (09:46 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Feb 2018 13:13:01 +0000 (21:13 +0800)
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>
arch/arm/boot/dts/imx7d-sdb.dts

index a7a5dc7b270083ffc6172a5d4cd499f74a7c67d6..a20c942c46b8d5c5d03da5927c5f258c3f1cc4f7 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_i2c2>;
        status = "okay";
+
+       mpl3115@60 {
+               compatible = "fsl,mpl3115";
+               reg = <0x60>;
+       };
 };
 
 &i2c3 {