linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13]  V4 Split i2c-designware.c to support PCI drivers.
@ 2011-06-09 19:21 dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
  2011-06-09 19:21 ` [PATCH 01/13] i2c-designware: Use local version of readl & writel dirk.brandewie
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w @ 2011-06-09 19:21 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: Dirk Brandewie

From: Dirk Brandewie <dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

This patch set reworks i2c-designware.c to enable supporting multiple
instances of the driver in the system and adds support for Designware
I2C IP cores behind PCI devices.

Previous discussion thread:
   https://lkml.org/lkml/2011/3/12/70

Changes since V3:
   commits 330d1c^..5c7d3e from linux-next rebased onto v3.0-rc2

Changes since V2:
   Fixed bug that kept PCI driver from compiling :-(

   PCI Runtime power mangement code changed to remove warning at probe
   time and remove device.

   Fix checking of component version on big endian machine to work
   correctly.
 
Changes since V1 of the patch set:

   Patches 1-3 are now Jean-Hugues Deschenes patches unmodified from
   http://www.spinics.net/lists/linux-i2c/msg02421.html

   Patch 4 moves the version checking introduced in Jean's code to the
   core init function.

   Patch 5 splits i2c-designware.c into IP core and bus specific files.

   Patch 6-9 rework i2c-designware-core.c and i2c-designware-platdrv.c to
   add the ability to support multiple instances of the driver.

   Patch 10 Finishes moving all register access and associated offset and
   bit definitions into the core.

   Patch 11 Adds support for designware I2C IP cores behind PCI
   devices on the Moorestown and Medfield platforms. removed change to
   authors name.

   Patch 12 Adds runtime power management to the PCI driver.    

Dirk Brandewie (10):
  i2c-designware: Move checking of IP core version to i2c_dw_init()
  i2c-designware: split of i2c-designware.c into core and bus specific
    parts
  i2c-designware: Move retriveving the clock speed out of core code.
  i2c-designware: move i2c functionality bit field to be adapter
    specific
  i2c-designware: move controller config to bus specific portion of
    driver
  i2c-designware: Support multiple cores using same ISR
  i2c-designware: Push all register reads/writes into the core code.
  i2c-designware: Add support for Designware core behind PCI devices.
  i2c-designware: Add runtime power management support
  i2c-intel-mid.c: Remove i2c-intel-mid.c

Jean-Hugues Deschenes (3):
  i2c-designware: Use local version of readl & writel
  i2c-designware: Check component type register
  i2c-designware: Allow mixed endianness accesses

 drivers/i2c/busses/Kconfig                  |   26 +-
 drivers/i2c/busses/Makefile                 |    6 +-
 drivers/i2c/busses/i2c-designware-core.c    |  705 +++++++++++++++++
 drivers/i2c/busses/i2c-designware-core.h    |  106 +++
 drivers/i2c/busses/i2c-designware-pcidrv.c  |  405 ++++++++++
 drivers/i2c/busses/i2c-designware-platdrv.c |  215 +++++
 drivers/i2c/busses/i2c-designware.c         |  847 --------------------
 drivers/i2c/busses/i2c-intel-mid.c          | 1140 ---------------------------
 8 files changed, 1448 insertions(+), 2002 deletions(-)
 create mode 100644 drivers/i2c/busses/i2c-designware-core.c
 create mode 100644 drivers/i2c/busses/i2c-designware-core.h
 create mode 100644 drivers/i2c/busses/i2c-designware-pcidrv.c
 create mode 100644 drivers/i2c/busses/i2c-designware-platdrv.c
 delete mode 100644 drivers/i2c/busses/i2c-designware.c
 delete mode 100644 drivers/i2c/busses/i2c-intel-mid.c

-- 
1.7.3.4

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 00/13] V5 Split i2c-designware.c to support PCI drivers.
@ 2011-10-06 18:26 dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
  2011-10-06 18:26 ` [PATCH 06/13] i2c-designware: Move retriveving the clock speed out of core code dirk.brandewie
  0 siblings, 1 reply; 21+ messages in thread
From: dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w @ 2011-10-06 18:26 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: ben-linux-elnMNo+KYs3YtjvyW6yDsg, Dirk Brandewie

From: Dirk Brandewie <dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

This patch set reworks i2c-designware.c to enable supporting multiple
instances of the driver in the system and adds support for Designware
I2C IP cores behind PCI devices.

Previous discussion thread:
   https://lkml.org/lkml/2011/3/12/70

