All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org
Cc: kgene.kim@samsung.com, ben-linux@fluff.org,
	m.szyprowski@samsung.com, kyungmin.park@samsung.com,
	s.nawrocki@samsung.com
Subject: [PATCH 1/3] ARM: S5PV210: Enable I2C0 bus on GONI board
Date: Fri, 07 Jan 2011 17:57:46 +0100	[thread overview]
Message-ID: <1294419468-13700-2-git-send-email-s.nawrocki@samsung.com> (raw)
In-Reply-To: <1294419468-13700-1-git-send-email-s.nawrocki@samsung.com>

Add I2C0 bus platform device for camera sensors.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/mach-s5pv210/Kconfig     |    1 +
 arch/arm/mach-s5pv210/mach-goni.c |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig
index 53aabef..b0aa462 100644
--- a/arch/arm/mach-s5pv210/Kconfig
+++ b/arch/arm/mach-s5pv210/Kconfig
@@ -75,6 +75,7 @@ config MACH_GONI
 	bool "GONI"
 	select CPU_S5PV210
 	select S5P_GPIO_INT
+	select S3C_DEV_I2C0
 	select S3C_DEV_FB
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index e22d511..fc34575 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -800,6 +800,7 @@ static struct platform_device *goni_devices[] __initdata = {
 	&s5pv210_device_iis0,
 	&s3c_device_usb_hsotg,
 	&samsung_device_keypad,
+	&s3c_device_i2c0,
 	&s3c_device_i2c1,
 	&s3c_device_i2c2,
 	&wm8994_fixed_voltage0,
@@ -827,6 +828,9 @@ static void __init goni_machine_init(void)
 	/* Radio: call before I2C 1 registeration */
 	goni_radio_init();
 
+	/* I2C0 */
+	s3c_i2c0_set_platdata(NULL);
+
 	/* I2C1 */
 	s3c_i2c1_set_platdata(NULL);
 	i2c_register_board_info(1, i2c1_devs, ARRAY_SIZE(i2c1_devs));
-- 
1.7.3.5

WARNING: multiple messages have this Message-ID (diff)
From: s.nawrocki@samsung.com (Sylwester Nawrocki)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: S5PV210: Enable I2C0 bus on GONI board
Date: Fri, 07 Jan 2011 17:57:46 +0100	[thread overview]
Message-ID: <1294419468-13700-2-git-send-email-s.nawrocki@samsung.com> (raw)
In-Reply-To: <1294419468-13700-1-git-send-email-s.nawrocki@samsung.com>

Add I2C0 bus platform device for camera sensors.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/mach-s5pv210/Kconfig     |    1 +
 arch/arm/mach-s5pv210/mach-goni.c |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig
index 53aabef..b0aa462 100644
--- a/arch/arm/mach-s5pv210/Kconfig
+++ b/arch/arm/mach-s5pv210/Kconfig
@@ -75,6 +75,7 @@ config MACH_GONI
 	bool "GONI"
 	select CPU_S5PV210
 	select S5P_GPIO_INT
+	select S3C_DEV_I2C0
 	select S3C_DEV_FB
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index e22d511..fc34575 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -800,6 +800,7 @@ static struct platform_device *goni_devices[] __initdata = {
 	&s5pv210_device_iis0,
 	&s3c_device_usb_hsotg,
 	&samsung_device_keypad,
+	&s3c_device_i2c0,
 	&s3c_device_i2c1,
 	&s3c_device_i2c2,
 	&wm8994_fixed_voltage0,
@@ -827,6 +828,9 @@ static void __init goni_machine_init(void)
 	/* Radio: call before I2C 1 registeration */
 	goni_radio_init();
 
+	/* I2C0 */
+	s3c_i2c0_set_platdata(NULL);
+
 	/* I2C1 */
 	s3c_i2c1_set_platdata(NULL);
 	i2c_register_board_info(1, i2c1_devs, ARRAY_SIZE(i2c1_devs));
-- 
1.7.3.5

  reply	other threads:[~2011-01-07 16:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 16:57 [PATCH] ARM: S5PV210: Add GONI board setup for CIF camera support Sylwester Nawrocki
2011-01-07 16:57 ` Sylwester Nawrocki
2011-01-07 16:57 ` Sylwester Nawrocki [this message]
2011-01-07 16:57   ` [PATCH 1/3] ARM: S5PV210: Enable I2C0 bus on GONI board Sylwester Nawrocki
2011-01-28  9:28   ` Kukjin Kim
2011-01-28  9:28     ` Kukjin Kim
2011-01-28 14:18     ` Sylwester Nawrocki
2011-01-28 14:18       ` Sylwester Nawrocki
2011-01-07 16:57 ` [PATCH 2/3] ARM: S5PV210: Add supplies for CIF camera " Sylwester Nawrocki
2011-01-07 16:57   ` Sylwester Nawrocki
2011-01-28  9:32   ` Kukjin Kim
2011-01-28  9:32     ` Kukjin Kim
2011-01-28 10:53     ` Kyungmin Park
2011-01-28 10:53       ` Kyungmin Park
2011-01-28 11:49     ` Sylwester Nawrocki
2011-01-28 11:49       ` Sylwester Nawrocki
2011-01-07 16:57 ` [PATCH 3/3] ARM: S5PV210: Change framebuffer window 0 size on GONI Sylwester Nawrocki
2011-01-07 16:57   ` Sylwester Nawrocki
2011-01-28  9:35   ` Kukjin Kim
2011-01-28  9:35     ` Kukjin Kim
2011-01-26 12:52 ` [PATCH] ARM: S5PV210: Add GONI board setup for CIF camera support Sylwester Nawrocki
2011-01-26 12:52   ` 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=1294419468-13700-2-git-send-email-s.nawrocki@samsung.com \
    --to=s.nawrocki@samsung.com \
    --cc=ben-linux@fluff.org \
    --cc=kgene.kim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    /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.