* [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs
@ 2013-07-25  0:28 Santosh Shilimkar
  2013-07-25  0:28 ` [PATCH 1/2] i2c: davinci: remove useless mach/hardware include Santosh Shilimkar
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Santosh Shilimkar @ 2013-07-25  0:28 UTC (permalink / raw)
  To: linux-arm-kernel
Keystone SOCs uses the same I2C IP as available on DaVinci SOCs. These
couple of patches makes it possible to select the I2C_DAVINCI on
Keystone SOCs.
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Santosh Shilimkar (2):
  i2c: davinci: remove useless mach/hardware include
  i2c: davinci: Allow i2c driver available for keystone platforms
 drivers/i2c/busses/Kconfig       |    2 +-
 drivers/i2c/busses/i2c-davinci.c |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
-- 
1.7.9.5
^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 1/2] i2c: davinci: remove useless mach/hardware include
  2013-07-25  0:28 [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs Santosh Shilimkar
@ 2013-07-25  0:28 ` Santosh Shilimkar
  2013-07-25  9:40   ` Sekhar Nori
  2013-07-25  0:28 ` [PATCH 2/2] i2c: davinci: Allow i2c driver available for keystone platforms Santosh Shilimkar
  2013-08-09 20:09 ` [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs Santosh Shilimkar
  2 siblings, 1 reply; 10+ messages in thread
From: Santosh Shilimkar @ 2013-07-25  0:28 UTC (permalink / raw)
  To: linux-arm-kernel
This driver no longer uses definitions from mach/hardware.h.
On the other hand, including this header breaks this driver
on non-davinci platforms which don't have such a header.
Fix it.
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
---
 drivers/i2c/busses/i2c-davinci.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
index fa55605..ddaa2a3 100644
--- a/drivers/i2c/busses/i2c-davinci.c
+++ b/drivers/i2c/busses/i2c-davinci.c
@@ -41,7 +41,6 @@
 #include <linux/of_i2c.h>
 #include <linux/of_device.h>
 
-#include <mach/hardware.h>
 #include <linux/platform_data/i2c-davinci.h>
 
 /* ----- global defines ----------------------------------------------- */
-- 
1.7.9.5
^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH 2/2] i2c: davinci: Allow i2c driver available for keystone platforms
  2013-07-25  0:28 [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs Santosh Shilimkar
  2013-07-25  0:28 ` [PATCH 1/2] i2c: davinci: remove useless mach/hardware include Santosh Shilimkar
@ 2013-07-25  0:28 ` Santosh Shilimkar
  2013-08-15 12:31   ` Wolfram Sang
  2013-08-09 20:09 ` [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs Santosh Shilimkar
  2 siblings, 1 reply; 10+ messages in thread
From: Santosh Shilimkar @ 2013-07-25  0:28 UTC (permalink / raw)
  To: linux-arm-kernel
Keystone SOCs uses the same I2C IP as available on DaVinci SOCs.
Update the config so that ARCH_KEYSTONE can use it.
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
---
 drivers/i2c/busses/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index dc6dea6..fcdd321 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -385,7 +385,7 @@ config I2C_CPM
 
 config I2C_DAVINCI
 	tristate "DaVinci I2C driver"
-	depends on ARCH_DAVINCI
+	depends on ARCH_DAVINCI || ARCH_KEYSTONE
 	help
 	  Support for TI DaVinci I2C controller driver.
 
-- 
1.7.9.5
^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH 1/2] i2c: davinci: remove useless mach/hardware include
  2013-07-25  0:28 ` [PATCH 1/2] i2c: davinci: remove useless mach/hardware include Santosh Shilimkar
@ 2013-07-25  9:40   ` Sekhar Nori
  2013-07-25 20:59     ` Santosh Shilimkar
  0 siblings, 1 reply; 10+ messages in thread
From: Sekhar Nori @ 2013-07-25  9:40 UTC (permalink / raw)
  To: linux-arm-kernel
On Thursday 25 July 2013 05:58 AM, Santosh Shilimkar wrote:
> This driver no longer uses definitions from mach/hardware.h.
> On the other hand, including this header breaks this driver
> on non-davinci platforms which don't have such a header.
> 
> Fix it.
> 
> Cc: Sekhar Nori <nsekhar@ti.com>
> Cc: Wolfram Sang <wsa@the-dreams.de>
> 
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
One minor nit:
> ---
>  drivers/i2c/busses/i2c-davinci.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
> index fa55605..ddaa2a3 100644
> --- a/drivers/i2c/busses/i2c-davinci.c
> +++ b/drivers/i2c/busses/i2c-davinci.c
> @@ -41,7 +41,6 @@
>  #include <linux/of_i2c.h>
>  #include <linux/of_device.h>
>  
You can now remove this empty line too.
Thanks,
Sekhar
> -#include <mach/hardware.h>
>  #include <linux/platform_data/i2c-davinci.h>
>  
>  /* ----- global defines ----------------------------------------------- */
> 
^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 1/2] i2c: davinci: remove useless mach/hardware include
  2013-07-25  9:40   ` Sekhar Nori
@ 2013-07-25 20:59     ` Santosh Shilimkar
  2013-08-15 12:31       ` Wolfram Sang
  0 siblings, 1 reply; 10+ messages in thread
From: Santosh Shilimkar @ 2013-07-25 20:59 UTC (permalink / raw)
  To: linux-arm-kernel
On Thursday 25 July 2013 05:40 AM, Sekhar Nori wrote:
> On Thursday 25 July 2013 05:58 AM, Santosh Shilimkar wrote:
>> This driver no longer uses definitions from mach/hardware.h.
>> On the other hand, including this header breaks this driver
>> on non-davinci platforms which don't have such a header.
>>
>> Fix it.
>>
>> Cc: Sekhar Nori <nsekhar@ti.com>
>> Cc: Wolfram Sang <wsa@the-dreams.de>
>>
>> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
> 
> Acked-by: Sekhar Nori <nsekhar@ti.com>
> 
> One minor nit:
> 
>> ---
>>  drivers/i2c/busses/i2c-davinci.c |    1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
>> index fa55605..ddaa2a3 100644
>> --- a/drivers/i2c/busses/i2c-davinci.c
>> +++ b/drivers/i2c/busses/i2c-davinci.c
>> @@ -41,7 +41,6 @@
>>  #include <linux/of_i2c.h>
>>  #include <linux/of_device.h>
>>  
> 
> You can now remove this empty line too.
> 
Yes. Updated patch below with your ack added.
Regards,
Santosh
>From d7ae1c488ebae19028f33abff76c4d684271a7fb Mon Sep 17 00:00:00 2001
From: Santosh Shilimkar <santosh.shilimkar@ti.com>
Date: Tue, 23 Jul 2013 15:40:46 -0400
Subject: [PATCH 1/2] i2c: davinci: remove useless mach/hardware include
This driver no longer uses definitions from mach/hardware.h.
On the other hand, including this header breaks this driver
on non-davinci platforms which don't have such a header.
Fix it.
Cc: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
---
 drivers/i2c/busses/i2c-davinci.c |    2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
index fa55605..5898df3 100644
--- a/drivers/i2c/busses/i2c-davinci.c
+++ b/drivers/i2c/busses/i2c-davinci.c
@@ -40,8 +40,6 @@
 #include <linux/gpio.h>
 #include <linux/of_i2c.h>
 #include <linux/of_device.h>
-
-#include <mach/hardware.h>
 #include <linux/platform_data/i2c-davinci.h>
 
 /* ----- global defines ----------------------------------------------- */
-- 
1.7.9.5
^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs
  2013-07-25  0:28 [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs Santosh Shilimkar
  2013-07-25  0:28 ` [PATCH 1/2] i2c: davinci: remove useless mach/hardware include Santosh Shilimkar
  2013-07-25  0:28 ` [PATCH 2/2] i2c: davinci: Allow i2c driver available for keystone platforms Santosh Shilimkar
@ 2013-08-09 20:09 ` Santosh Shilimkar
  2013-08-11  9:53   ` Wolfram Sang
  2 siblings, 1 reply; 10+ messages in thread
From: Santosh Shilimkar @ 2013-08-09 20:09 UTC (permalink / raw)
  To: linux-arm-kernel
Wolfram, Sekhar, 
On Wednesday 24 July 2013 08:28 PM, Santosh Shilimkar wrote:
> Keystone SOCs uses the same I2C IP as available on DaVinci SOCs. These
> couple of patches makes it possible to select the I2C_DAVINCI on
> Keystone SOCs.
> 
> Cc: Sekhar Nori <nsekhar@ti.com>
> Cc: Wolfram Sang <wsa@the-dreams.de>
> 
> Santosh Shilimkar (2):
>   i2c: davinci: remove useless mach/hardware include
>   i2c: davinci: Allow i2c driver available for keystone platforms
> 
Who is queuing up these patches ?
regards,
Santosh
^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs
  2013-08-09 20:09 ` [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs Santosh Shilimkar
@ 2013-08-11  9:53   ` Wolfram Sang
  2013-08-12  0:26     ` Shilimkar, Santosh
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfram Sang @ 2013-08-11  9:53 UTC (permalink / raw)
  To: linux-arm-kernel
On Fri, Aug 09, 2013 at 04:09:34PM -0400, Santosh Shilimkar wrote:
> Wolfram, Sekhar, 
> 
> On Wednesday 24 July 2013 08:28 PM, Santosh Shilimkar wrote:
> > Keystone SOCs uses the same I2C IP as available on DaVinci SOCs. These
> > couple of patches makes it possible to select the I2C_DAVINCI on
> > Keystone SOCs.
> > 
> > Cc: Sekhar Nori <nsekhar@ti.com>
> > Cc: Wolfram Sang <wsa@the-dreams.de>
> > 
> > Santosh Shilimkar (2):
> >   i2c: davinci: remove useless mach/hardware include
> >   i2c: davinci: Allow i2c driver available for keystone platforms
> > 
> Who is queuing up these patches ?
I can pick them. Do they depend on something?
^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs
  2013-08-11  9:53   ` Wolfram Sang
@ 2013-08-12  0:26     ` Shilimkar, Santosh
  0 siblings, 0 replies; 10+ messages in thread
From: Shilimkar, Santosh @ 2013-08-12  0:26 UTC (permalink / raw)
  To: linux-arm-kernel
(Sorry for top posting ..)
No dependency so feel free to pick and merge them appropriately.
Regards,
Santosh
________________________________________
From: Wolfram Sang [wsa at the-dreams.de]
Sent: Sunday, August 11, 2013 5:53 AM
To: Shilimkar, Santosh
Cc: Nori, Sekhar; linux-i2c at vger.kernel.org; linux-arm-kernel at lists.infradead.org
Subject: Re: [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs
On Fri, Aug 09, 2013 at 04:09:34PM -0400, Santosh Shilimkar wrote:
> Wolfram, Sekhar,
>
> On Wednesday 24 July 2013 08:28 PM, Santosh Shilimkar wrote:
> > Keystone SOCs uses the same I2C IP as available on DaVinci SOCs. These
> > couple of patches makes it possible to select the I2C_DAVINCI on
> > Keystone SOCs.
> >
> > Cc: Sekhar Nori <nsekhar@ti.com>
> > Cc: Wolfram Sang <wsa@the-dreams.de>
> >
> > Santosh Shilimkar (2):
> >   i2c: davinci: remove useless mach/hardware include
> >   i2c: davinci: Allow i2c driver available for keystone platforms
> >
> Who is queuing up these patches ?
I can pick them. Do they depend on something?
^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 1/2] i2c: davinci: remove useless mach/hardware include
  2013-07-25 20:59     ` Santosh Shilimkar
@ 2013-08-15 12:31       ` Wolfram Sang
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfram Sang @ 2013-08-15 12:31 UTC (permalink / raw)
  To: linux-arm-kernel
On Thu, Jul 25, 2013 at 04:59:25PM -0400, Santosh Shilimkar wrote:
> On Thursday 25 July 2013 05:40 AM, Sekhar Nori wrote:
> > On Thursday 25 July 2013 05:58 AM, Santosh Shilimkar wrote:
> >> This driver no longer uses definitions from mach/hardware.h.
> >> On the other hand, including this header breaks this driver
> >> on non-davinci platforms which don't have such a header.
> >>
> >> Fix it.
> >>
> >> Cc: Sekhar Nori <nsekhar@ti.com>
> >> Cc: Wolfram Sang <wsa@the-dreams.de>
> >>
> >> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
> > 
> > Acked-by: Sekhar Nori <nsekhar@ti.com>
> > 
> > One minor nit:
> > 
> >> ---
> >>  drivers/i2c/busses/i2c-davinci.c |    1 -
> >>  1 file changed, 1 deletion(-)
> >>
> >> diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
> >> index fa55605..ddaa2a3 100644
> >> --- a/drivers/i2c/busses/i2c-davinci.c
> >> +++ b/drivers/i2c/busses/i2c-davinci.c
> >> @@ -41,7 +41,6 @@
> >>  #include <linux/of_i2c.h>
> >>  #include <linux/of_device.h>
> >>  
> > 
> > You can now remove this empty line too.
> > 
> Yes. Updated patch below with your ack added.
> 
> Regards,
> Santosh
> 
> From d7ae1c488ebae19028f33abff76c4d684271a7fb Mon Sep 17 00:00:00 2001
> From: Santosh Shilimkar <santosh.shilimkar@ti.com>
> Date: Tue, 23 Jul 2013 15:40:46 -0400
> Subject: [PATCH 1/2] i2c: davinci: remove useless mach/hardware include
> 
> This driver no longer uses definitions from mach/hardware.h.
> On the other hand, including this header breaks this driver
> on non-davinci platforms which don't have such a header.
> 
> Fix it.
Applied to for-next, thanks! Please send a proper V2 in a seperate
message next time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130815/c8758217/attachment.sig>
^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 2/2] i2c: davinci: Allow i2c driver available for keystone platforms
  2013-07-25  0:28 ` [PATCH 2/2] i2c: davinci: Allow i2c driver available for keystone platforms Santosh Shilimkar
@ 2013-08-15 12:31   ` Wolfram Sang
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfram Sang @ 2013-08-15 12:31 UTC (permalink / raw)
  To: linux-arm-kernel
