Message ID | 20190412164901.2321-6-rui.silva@linaro.org |
---|---|
State | New |
Headers | show |
Series | iio: gyro: add core driver for fxas21002c | expand |
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 = <®_peri_3p15v>; > + vddio-supply = <®_peri_3p15v>; > + }; > }; > > &mipi_csi {
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 = <®_peri_3p15v>; + vddio-supply = <®_peri_3p15v>; + }; }; &mipi_csi {
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