All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] i2c-nomadik changes
@ 2012-05-30 17:45 ` Alessandro Rubini
  0 siblings, 0 replies; 41+ messages in thread
From: Alessandro Rubini @ 2012-05-30 17:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Giancarlo Asnaghi, Russell King, Linus Walleij, Srinidhi Kasagar,
	Wolfram Sang, Jean Delvare, linux-i2c, STEricsson_nomadik_linux,
	linux-arm-kernel, Alan Cox

The patch set turns a platform device into an amba device. Its users,
i.e. mach-ux500, are converted too.  The set has no external
dependencies, although is has no visible effect until other patches
are accepted.

Reasoning:

In the STA2X11 I/O hub we are exporting a number of AMBA peripherals
to the PCI world. Using a generic pci-amba driver there is no further
code for each device, provided they are already registered under the
AMBA bus.  I already submitted the generic bridge
(https://lkml.org/lkml/2012/5/28/194).

Status of this patch set:

The users of the driver (i.e. mach-ux600) compile properly, but I
couldn't test on any board.  The driver, as is, works on x86 under the
PCI bridge, with the not-yet-upstream clock framework and platform
data for sta2x11 devices.  However, this set is not introducing any
dead code as it only adds more flexibility.  The big part of it is a
massive s/platform_device/amba_device/ and s/pdev/adev/ .

The cell-id I used in the table are the one for ux500 (only as far as
I know from the stn-8815 manuals) and the one for STA2X11.

Alessandro Rubini (3):
  i2c-nomadik: move header from <plat/i2c.h> to <linux/i2c-nomadik.h>
  i2c-nomadik: turn the platform driver to an amba driver
  i2c-nomadik: depend on ARM_AMBA, not PLAT_NOMADIK

 arch/arm/mach-ux500/board-mop500.c       |    2 +-
 arch/arm/mach-ux500/devices-common.h     |   23 +----
 arch/arm/plat-nomadik/include/plat/i2c.h |   39 --------
 drivers/i2c/busses/Kconfig               |    5 +-
 drivers/i2c/busses/i2c-nomadik.c         |  140 +++++++++++++++---------------
 include/linux/i2c-nomadik.h              |   39 ++++++++
 6 files changed, 116 insertions(+), 132 deletions(-)
 delete mode 100644 arch/arm/plat-nomadik/include/plat/i2c.h
 create mode 100644 include/linux/i2c-nomadik.h

-- 
1.7.7.2

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

end of thread, other threads:[~2012-06-01  2:24 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 17:45 [PATCH RFC 0/3] i2c-nomadik changes Alessandro Rubini
2012-05-30 17:45 ` Alessandro Rubini
2012-05-30 17:45 ` Alessandro Rubini
2012-05-30 17:45 ` [PATCH RFC 1/3] i2c-nomadik: move header from <plat/i2c.h> to <linux/i2c-nomadik.h> Alessandro Rubini
2012-05-30 17:45   ` Alessandro Rubini
2012-05-30 17:45   ` Alessandro Rubini
     [not found]   ` <ca47a47e0a4db31545549ed978e1dc7b3aad4377.1338398567.git.rubini-kaDoWcXyVrEAvxtiuMwx3w@public.gmane.org>
2012-05-31  1:47     ` Linus Walleij
2012-05-31  1:47       ` Linus Walleij
2012-05-31  1:47       ` Linus Walleij
2012-05-31  8:37       ` Ben Dooks
2012-05-31  8:37         ` Ben Dooks
2012-05-31  8:37         ` Ben Dooks
2012-05-31  8:32   ` Ben Dooks
2012-05-31  8:32     ` Ben Dooks
2012-05-31  8:32     ` Ben Dooks
     [not found] ` <cover.1338398567.git.rubini-kaDoWcXyVrEAvxtiuMwx3w@public.gmane.org>
2012-05-30 17:45   ` [PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver Alessandro Rubini
2012-05-30 17:45     ` Alessandro Rubini
2012-05-30 17:45     ` Alessandro Rubini
     [not found]     ` <349645b61d0b28f6e84f7ae1f2c8c28e12a11d92.1338398567.git.rubini-kaDoWcXyVrEAvxtiuMwx3w@public.gmane.org>
2012-05-31  1:51       ` Linus Walleij
2012-05-31  1:51         ` Linus Walleij
2012-05-31  1:51         ` Linus Walleij
2012-05-31  8:37         ` Ben Dooks
2012-05-31  8:37           ` Ben Dooks
2012-05-31  8:37           ` Ben Dooks
2012-05-31 10:16           ` Linus Walleij
2012-05-31 10:16             ` Linus Walleij
2012-05-31 10:16             ` Linus Walleij
     [not found]           ` <CACRpkdZpjn0RBGY+CqqSW3ip0MSQUJSaqN0GD=a4THnPHNM-jg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-31 18:02             ` Alessandro Rubini
2012-05-31 18:02               ` Alessandro Rubini
2012-05-31 18:02               ` Alessandro Rubini
     [not found]               ` <20120531180204.GA28779-eyGpkxvC2QLRELXczCotyA@public.gmane.org>
2012-06-01  1:53                 ` Linus Walleij
2012-06-01  1:53                   ` Linus Walleij
2012-06-01  1:53                   ` Linus Walleij
2012-06-01  2:24                   ` Lee Jones
2012-06-01  2:24                     ` Lee Jones
2012-06-01  2:24                     ` Lee Jones
2012-05-31  1:55   ` [PATCH RFC 0/3] i2c-nomadik changes Linus Walleij
2012-05-31  1:55     ` Linus Walleij
2012-05-31  1:55     ` Linus Walleij
2012-05-30 17:46 ` [PATCH RFC 3/3] i2c-nomadik: depend on ARM_AMBA, not PLAT_NOMADIK Alessandro Rubini
2012-05-30 17:46   ` Alessandro Rubini

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.