Changes since V4:
   rebased onto v3.1-rc9.
   cleanup of whitespace errors
   Fix warning from PCI core during suspend/resume.
   Dropped patch removing i2c-intel-mid.c

Changes since V3:
   commits 330d1c^..5c7d3e from linux-next rebased onto v3.0-rc2

Changes since V2:
   Fixed bug that kept PCI driver from compiling :-(

   PCI Runtime power mangement code changed to remove warning at probe
   time and remove device.

   Fix checking of component version on big endian machine to work
   correctly.
 
Changes since V1 of the patch set:

   Patches 1-3 are now Jean-Hugues Deschenes patches unmodified from
   http://www.spinics.net/lists/linux-i2c/msg02421.html

   Patch 4 moves the version checking introduced in Jean's code to the
   core init function.

   Patch 5 splits i2c-designware.c into IP core and bus specific files.

   Patch 6-9 rework i2c-designware-core.c and i2c-designware-platdrv.c to
   add the ability to support multiple instances of the driver.

   Patch 10 Finishes moving all register access and associated offset and
   bit definitions into the core.

   Patch 11 Adds support for designware I2C IP cores behind PCI
   devices on the Moorestown and Medfield platforms. removed change to
   authors name.

   Patch 12 Adds runtime power management to the PCI driver.    

   Patch 13 Fixs a warning from the PCI core during suspend/resume.


Dirk Brandewie (9):
  i2c-designware: Move checking of IP core version to i2c_dw_init()
  i2c-designware: split of i2c-designware.c into core and bus specific
    parts
  i2c-designware: Move retriveving the clock speed out of core code.
  i2c-designware: move i2c functionality bit field to be adapter
    specific
  i2c-designware: move controller config to bus specific portion of
    driver
  i2c-designware: Support multiple cores using same ISR
  i2c-designware: Push all register reads/writes into the core code.
  i2c-designware: Add support for Designware core behind PCI devices.
  i2c-designware: Add runtime power management support

Jean-Hugues Deschenes (3):
  i2c-designware: Use local version of readl & writel
  i2c-designware: Check component type register
  i2c-designware: Allow mixed endianness accesses

Octavian Purdila (1):
  i2c-designware: Fix PCI core warning on suspend/resume

 drivers/i2c/busses/Kconfig                  |   16 +-
 drivers/i2c/busses/Makefile                 |    5 +-
 drivers/i2c/busses/i2c-designware-core.c    |  705 ++++++++++++++++++++++
 drivers/i2c/busses/i2c-designware-core.h    |  105 ++++
 drivers/i2c/busses/i2c-designware-pcidrv.c  |  392 +++++++++++++
 drivers/i2c/busses/i2c-designware-platdrv.c |  215 +++++++
 drivers/i2c/busses/i2c-designware.c         |  847 ---------------------------
 7 files changed, 1434 insertions(+), 851 deletions(-)
 create mode 100644 drivers/i2c/busses/i2c-designware-core.c
 create mode 100644 drivers/i2c/busses/i2c-designware-core.h
 create mode 100644 drivers/i2c/busses/i2c-designware-pcidrv.c
 create mode 100644 drivers/i2c/busses/i2c-designware-platdrv.c
 delete mode 100644 drivers/i2c/busses/i2c-designware.c

-- 
1.7.3.4

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 00/13]  V3 Split i2c-designware.c to support PCI drivers.
@ 2011-03-12 20:23 dirk.brandewie
       [not found] ` <1299961407-26852-1-git-send-email-dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: dirk.brandewie @ 2011-03-12 20:23 UTC (permalink / raw)
  To: linux-kernel, linux-i2c; +Cc: Dirk Brandewie

From: Dirk Brandewie <dirk.brandewie@gmail.com>

This patch set reworks i2c-designware.c to enable supporting multiple
instances of the driver in the system and adds support for Designware
I2C IP cores behind PCI devices.

The patch set has been refactored to hopefully make it easier to
review.

TODO:
Ben disliked the module names, they haven't changed yet waiting for
feedback on the list.

Changes since V2:

Fixed bug that kept PCI driver from compiling :-(

PCI Runtime power mangement code changed to remove warning at probe
time and remove device.

Fix checking of component version on big endian machine to work
correctly.
 
Changes since V1 of the patch set:

Patches 1-3 are now Jean-Hugues Deschenes patches unmodified from
http://www.spinics.net/lists/linux-i2c/msg02421.html

Patch 4 moves the version checking introduced in Jean's code to the
core init function.

Patch 5 splits i2c-designware.c into IP core and bus specific files.

Patch 6-9 rework i2c-designware-core.c and i2c-designware-platdrv.c to
add the ability to support multiple instances of the driver.

Patch 10 Finishes moving all register access and associated offset and
bit definitions into the core.

Patch 11 Adds support for designware I2C IP cores behind PCI
devices on the Moorestown and Medfield platforms. removed change to
authors name.

Patch 12 Adds runtime power management to the PCI driver.    


Dirk Brandewie (10):
  i2c-designware: Move checking of IP core version to i2c_dw_init()
  i2c-designware: split of i2c-designware.c into core and bus specific
    parts
  i2c-designware: Move retriveving the clock speed out of core code.
  i2c-designware: move i2c functionality bit field to be adapter
    specific
  i2c-designware: move controller config to bus specific portion of
    driver
  i2c-designware: Support multiple cores using same ISR
  i2c-designware: Push all register reads/writes into the core code.
  i2c-designware: Add support for Designware core behind PCI devices.
  i2c-designware: Add runtime power management support
  i2c-intel-mid.c: Remove i2c-intel-mid.c

Jean-Hugues Deschenes (3):
  i2c-designware: Use local version of readl & writel
  i2c-designware: Check component type register
  i2c-designware: Allow mixed endianness accesses

 drivers/i2c/busses/Kconfig                         |   25 +-
 drivers/i2c/busses/Makefile                        |    6 +-
 .../{i2c-designware.c => i2c-designware-core.c}    |  383 ++-----
 drivers/i2c/busses/i2c-designware-core.h           |  106 ++
 drivers/i2c/busses/i2c-designware-pcidrv.c         |  405 +++++++
 drivers/i2c/busses/i2c-designware-platdrv.c        |  215 ++++
 drivers/i2c/busses/i2c-intel-mid.c                 | 1135 --------------------
 7 files changed, 862 insertions(+), 1413 deletions(-)
 rename drivers/i2c/busses/{i2c-designware.c => i2c-designware-core.c} (65%)
 create mode 100644 drivers/i2c/busses/i2c-designware-core.h
 create mode 100644 drivers/i2c/busses/i2c-designware-pcidrv.c
 create mode 100644 drivers/i2c/busses/i2c-designware-platdrv.c
 delete mode 100644 drivers/i2c/busses/i2c-intel-mid.c

-- 
1.7.3.4

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 00/13] V2 Split i2c-designware.c to support PCI drivers.
@ 2011-02-10 16:21 dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <1297354889-20721-1-git-send-email-dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w @ 2011-02-10 16:21 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: alan.cox-ral2JQCrhuEAvxtiuMwx3w,
	shinya.kuribayashi.px-zM6kxYcvzFBBDgjK7y7TUQ,
	ben-i2c-elnMNo+KYs3YtjvyW6yDsg,
	jean-hugues.deschenes-YGVykHU+fedBDgjK7y7TUQ,
	khali-PUYAD+kWke1g9hUCZPvPmw, Dirk Brandewie

From: Dirk Brandewie <dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

This patch set reworks i2c-designware.c to enable supporting multiple
instances of the driver in the system and adds support for Designware
I2C IP cores behind PCI devices.

The patch set has been refactored to hopefully make it easier to
review.

TODO:
Ben disliked the module names, they haven't changed yet waiting for
feedback on the list.
 
Changes since V1 of the patch set:

Patches 1-3 are now Jean-Hugues Deschenes patches unmodified from
http://www.spinics.net/lists/linux-i2c/msg02421.html

Patch 4 moves the version checking introduced in Jean's code to the
core init function.

Patch 5 splits i2c-designware.c into IP core and bus specific files.

Patch 6-9 rework i2c-designware-core.c and i2c-designware-platdrv.c to
add the ability to support multiple instances of the driver.

Patch 10 Finishes moving all register access and associated offset and
bit definitions into the core.

Patch 11 Adds support for designware I2C IP cores behind PCI
devices on the Moorestown and Medfield platforms. removed change to
authors name.

Patch 12 Adds runtime power management to the PCI driver.    


Dirk Brandewie (10):
  i2c-designware: Move checking of IP core version to i2c_dw_init()
  i2c-designware: split of i2c-designware.c into core and bus specific
    parts
  i2c-designware: Move retriveving the clock speed out of core code.
  i2c-designware: move i2c functionality bit field to be adapter
    specific
  i2c-designware: move controller config to bus specific portion of
    driver
  i2c-designware: Support multiple cores using same ISR
  i2c-designware: Push all register reads/writes into the core code.
  i2c-designware: Add support for Designware core behind PCI devices.
  i2c-designware: Add runtime power management support
  i2c-intel-mid.c: Remove i2c-intel-mid.c

Jean-Hugues Deschenes (3):
  i2c-designware: Use local version of readl & writel
  i2c-designware: Check component type register
  i2c-designware: Allow mixed endianness accesses

 drivers/i2c/busses/Kconfig                         |   25 +-
 drivers/i2c/busses/Makefile                        |    6 +-
 .../{i2c-designware.c => i2c-designware-core.c}    |  391 +++-----
 drivers/i2c/busses/i2c-designware-core.h           |  105 ++
 drivers/i2c/busses/i2c-designware-pcidrv.c         |  402 +++++++
 drivers/i2c/busses/i2c-designware-platdrv.c        |  215 ++++
 drivers/i2c/busses/i2c-intel-mid.c                 | 1135 --------------------
 7 files changed, 868 insertions(+), 1411 deletions(-)
 rename drivers/i2c/busses/{i2c-designware.c => i2c-designware-core.c} (65%)
 create mode 100644 drivers/i2c/busses/i2c-designware-core.h
 create mode 100644 drivers/i2c/busses/i2c-designware-pcidrv.c
 create mode 100644 drivers/i2c/busses/i2c-designware-platdrv.c
 delete mode 100644 drivers/i2c/busses/i2c-intel-mid.c

-- 
1.7.3.4

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

end of thread, other threads:[~2011-10-06 18:26 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 19:21 [PATCH 00/13] V4 Split i2c-designware.c to support PCI drivers dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2011-06-09 19:21 ` [PATCH 01/13] i2c-designware: Use local version of readl & writel dirk.brandewie
2011-06-09 19:21 ` [PATCH 02/13] i2c-designware: Check component type register dirk.brandewie
2011-06-09 19:21 ` [PATCH 03/13] i2c-designware: Allow mixed endianness accesses dirk.brandewie
2011-06-09 19:21 ` [PATCH 04/13] i2c-designware: Move checking of IP core version to i2c_dw_init() dirk.brandewie
     [not found] ` <1307647310-24332-1-git-send-email-dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-06-09 19:21   ` [PATCH 05/13] i2c-designware: split of i2c-designware.c into core and bus specific parts dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
     [not found]     ` <1307647310-24332-6-git-send-email-dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-06-15 21:31       ` Ben Dooks
2011-06-09 19:21   ` [PATCH 06/13] i2c-designware: Move retriveving the clock speed out of core code dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2011-06-09 19:21   ` [PATCH 07/13] i2c-designware: move i2c functionality bit field to be adapter specific dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2011-06-09 19:21   ` [PATCH 10/13] i2c-designware: Push all register reads/writes into the core code dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2011-06-09 19:21   ` [PATCH 11/13] i2c-designware: Add support for Designware core behind PCI devices dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2011-06-09 19:21   ` [PATCH 12/13] i2c-designware: Add runtime power management support dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2011-07-27 14:56   ` [PATCH 00/13] V4 Split i2c-designware.c to support PCI drivers Dirk Brandewie
2011-08-04  4:52   ` Dirk Brandewie
2011-06-09 19:21 ` [PATCH 08/13] i2c-designware: move controller config to bus specific portion of driver dirk.brandewie
2011-06-09 19:21 ` [PATCH 09/13] i2c-designware: Support multiple cores using same ISR dirk.brandewie
2011-06-09 19:21 ` [PATCH 13/13] i2c-intel-mid.c: Remove i2c-intel-mid.c dirk.brandewie
     [not found]   ` <1307647310-24332-14-git-send-email-dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-06-15 21:31     ` Ben Dooks
  -- strict thread matches above, loose matches on Subject: below --
2011-10-06 18:26 [PATCH 00/13] V5 Split i2c-designware.c to support PCI drivers dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2011-10-06 18:26 ` [PATCH 06/13] i2c-designware: Move retriveving the clock speed out of core code dirk.brandewie
2011-03-12 20:23 [PATCH 00/13] V3 Split i2c-designware.c to support PCI drivers dirk.brandewie
     [not found] ` <1299961407-26852-1-git-send-email-dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-12 20:23   ` [PATCH 06/13] i2c-designware: Move retriveving the clock speed out of core code dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2011-02-10 16:21 [PATCH 00/13] V2 Split i2c-designware.c to support PCI drivers dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <1297354889-20721-1-git-send-email-dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-02-10 16:21   ` [PATCH 06/13] i2c-designware: Move retriveving the clock speed out of core code dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w

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