All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] i2c: i2c-ocores: Add support for sparc, custom set and get functions, and the GRLIB port of the controller
@ 2012-10-23 15:03 ` Andreas Larsson
  0 siblings, 0 replies; 14+ messages in thread
From: Andreas Larsson @ 2012-10-23 15:03 UTC (permalink / raw)
  To: linux-i2c, Peter Korsgaard
  Cc: Jean Delvare, Ben Dooks, Wolfram Sang, Grant Likely, Rob Herring,
	linux-kernel, devicetree-discuss, software

On sparc, irqs are not present as an IORESOURCE in the struct platform_device
representation. Therefore, for sparc the irq needs to be fetched in a different
manner.

The GRLIB port of the ocores i2c controller needs custom getreg and setreg
functions to allow for big endian register access and to deal with the fact that
the PRELOW and PREHIGH registers have been merged into one register.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>

Andreas Larsson (2):
  i2c: i2c-ocores: Add irq support for sparc
  i2c: i2c-ocores: Add support for the GRLIB port of the controller and
    custom getreg and setreg functions

 drivers/i2c/busses/i2c-ocores.c |   70 +++++++++++++++++++++++++++++++++++---
 1 files changed, 64 insertions(+), 6 deletions(-)


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

end of thread, other threads:[~2012-10-24 11:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 15:03 [PATCH 0/2] i2c: i2c-ocores: Add support for sparc, custom set and get functions, and the GRLIB port of the controller Andreas Larsson
2012-10-23 15:03 ` Andreas Larsson
2012-10-23 15:03 ` [PATCH 1/2] i2c: i2c-ocores: Add irq support for sparc Andreas Larsson
2012-10-23 15:03   ` Andreas Larsson
2012-10-23 20:13   ` Peter Korsgaard
2012-10-23 20:13     ` Peter Korsgaard
2012-10-24  9:05     ` Andreas Larsson
2012-10-24  9:05       ` Andreas Larsson
2012-10-23 15:03 ` [PATCH 2/2] i2c: i2c-ocores: Add support for the GRLIB port of the controller and custom getreg and setreg functions Andreas Larsson
2012-10-23 15:03   ` Andreas Larsson
2012-10-23 20:24   ` Peter Korsgaard
2012-10-24  9:05     ` Andreas Larsson
2012-10-24 11:48       ` Peter Korsgaard
2012-10-24 11:48         ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.