linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440.
@ 2010-07-21 12:59 Kukjin Kim
       [not found] ` <1279717167-24456-1-git-send-email-kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Kukjin Kim @ 2010-07-21 12:59 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc, linux-i2c
  Cc: ben-linux, Naveen Krishna Ch, Kukjin Kim

From: Naveen Krishna Ch <ch.naveen@samsung.com>

This patch is to select support I2C channels 0, 1 and 2 for S5PV210 and S5P6440.

Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
Changes since v1:
- Modifed the Kconfig help comments.

 drivers/i2c/busses/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index bceafbf..27c96ec 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -523,10 +523,10 @@ config I2C_PXA_SLAVE
 
 config I2C_S3C2410
 	tristate "S3C2410 I2C Driver"
-	depends on ARCH_S3C2410 || ARCH_S3C64XX
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5P6440 || ARCH_S5PV210
 	help
-	  Say Y here to include support for I2C controller in the
-	  Samsung S3C2410 based System-on-Chip devices.
+	  Say Y here to include support for I2C controller in the Samsung
+	  S3C2410, S3C64XX, S5P6440 and S5PV210 based System-on-Chip devices.
 
 config I2C_S6000
 	tristate "S6000 I2C support"
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440.
       [not found] ` <1279717167-24456-1-git-send-email-kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
@ 2010-07-21 13:41   ` Kyungmin Park
       [not found]     ` <AANLkTilygLmO9n0oconz73C6Bjtsgbh0cbfnJ1zU9YMb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Kyungmin Park @ 2010-07-21 13:41 UTC (permalink / raw)
  To: Kukjin Kim
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg, Naveen Krishna Ch

I don't want to modify Kconfig anymore. it's simple to modify driver itself.

Think the usage of I2c. I think there's no case don't use it.

At this time modify Kconfig once, and just fix the driver if new SoCs
are arrives.
Of course we can modify Kconfig one more, If there's really new IPs of
I2C are created. but I expect we also need to define new PLAT_SAMSUNG2

Thank you,
Kyungmin Park

On Wed, Jul 21, 2010 at 9:59 PM, Kukjin Kim <kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> wrote:
> From: Naveen Krishna Ch <ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
>
> This patch is to select support I2C channels 0, 1 and 2 for S5PV210 and S5P6440.
>
> Signed-off-by: Naveen Krishna Ch <ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> Signed-off-by: Kukjin Kim <kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> ---
> Changes since v1:
> - Modifed the Kconfig help comments.
>
>  drivers/i2c/busses/Kconfig |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index bceafbf..27c96ec 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -523,10 +523,10 @@ config I2C_PXA_SLAVE
>
>  config I2C_S3C2410
>        tristate "S3C2410 I2C Driver"
> -       depends on ARCH_S3C2410 || ARCH_S3C64XX
> +       depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5P6440 || ARCH_S5PV210
>        help
> -         Say Y here to include support for I2C controller in the
> -         Samsung S3C2410 based System-on-Chip devices.
> +         Say Y here to include support for I2C controller in the Samsung
> +         S3C2410, S3C64XX, S5P6440 and S5PV210 based System-on-Chip devices.
>
>  config I2C_S6000
>        tristate "S6000 I2C support"
> --
> 1.6.2.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440.
       [not found]     ` <AANLkTilygLmO9n0oconz73C6Bjtsgbh0cbfnJ1zU9YMb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-07-21 13:55       ` Kukjin Kim
  2010-07-21 14:02         ` Kyungmin Park
  0 siblings, 1 reply; 4+ messages in thread
From: Kukjin Kim @ 2010-07-21 13:55 UTC (permalink / raw)
  To: 'Kyungmin Park'
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg, 'Naveen Krishna Ch'

Kyungmin Park wrote:
> 
> I don't want to modify Kconfig anymore. it's simple to modify driver
itself.
> 
Yeah, I think so.

> Think the usage of I2c. I think there's no case don't use it.
> 
> At this time modify Kconfig once, and just fix the driver if new SoCs
> are arrives.
> Of course we can modify Kconfig one more, If there's really new IPs of
> I2C are created. but I expect we also need to define new PLAT_SAMSUNG2
> 
Maybe you did see the Watchdog driver...I think, in this case, the depending
on 'HAVE_xxx_I2C' is better than 'PLAT_xxx'.

If there is newer I2C, the 'HAVE_xxx_I2Cv2' is enough.

> Thank you,
> Kyungmin Park
> 
> On Wed, Jul 21, 2010 at 9:59 PM, Kukjin Kim <kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> wrote:
> > From: Naveen Krishna Ch <ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> >
> > This patch is to select support I2C channels 0, 1 and 2 for S5PV210 and
> S5P6440.
> >
> > Signed-off-by: Naveen Krishna Ch <ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> > Signed-off-by: Kukjin Kim <kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> > ---
> > Changes since v1:
> > - Modifed the Kconfig help comments.
> >
> >  drivers/i2c/busses/Kconfig |    6 +++---
> >  1 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> > index bceafbf..27c96ec 100644
> > --- a/drivers/i2c/busses/Kconfig
> > +++ b/drivers/i2c/busses/Kconfig
> > @@ -523,10 +523,10 @@ config I2C_PXA_SLAVE
> >
> >  config I2C_S3C2410
> >        tristate "S3C2410 I2C Driver"
> > -       depends on ARCH_S3C2410 || ARCH_S3C64XX
> > +       depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5P6440 ||
> ARCH_S5PV210
> >        help
> > -         Say Y here to include support for I2C controller in the
> > -         Samsung S3C2410 based System-on-Chip devices.
> > +         Say Y here to include support for I2C controller in the
Samsung
> > +         S3C2410, S3C64XX, S5P6440 and S5PV210 based System-on-Chip
> devices.
> >
> >  config I2C_S6000
> >        tristate "S6000 I2C support"
> > --
> > 1.6.2.5
> >
> > --


Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440.
  2010-07-21 13:55       ` Kukjin Kim
