lkml.org 
[lkml]   [2020]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ARM: dts: imx: ventana: add fxos8700 on gateworks boards
On Tue, Jan 28, 2020 at 02:14:24PM -0800, Robert Jones wrote:
> Add fxos8700 iio imu entries for Gateworks ventana SBCs.
>
> Signed-off-by: Robert Jones <rjones@gateworks.com>
> ---
> arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 5 +++++
> arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 5 +++++
> arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 5 +++++
> 3 files changed, 15 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> index 1a9a9d9..2d7d01e 100644
> --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> @@ -313,6 +313,11 @@
> interrupts = <12 2>;
> wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
> };
> +
> + fxos8700@1e {

Use a generic node name, not the model name.

Shawn

> + compatible = "nxp,fxos8700";
> + reg = <0x1e>;
> + };
> };
>
> &ldb {
> diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
> index 54b2bea..bf1a2c6 100644
> --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
> @@ -304,6 +304,11 @@
> interrupts = <11 2>;
> wakeup-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
> };
> +
> + fxos8700@1e {
> + compatible = "nxp,fxos8700";
> + reg = <0x1e>;
> + };
> };
>
> &ldb {
> diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
> index 1b6c133..d9e09a9 100644
> --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
> @@ -361,6 +361,11 @@
> interrupts = <12 2>;
> wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
> };
> +
> + fxos8700@1e {
> + compatible = "nxp,fxos8700";
> + reg = <0x1e>;
> + };
> };
>
> &ldb {
> --
> 2.9.2
>

\
 
 \ /
  Last update: 2020-02-14 04:09    [W:0.028 / U:5.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site