On Wed, Jul 24, 2013 at 08:28:19PM -0400, Santosh Shilimkar wrote:
> Keystone SOCs uses the same I2C IP as available on DaVinci SOCs.
> Update the config so that ARCH_KEYSTONE can use it.
> 
> Cc: Sekhar Nori <nsekhar@ti.com>
> Cc: Wolfram Sang <wsa@the-dreams.de>
> 
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130815/1dbdc002/attachment.sig>
^ permalink raw reply	[flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-08-15 12:31 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25  0:28 [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs Santosh Shilimkar
2013-07-25  0:28 ` [PATCH 1/2] i2c: davinci: remove useless mach/hardware include Santosh Shilimkar
2013-07-25  9:40   ` Sekhar Nori
2013-07-25 20:59     ` Santosh Shilimkar
2013-08-15 12:31       ` Wolfram Sang
2013-07-25  0:28 ` [PATCH 2/2] i2c: davinci: Allow i2c driver available for keystone platforms Santosh Shilimkar
2013-08-15 12:31   ` Wolfram Sang
2013-08-09 20:09 ` [PATCH 0/2] i2c: davinci: Couple of patches to make i2c usable on Keystone SOCs Santosh Shilimkar
2013-08-11  9:53   ` Wolfram Sang
2013-08-12  0:26     ` Shilimkar, Santosh
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).