@ 2010-07-21 14:02         ` Kyungmin Park
  0 siblings, 0 replies; 4+ messages in thread
From: Kyungmin Park @ 2010-07-21 14:02 UTC (permalink / raw)
  To: Kukjin Kim
  Cc: linux-arm-kernel, linux-samsung-soc, linux-i2c, ben-linux,
	Naveen Krishna Ch

On Wed, Jul 21, 2010 at 10:55 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> Kyungmin Park wrote:
>>
>> I don't want to modify Kconfig anymore. it's simple to modify driver
> itself.
>>
> Yeah, I think so.
>
>> Think the usage of I2c. I think there's no case don't use it.
>>
>> At this time modify Kconfig once, and just fix the driver if new SoCs
>> are arrives.
>> Of course we can modify Kconfig one more, If there's really new IPs of
>> I2C are created. but I expect we also need to define new PLAT_SAMSUNG2
>>
> Maybe you did see the Watchdog driver...I think, in this case, the depending
> on 'HAVE_xxx_I2C' is better than 'PLAT_xxx'.
>
> If there is newer I2C, the 'HAVE_xxx_I2Cv2' is enough.

yes it's personal taste. I just don't want to modify each Kconfig for
every samsung ARCH.
Now your team enables Samsung SoCs peripherals and if you like this
way, you should define all SoCs peripherals like this.

>
>> Thank you,
>> Kyungmin Park
>>
>> On Wed, Jul 21, 2010 at 9:59 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
>> > From: Naveen Krishna Ch <ch.naveen@samsung.com>
>> >
>> > This patch is to select support I2C channels 0, 1 and 2 for S5PV210 and
>> S5P6440.
>> >
>> > Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
>> > Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
>> > ---
>> > Changes since v1:
>> > - Modifed the Kconfig help comments.
>> >
>> >  drivers/i2c/busses/Kconfig |    6 +++---
>> >  1 files changed, 3 insertions(+), 3 deletions(-)
>> >
>> > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
>> > index bceafbf..27c96ec 100644
>> > --- a/drivers/i2c/busses/Kconfig
>> > +++ b/drivers/i2c/busses/Kconfig
>> > @@ -523,10 +523,10 @@ config I2C_PXA_SLAVE
>> >
>> >  config I2C_S3C2410
>> >        tristate "S3C2410 I2C Driver"
>> > -       depends on ARCH_S3C2410 || ARCH_S3C64XX
>> > +       depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5P6440 ||
>> ARCH_S5PV210
>> >        help
>> > -         Say Y here to include support for I2C controller in the
>> > -         Samsung S3C2410 based System-on-Chip devices.
>> > +         Say Y here to include support for I2C controller in the
> Samsung
>> > +         S3C2410, S3C64XX, S5P6440 and S5PV210 based System-on-Chip
>> devices.
>> >
>> >  config I2C_S6000
>> >        tristate "S6000 I2C support"
>> > --
>> > 1.6.2.5
>> >
>> > --
>
>
> Thanks.
>
> Best regards,
> Kgene.
> --
> Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
> SW Solution Development Team, Samsung Electronics Co., Ltd.
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-21 14:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21 12:59 [PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440 Kukjin Kim
     [not found] ` <1279717167-24456-1-git-send-email-kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2010-07-21 13:41   ` Kyungmin Park
     [not found]     ` <AANLkTilygLmO9n0oconz73C6Bjtsgbh0cbfnJ1zU9YMb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-21 13:55       ` Kukjin Kim
2010-07-21 14:02         ` Kyungmin Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).