Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: a.kesavan@samsung.com (Abhilash Kesavan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: EXYNOS5: Add aliases for i2c controller
Date: Wed, 07 Nov 2012 16:16:59 +0530	[thread overview]
Message-ID: <1352285220-31544-3-git-send-email-a.kesavan@samsung.com> (raw)
In-Reply-To: <1352285220-31544-1-git-send-email-a.kesavan@samsung.com>

Add aliases to determine the i2c controller instance.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
---
 arch/arm/boot/dts/exynos5250.dtsi |   27 ++++++++++++++++++---------
 1 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index cf6a02d..3ae23fd 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -31,6 +31,15 @@
 		gsc1 = &gsc_1;
 		gsc2 = &gsc_2;
 		gsc3 = &gsc_3;
+		i2c0 = &i2c_0;
+		i2c1 = &i2c_1;
+		i2c2 = &i2c_2;
+		i2c3 = &i2c_3;
+		i2c4 = &i2c_4;
+		i2c5 = &i2c_5;
+		i2c6 = &i2c_6;
+		i2c7 = &i2c_7;
+		i2c8 = &i2c_8;
 	};
 
 	gic:interrupt-controller at 10481000 {
@@ -104,7 +113,7 @@
 		interrupts = <0 54 0>;
 	};
 
-	i2c at 12C60000 {
+	i2c_0: i2c at 12C60000 {
 		compatible = "samsung,s3c2440-i2c";
 		reg = <0x12C60000 0x100>;
 		interrupts = <0 56 0>;
@@ -112,7 +121,7 @@
 		#size-cells = <0>;
 	};
 
-	i2c at 12C70000 {
+	i2c_1: i2c at 12C70000 {
 		compatible = "samsung,s3c2440-i2c";
 		reg = <0x12C70000 0x100>;
 		interrupts = <0 57 0>;
@@ -120,7 +129,7 @@
 		#size-cells = <0>;
 	};
 
-	i2c at 12C80000 {
+	i2c_2: i2c at 12C80000 {
 		compatible = "samsung,s3c2440-i2c";
 		reg = <0x12C80000 0x100>;
 		interrupts = <0 58 0>;
@@ -128,7 +137,7 @@
 		#size-cells = <0>;
 	};
 
-	i2c at 12C90000 {
+	i2c_3: i2c at 12C90000 {
 		compatible = "samsung,s3c2440-i2c";
 		reg = <0x12C90000 0x100>;
 		interrupts = <0 59 0>;
@@ -136,7 +145,7 @@
 		#size-cells = <0>;
 	};
 
-	i2c at 12CA0000 {
+	i2c_4: i2c at 12CA0000 {
 		compatible = "samsung,s3c2440-i2c";
 		reg = <0x12CA0000 0x100>;
 		interrupts = <0 60 0>;
@@ -144,7 +153,7 @@
 		#size-cells = <0>;
 	};
 
-	i2c at 12CB0000 {
+	i2c_5: i2c at 12CB0000 {
 		compatible = "samsung,s3c2440-i2c";
 		reg = <0x12CB0000 0x100>;
 		interrupts = <0 61 0>;
@@ -152,7 +161,7 @@
 		#size-cells = <0>;
 	};
 
-	i2c at 12CC0000 {
+	i2c_6: i2c at 12CC0000 {
 		compatible = "samsung,s3c2440-i2c";
 		reg = <0x12CC0000 0x100>;
 		interrupts = <0 62 0>;
@@ -160,7 +169,7 @@
 		#size-cells = <0>;
 	};
 
-	i2c at 12CD0000 {
+	i2c_7: i2c at 12CD0000 {
 		compatible = "samsung,s3c2440-i2c";
 		reg = <0x12CD0000 0x100>;
 		interrupts = <0 63 0>;
@@ -168,7 +177,7 @@
 		#size-cells = <0>;
 	};
 
-	i2c at 12CE0000 {
+	i2c_8: i2c at 12CE0000 {
 		compatible = "samsung,s3c2440-hdmiphy-i2c";
 		reg = <0x12CE0000 0x1000>;
 		interrupts = <0 64 0>;
-- 
1.6.6.1

  parent reply	other threads:[~2012-11-07 10:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07 10:46 [PATCH 0/3] Legacy I2C controller fixes for exynos5 Abhilash Kesavan
2012-11-07 10:46 ` [PATCH 1/3] ARM: EXYNOS5: Setup legacy i2c controller interrupts on SMDK5250 Abhilash Kesavan
2012-11-07 10:46 ` Abhilash Kesavan [this message]
2012-11-07 10:47 ` [PATCH 3/3] ARM: EXYNOS5: Fix i2c suspend/resume for legacy controller Abhilash Kesavan
2012-11-20 10:12 ` [PATCH 0/3] Legacy I2C controller fixes for exynos5 Kukjin Kim

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=1352285220-31544-3-git-send-email-a.kesavan@samsung.com \
    --to=a.kesavan@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