diff mbox series

[v6,5/6] ARM: dts: imx7s-warp: add fxas21002c gyroscope

Message ID 20190412164901.2321-6-rui.silva@linaro.org
State New
Headers show
Series iio: gyro: add core driver for fxas21002c | expand

Commit Message

Rui Miguel Silva April 12, 2019, 4:49 p.m. UTC
Add entry to enable the fxas21002c gyroscope in the warp7 board.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>

---
 arch/arm/boot/dts/imx7s-warp.dts | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.21.0

Comments

Jonathan Cameron April 14, 2019, 1:41 p.m. UTC | #1
On Fri, 12 Apr 2019 17:49:00 +0100
Rui Miguel Silva <rui.silva@linaro.org> wrote:

> Add entry to enable the fxas21002c gyroscope in the warp7 board.

> 

> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>

The driver is now queued up in the IIO tree and will head towards
Linux-next fairly soon. Should be in plenty of time for the coming
merge window.

Thanks,

Jonathan

> ---

>  arch/arm/boot/dts/imx7s-warp.dts | 7 +++++++

>  1 file changed, 7 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts

> index 613f0a9b319f..568f3289b34c 100644

> --- a/arch/arm/boot/dts/imx7s-warp.dts

> +++ b/arch/arm/boot/dts/imx7s-warp.dts

> @@ -242,6 +242,13 @@

>  		compatible = "fsl,mpl3115";

>  		reg = <0x60>;

>  	};

> +

> +	gyroscope@20 {

> +		compatible = "nxp,fxas21002c";

> +		reg = <0x20>;

> +		vdd-supply = <&reg_peri_3p15v>;

> +		vddio-supply = <&reg_peri_3p15v>;

> +	};

>  };

>  

>  &mipi_csi {
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts
index 613f0a9b319f..568f3289b34c 100644
--- a/arch/arm/boot/dts/imx7s-warp.dts
+++ b/arch/arm/boot/dts/imx7s-warp.dts
@@ -242,6 +242,13 @@ 
 		compatible = "fsl,mpl3115";
 		reg = <0x60>;
 	};
+
+	gyroscope@20 {
+		compatible = "nxp,fxas21002c";
+		reg = <0x20>;
+		vdd-supply = <&reg_peri_3p15v>;
+		vddio-supply = <&reg_peri_3p15v>;
+	};
 };
 
 &mipi_csi {