On Sun, Sep 30, 2012 at 5:04 AM, Jean Delvare kh...@linux-fr.org wrote:
i2c_dw_xfer_msg is only called internally so it can be static. It
original was, before the driver split. No idea why it was changed at
that time.
Signed-off-by: Jean Delvare kh...@linux-fr.org
Cc: Dirk Brandewie
*/
MODULE_ALIAS(i2c_designware-pci);
-DEFINE_PCI_DEVICE_TABLE(i2_designware_pci_ids) = {
+static DEFINE_PCI_DEVICE_TABLE(i2_designware_pci_ids) = {
/* Moorestown */
{ PCI_VDEVICE(INTEL, 0x0802), moorestown_0 },
{ PCI_VDEVICE(INTEL, 0x0803), moorestown_1 },
Acked-by: Dirk
devicetree i2c registration
From: Rob Herring rob.herr...@calxeda.com
Add of_match_table and DT style i2c registration to designware i2c
driver.
Signed-off-by: Rob Herring rob.herr...@calxeda.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
.../devicetree/bindings/i2c/i2c
From: Dirk Brandewie dirk.brande...@gmail.com
Add runtime power management to the PCI driver.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c/busses/i2c-designware-core.c | 10 +++-
drivers/i2c/busses/i2c-designware-core.h
] [c11e9729] async_suspend+0x16/0x3a
4[ 24.194265] [c104de8e] async_run_entry_fn+0x97/0x135
4[ 24.194291] [c1043c34] process_one_work+0x1c9/0x2db
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Alan Cox
From: Dirk Brandewie dirk.brande...@gmail.com
Move all register manipulation code into the core, also move register
offset definitions to i2c-designware-core.c since the bus specific
portions of the driver no longer need/use them.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off
From: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Designware component type register is checked before attaching to the device.
Signed-off-by: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben
From: Dirk Brandewie dirk.brande...@gmail.com
The clock frequecy supplied to the IP core is specific to a single
instance of the driver. This patch makes it possible to have multiple
Designware I2C cores in the system possibly running at different core
frequencies.
Signed-off-by: Dirk Brandewie
From: Dirk Brandewie dirk.brande...@gmail.com
Move checking IP core version to i2c_dw_init() in preparation for
splitting i2c-designware.c into core and bus specific portions.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c
From: Dirk Brandewie dirk.brande...@gmail.com
This patch splits i2c-designware.c into three pieces:
i2c-designware-core.c, contains the code that interacts directly
with the core.
i2c-designware-platdrv.c, contains the code specific to the
platform driver using the core
From: Dirk Brandewie dirk.brande...@gmail.com
With multiple I2C adapters possible in the system each running at
(possibly) different speeds we need to move the controller
configuration bit field to the adapter.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben
From: Dirk Brandewie dirk.brande...@gmail.com
The functionality of the adapter depends on the configuration of the
IP block at silicon compile time and is adapter specific.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c/busses
...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c/busses/i2c-designware.c | 17 +++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-designware.c
b/drivers/i2c/busses
From: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Use local versions of readl writel, so per-access manipulations may be
performed
Signed-off-by: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks
.
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
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
From: Dirk Brandewie dirk.brande...@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.
Previous discussion thread:
https://lkml.org/lkml/2011/3/12/70
Changes
From: Dirk Brandewie dirk.brande...@gmail.com
The clock frequecy supplied to the IP core is specific to a single
instance of the driver. This patch makes it possible to have multiple
Designware I2C cores in the system possibly running at different core
frequencies.
Signed-off-by: Dirk Brandewie
From: Dirk Brandewie dirk.brande...@gmail.com
Add runtime power management to the PCI driver.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c/busses/i2c-designware-core.c | 10 +++-
drivers/i2c/busses/i2c-designware-core.h
From: Dirk Brandewie dirk.brande...@gmail.com
The Moorestown and Medfield platforms are now supported by
i2c-designware-pcidrv.c.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c/busses/Kconfig | 10 -
drivers/i2c
From: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Use local versions of readl writel, so per-access manipulations may be
performed
Signed-off-by: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks
From: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Designware component type register is checked before attaching to the device.
Signed-off-by: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben
From: Dirk Brandewie dirk.brande...@gmail.com
Add check to make sure that the core is enabled and has outstanding
interrupts. The activity bit is masked due to the fact that it will
stay active even after the controller has been disabled until the
contoller internal state machines have settled
From: Dirk Brandewie dirk.brande...@gmail.com
With multiple I2C adapters possible in the system each running at
(possibly) different speeds we need to move the controller
configuration bit field to the adapter.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben
From: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c/busses/Kconfig | 10 +
drivers/i2c/busses/Makefile|2 +
drivers/i2c/busses/i2c-designware-core.h
From: Dirk Brandewie dirk.brande...@gmail.com
Move all register manipulation code into the core, also move register
offset definitions to i2c-designware-core.c since the bus specific
portions of the driver no longer need/use them.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off
From: Dirk Brandewie dirk.brande...@gmail.com
This patch splits i2c-designware.c into three pieces:
i2c-designware-core.c, contains the code that interacts directly
with the core.
i2c-designware-platdrv.c, contains the code specific to the
platform driver using the core
From: Dirk Brandewie dirk.brande...@gmail.com
Move checking IP core version to i2c_dw_init() in preparation for
splitting i2c-designware.c into core and bus specific portions.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c
...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Ben Dooks ben-li...@fluff.org
---
drivers/i2c/busses/i2c-designware.c | 17 +++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-designware.c
b/drivers/i2c/busses
On 03/14/2011 04:43 PM, Ben Dooks wrote:
On Sat, Mar 12, 2011 at 12:23:14PM -0800, dirk.brande...@gmail.com wrote:
From: Dirk Brandewiedirk.brande...@gmail.com
This patch set reworks i2c-designware.c to enable supporting multiple
instances of the driver in the system and adds support for
From: Dirk Brandewie dirk.brande...@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
From: Dirk Brandewie dirk.brande...@gmail.com
Move checking IP core version to i2c_dw_init() in preparation for
splitting i2c-designware.c into core and bus specific portions.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware.c | 30
From: Dirk Brandewie dirk.brande...@gmail.com
Add check to make sure that the core is enabled and has outstanding
interrupts. The activity bit is masked due to the fact that it will
stay active even after the controller has been disabled until the
contoller internal state machines have settled
From: Dirk Brandewie dirk.brande...@gmail.com
Add runtime power management to the PCI driver.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware-core.c | 10 +++-
drivers/i2c/busses/i2c-designware-core.h |1 +
drivers/i2c/busses/i2c-designware
From: Dirk Brandewie dirk.brande...@gmail.com
The Moorsetown and Medfield platforms are now supported by
i2c-designware-pcidrv.c.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/Kconfig | 10 -
drivers/i2c/busses/Makefile|1 -
drivers/i2c
From: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/Kconfig |9 +
drivers/i2c/busses/Makefile|2 +
drivers/i2c/busses/i2c-designware-core.h |1 +
drivers/i2c/busses/i2c
From: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Use local versions of readl writel, so per-access manipulations may be
performed
Signed-off-by: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses
...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware.c | 17 +++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-designware.c
b/drivers/i2c/busses/i2c-designware.c
index b2b2a19..f58f05d
From: Dirk Brandewie dirk.brande...@gmail.com
Move all register manipulation code into the core, also move register
offset definitions to i2c-designware-core.c since the bus specific
portions of the driver no longer need/use them.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
From: Dirk Brandewie dirk.brande...@gmail.com
The functionality of the adapter depends on the configuration of the
IP block at silicon compile time and is adapter specific.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware-core.c|8
From: Dirk Brandewie dirk.brande...@gmail.com
The clock frequecy supplied to the IP core is specific to a single
instance of the driver. This patch makes it possible to have multiple
Designware I2C cores in the system possibly running at different core
frequencies.
Signed-off-by: Dirk Brandewie
From: Dirk Brandewie dirk.brande...@gmail.com
This patch splits i2c-designware.c into three pieces:
i2c-designware-core.c, contains the code that interacts directly
with the core.
i2c-designware-platdrv.c, contains the code specific to the
platform driver using the core
From: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Designware component type register is checked before attaching to the device.
Signed-off-by: Jean-Hugues Deschenes jean-hugues.desche...@octasic.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c
From: Dirk Brandewie dirk.brande...@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
From: Dirk Brandewie dirk.brande...@gmail.com
Move checking IP core version to i2c_dw_init() in preparation for
splitting i2c-designware.c into core and bus specific portions.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware.c | 30
From: Dirk Brandewie dirk.brande...@gmail.com
This patch splits i2c-designware.c into three pieces:
i2c-designware-core.c, contains the code that interacts directly
with the core.
i2c-designware-platdrv.c, contains the code specific to the
platform driver using the core
From: Dirk Brandewie dirk.brande...@gmail.com
The functionality of the adapter depends on the configuration of the
IP block at silicon compile time and is adapter specific.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware-core.c|8
From: Dirk Brandewie dirk.brande...@gmail.com
Add check to make sure that the core is enabled and has outstanding
interrupts. The activity bit is masked due to the fact that it will
stay active even after the contoller has bee disabled until the
contoller internal state machinces have settled
From: Dirk Brandewie dirk.brande...@gmail.com
Move all register manipulation code into the core, also move register
offset definitions to i2c-designware-core.c since the bus specific
portions of the dirver no longer need/use them.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
From: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/Kconfig |9 +
drivers/i2c/busses/Makefile|2 +
drivers/i2c/busses/i2c-designware-core.h |1 +
drivers/i2c/busses/i2c
On 02/05/2011 09:39 AM, Ben Dooks wrote:
On Fri, Feb 04, 2011 at 01:05:55PM +0900, Shinya Kuribayashi wrote:
On 2/3/2011 11:19 AM, dirk.brande...@gmail.com wrote:
From: Dirk Brandewiedirk.brande...@gmail.com
Allows CPUs of a given endianness to access a dw controller of a different
From: Dirk Brandewie dirk.brande...@gmail.com
x86 does not have clk_dev support. The PCI variant of the driver sets
the clock rate being supplied to the IP block based on config
information attached to the PCI ID
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c
From: Dirk Brandewie dirk.brande...@gmail.com
Modify the driver to be a PCI driver from the platform template
created in the inital split of the driver. Add controller config
options attached to PCI ID's. Add for the Moorsetown
and Medfield SOC's
Signed-off-by: Dirk Brandewie dirk.brande
From: Dirk Brandewie dirk.brande...@gmail.com
The functionality of the adapter depends on the configuration of the
IP block at silicon compile time and is adapter specific.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware-core.c|8
From: Dirk Brandewie dirk.brande...@gmail.com
Move all register manipulation into the core code.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware-core.c| 49 ++-
drivers/i2c/busses/i2c-designware-core.h|6
From: Dirk Brandewie dirk.brande...@gmail.com
Add runtime power management to the PCI driver.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware-core.c |3 +
drivers/i2c/busses/i2c-designware-pcidrv.c | 85
2 files
On 01/24/2011 05:58 PM, Shinya Kuribayashi wrote:
Hi,
On 1/15/2011 4:27 AM, dirk.brande...@gmail.com wrote:
From: Dirk Brandewiedirk.brande...@gmail.com
This patch splits i2c-designware.c into a core library and associated
header file and two bus specific parts for platform bus and PCI bus.
On 01/24/2011 06:28 PM, Shinya Kuribayashi wrote:
On 1/18/2011 2:19 AM, Jean-Hugues Deschenes wrote:
+u32 dw_readl(struct dw_i2c_dev *dev, int offset)
+{
+ u32 value = readl(dev-base + offset);
+
+ if (dev-swab)
+ return swab32(value);
+ else
+
On 01/14/2011 01:48 PM, Ben Dooks wrote:
On Fri, Jan 14, 2011 at 09:30:07PM +0100, Jean Delvare wrote:
Hi Dirk,
On Fri, 14 Jan 2011 11:27:27 -0800, dirk.brande...@gmail.com wrote:
From: Dirk Brandewiedirk.brande...@gmail.com
This patch set splits i2c-designware.c core and bus specific
From: Dirk Brandewie dirk.brande...@gmail.com
This patch set splits i2c-designware.c core and bus specific portions
in to support the Designware core being behind a PCI device.
The Intel Moorsetown and Medfield SOC's are supported in the PCI
portion of the driver.
This patch set is still a work
From: Dirk Brandewie dirk.brande...@gmail.com
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/Kconfig | 20
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index f1a6eeb
From: Dirk Brandewie dirk.brande...@gmail.com
This patch splits i2c-designware.c into a core library and associated
header file and two bus specific parts for platform bus and PCI bus.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/Makefile |4
From: Dirk Brandewie dirk.brande...@gmail.com
x86 does not have clk_dev support. The PCI variant of the driver sets
the clock rate being supplied to the IP block based on config
information attached to the PCI ID
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses
From: Dirk Brandewie dirk.brande...@gmail.com
Modify the driver to be a PCI driver from the platform template
created in the inital split of the driver. Add controller config
options attached to PCI ID's. Add for the Moorsetown
and Medfield SOC's
Signed-off-by: Dirk Brandewie dirk.brande
From: Dirk Brandewie dirk.brande...@gmail.com
The functionality of the adapter depends on the configuration of the
IP block at silicon compile time and is adapter specific.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c-designware-core.c |8
From: Dirk Brandewie dirk.brande...@gmail.com
Add check to make sure that the core is enabled and has outstanding
interrupts. The activity bit is masked due to the fact that it will
stay active even after the contoller has bee disabled until the
contoller internal state machinces have settled
From: Dirk Brandewie dirk.brande...@gmail.com
Allows CPUs of a given endianness to access a dw controller of a different
endianness. Endianncess difference is detected at run time through the dw
component type register.
This is the hand application of a patch set by Jean-Hugues Deschenes
applied
From: Dirk Brandewie dirk.brande...@gmail.com
With multiple I2C adapters possible in the system each running at
(possibly) different speeds we need to move the controller
configuration bit field to the adapter.
Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com
---
drivers/i2c/busses/i2c
68 matches
Mail list logo