All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Yan <andy.yan@rock-chips.com>
To: heiko@sntech.de
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-rockchip@lists.infradead.org, robh+dt@kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Andy Yan <andy.yan@rock-chips.com>
Subject: [PATCH v4 8/8] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb
Date: Mon, 14 Aug 2017 16:44:11 +0800	[thread overview]
Message-ID: <1502700251-8852-1-git-send-email-andy.yan@rock-chips.com> (raw)
In-Reply-To: <1502699477-8063-1-git-send-email-andy.yan@rock-chips.com>

Add dt node of bosch accelerometer bma250e on rv1108 evb.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

---

Changes in v4:
- order it by i2c address.

Changes in v3: None
Changes in v2: None

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

diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts
index a1bd95e..32fb09a 100644
--- a/arch/arm/boot/dts/rv1108-evb.dts
+++ b/arch/arm/boot/dts/rv1108-evb.dts
@@ -202,6 +202,13 @@
 			};
 		};
 	};
+
+	bma250: accelerometer@19 {
+		compatible = "bosch,bma250e";
+		reg = <0x19>;
+		interrupt-parent = <&gpio0>;
+		interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
+	};
 };
 
 &pwm0 {
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: andy.yan@rock-chips.com (Andy Yan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 8/8] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb
Date: Mon, 14 Aug 2017 16:44:11 +0800	[thread overview]
Message-ID: <1502700251-8852-1-git-send-email-andy.yan@rock-chips.com> (raw)
In-Reply-To: <1502699477-8063-1-git-send-email-andy.yan@rock-chips.com>

Add dt node of bosch accelerometer bma250e on rv1108 evb.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

---

Changes in v4:
- order it by i2c address.

Changes in v3: None
Changes in v2: None

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

diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts
index a1bd95e..32fb09a 100644
--- a/arch/arm/boot/dts/rv1108-evb.dts
+++ b/arch/arm/boot/dts/rv1108-evb.dts
@@ -202,6 +202,13 @@
 			};
 		};
 	};
+
+	bma250: accelerometer at 19 {
+		compatible = "bosch,bma250e";
+		reg = <0x19>;
+		interrupt-parent = <&gpio0>;
+		interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
+	};
 };
 
 &pwm0 {
-- 
2.7.4

  parent reply	other threads:[~2017-08-14  8:44 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-14  8:31 [PATCH v4 0/8] Support more devices on rockchip rv1108 Andy Yan
2017-08-14  8:31 ` Andy Yan
2017-08-14  8:34 ` [PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi Andy Yan
2017-08-14  8:34   ` Andy Yan
2017-08-14  8:34   ` Andy Yan
2017-08-14 15:20   ` Mark Brown
2017-08-14 15:20     ` Mark Brown
2017-08-14 15:20     ` Mark Brown
2017-08-14  8:35 ` [PATCH v4 2/8] ARM: dts: rockchip: add spi dt node for rv1108 Andy Yan
2017-08-14  8:35   ` Andy Yan
2017-08-14  8:35   ` Andy Yan
2017-08-14 20:24   ` Heiko Stuebner
2017-08-14 20:24     ` Heiko Stuebner
2017-08-14 20:24     ` Heiko Stuebner
2017-08-14  8:37 ` [PATCH v4 3/8] dt-bindings: pwm: add description for rv1108 pwm Andy Yan
2017-08-14  8:37   ` Andy Yan
2017-08-14  8:37   ` Andy Yan
2017-08-17 20:47   ` Rob Herring
2017-08-17 20:47     ` Rob Herring
2017-08-18 15:46   ` Thierry Reding
2017-08-18 15:46     ` Thierry Reding
2017-08-14  8:40 ` [PATCH v4 4/8] ARM: dts: rockchip: add pwm dt node for rv1108 Andy Yan
2017-08-14  8:40   ` Andy Yan
2017-08-14  8:40   ` Andy Yan
2017-08-18 22:51   ` Heiko Stuebner
2017-08-18 22:51     ` Heiko Stuebner
2017-08-18 22:51     ` Heiko Stuebner
2017-08-14  8:41 ` [PATCH v4 5/8] ARM: dts: rockchip: add saradc support " Andy Yan
2017-08-14  8:41   ` Andy Yan
2017-08-14 13:34   ` Heiko Stuebner
2017-08-14 13:34     ` Heiko Stuebner
2017-08-14 13:34     ` Heiko Stuebner
2017-08-14  8:42 ` [PATCH v4 6/8] ARM: dts: rockchip: add pwm backlight for rv1108 evb Andy Yan
2017-08-14  8:42   ` Andy Yan
2017-08-14  8:42   ` Andy Yan
2017-08-18 22:54   ` Heiko Stuebner
2017-08-18 22:54     ` Heiko Stuebner
2017-08-14  8:43 ` [PATCH v4 7/8] ARM: dts: rockchip: add pmic rk805 dt node " Andy Yan
2017-08-14  8:43   ` Andy Yan
2017-08-21  9:48   ` Heiko Stuebner
2017-08-21  9:48     ` Heiko Stuebner
2017-08-14  8:44 ` Andy Yan [this message]
2017-08-14  8:44   ` [PATCH v4 8/8] ARM: dts: rockchip: add accelerometer bma250e " Andy Yan
2017-08-21  9:52   ` Heiko Stuebner
2017-08-21  9:52     ` Heiko Stuebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502700251-8852-1-git-send-email-andy.yan@rock-chips.com \
    --to=andy.yan@rock-chips.com \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.