linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv8 0/5] I2C driver  updates
@ 2011-12-13 10:55 Shubhrajyoti D
  2011-12-13 10:55 ` [PATCHv8 1/5] OMAP3+: HWMOD: Add the default clockactivity for I2C Shubhrajyoti D
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Shubhrajyoti D @ 2011-12-13 10:55 UTC (permalink / raw)
  To: linux-omap-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	khilman-l0cyMroinI0, b-cousson-l0cyMroinI0,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg, Shubhrajyoti D

The series attempts to do the following

- The reset should not be done in the driver 
  have support for the same.
- Remove the sysc register access in the driver.


Incorporated review comments:

 - Fix the indentation of the code.
 - Restore in the error path is not needed as we are
   doing a init.
 - Combine the patch 1 and 2 as i2c-omap.h isn't a generic header
 - Making the changelogs more descriptive.
 - Add a default clockactivity field.
 - Renaming omap2_i2c_reset() to  omap_device_reset() and move it to omap_device.c
 - iterate over all of the hwmods in the omap_device and call omap_hwmod_reset() on
   each.


This is rebased on Kevin's tree  for_3.2/fixes/i2c branch.


Acknowledge Balaji ,Santosh ,Kevin , Paul and Jon for the review comments.



Shubhrajyoti D (5):
  OMAP3+: HWMOD: Add the default clockactivity for I2C
  OMAP: hwmod/device : add omap_device_reset to reset all the hwmods in
    the device
  OMAP: I2C: Reset support
  OMAP: I2C: Remove the reset in the init path
  OMAP: I2C: Remove the SYSC register definition

 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c    |    7 +-
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c    |    9 ++-
 arch/arm/plat-omap/i2c.c                      |    2 +
 arch/arm/plat-omap/include/plat/omap_device.h |    1 +
 arch/arm/plat-omap/omap_device.c              |   22 ++++++
 drivers/i2c/busses/i2c-omap.c                 |   88 +++++++------------------
 include/linux/i2c-omap.h                      |    1 +
 7 files changed, 58 insertions(+), 72 deletions(-)

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

end of thread, other threads:[~2012-01-12 23:22 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-13 10:55 [PATCHv8 0/5] I2C driver updates Shubhrajyoti D
2011-12-13 10:55 ` [PATCHv8 1/5] OMAP3+: HWMOD: Add the default clockactivity for I2C Shubhrajyoti D
     [not found]   ` <1323773758-6375-2-git-send-email-shubhrajyoti-l0cyMroinI0@public.gmane.org>
2011-12-16  8:35     ` Paul Walmsley
2011-12-13 10:55 ` [PATCHv8 2/5] OMAP: hwmod/device : add omap_device_reset to reset all the hwmods in the device Shubhrajyoti D
     [not found]   ` <1323773758-6375-3-git-send-email-shubhrajyoti-l0cyMroinI0@public.gmane.org>
2011-12-16  8:42     ` Paul Walmsley
2011-12-13 10:55 ` [PATCHv8 4/5] OMAP: I2C: Remove the reset in the init path Shubhrajyoti D
     [not found]   ` <1323773758-6375-5-git-send-email-shubhrajyoti-l0cyMroinI0@public.gmane.org>
2011-12-16  8:40     ` Paul Walmsley
2011-12-16  8:59       ` Shubhrajyoti
     [not found]         ` <CANQgH-Ze1S6sy1uhzy_b8GWOCjF4+-9DOCcUn9mq1kAaT+Y7FA@mail.gmail.com>
     [not found]           ` <CANQgH-Ze1S6sy1uhzy_b8GWOCjF4+-9DOCcUn9mq1kAaT+Y7FA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-10  6:24             ` Datta, Shubhrajyoti
2012-01-10 15:26               ` Kevin Hilman
     [not found]                 ` <87hb03tw8h.fsf-l0cyMroinI0@public.gmane.org>
2012-01-11  6:06                   ` Shubhrajyoti
2012-01-11 13:29                     ` Paul Walmsley
     [not found]                       ` <alpine.DEB.2.00.1201110619090.31702-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2012-01-11 13:58                         ` Shubhrajyoti
     [not found]                           ` <4F0D9589.1080609-l0cyMroinI0@public.gmane.org>
2012-01-11 15:07                             ` Paul Walmsley
2012-01-11 14:23                         ` Cousson, Benoit
2012-01-11 15:22                           ` Paul Walmsley
     [not found]                             ` <alpine.DEB.2.00.1201110809530.31702-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2012-01-12 14:13                               ` Cousson, Benoit
2012-01-12 23:22                                 ` Paul Walmsley
     [not found] ` <1323773758-6375-1-git-send-email-shubhrajyoti-l0cyMroinI0@public.gmane.org>
2011-12-13 10:55   ` [PATCHv8 3/5] OMAP: I2C: Reset support Shubhrajyoti D
2011-12-16  8:38     ` Paul Walmsley
     [not found]     ` <1323773758-6375-4-git-send-email-shubhrajyoti-l0cyMroinI0@public.gmane.org>
2011-12-16  8:51       ` Cousson, Benoit
     [not found]         ` <4EEB068C.3010501-l0cyMroinI0@public.gmane.org>
2011-12-16  8:57           ` Shubhrajyoti
     [not found]             ` <4EEB07FA.1020100-l0cyMroinI0@public.gmane.org>
2011-12-16 17:26               ` Tony Lindgren
2011-12-13 10:55   ` [PATCHv8 5/5] OMAP: I2C: Remove the SYSC register definition Shubhrajyoti D
2011-12-16  8:41     ` Paul Walmsley

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).