public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: s.nawrocki@samsung.com (Sylwester Nawrocki)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/8] ARM: dts: Add AK8975 device node for Exynos4412 TRATS2 board
Date: Fri, 21 Jun 2013 14:50:23 +0200	[thread overview]
Message-ID: <1371819024-12596-8-git-send-email-s.nawrocki@samsung.com> (raw)
In-Reply-To: <1371819024-12596-1-git-send-email-s.nawrocki@samsung.com>

From: Jacek Anaszewski <j.anaszewski@samsung.com>

This patch adds AK8975 magnetometer node and corresponding
i2c-gpio bus node for TRATS2 board.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
---
 arch/arm/boot/dts/exynos4412-trats2.dts |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index 056b835..826e42e 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -453,4 +453,19 @@
 	serial at 13830000 {
 		status = "okay";
 	};
+
+	i2c-gpio-0 {
+		compatible = "i2c-gpio";
+		gpios = <&gpy2 4 0>, <&gpy2 5 0>;
+		i2c-gpio,delay-us = <2>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "okay";
+
+		ak8975 at 0c {
+			compatible = "asahi-kasei,ak8975";
+			reg = <0x0c>;
+			gpios = <&gpj0 7 0>;
+		};
+	};
 };
-- 
1.7.9.5

  parent reply	other threads:[~2013-06-21 12:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21 12:50 [PATCH 0/8] ARM: dts: Add camera and barometer sensor support for TRATS2 board Sylwester Nawrocki
2013-06-21 12:50 ` [PATCH 1/8] ARM: dts: Correct camera pinctrl nodes for Exynos4x12 SoCs Sylwester Nawrocki
2013-06-23 10:12   ` Tomasz Figa
2013-06-24 12:29     ` Sylwester Nawrocki
2013-06-21 12:50 ` [PATCH 2/8] ARM: dts: Add pinctrl entries for Exynos4x12 FIMC-IS peripherals Sylwester Nawrocki
2013-06-21 12:50 ` [PATCH 3/8] ARM: dts: Add ISP power domain node for Exynos4x12 Sylwester Nawrocki
2013-06-21 12:50 ` [PATCH 4/8] ARM: dts: Use generic DMA bindings for Exynos4 SPI devices Sylwester Nawrocki
2013-06-21 12:50 ` [PATCH 5/8] ARM: dts: Add camera nodes for Exynos4 SoCs Sylwester Nawrocki
2013-06-21 12:50 ` [PATCH 6/8] ARM: dts: Add camera subsystem nodes to exynos4x12.dtsi Sylwester Nawrocki
2013-06-21 12:50 ` Sylwester Nawrocki [this message]
2013-06-21 12:50 ` [PATCH 8/8] ARM: dts: Add camera device nodes for Exynos4412 TRATS2 board Sylwester Nawrocki

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=1371819024-12596-8-git-send-email-s.nawrocki@samsung.com \
    --to=s.nawrocki@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox