Re: [RFC][PATCH] usb: musb: pass configuration specifics via pdata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Op 30 jun 2008, om 19:49 heeft Felipe Balbi het volgende geschreven:

On Mon, Jun 30, 2008 at 07:29:28PM +0200, Koen Kooi wrote:

Op 30 jun 2008, om 13:50 heeft Felipe Balbi het volgende geschreven:

Use platform_data to pass musb configuration-specific
details to musb driver.

It's easier to maintain in the sense that neither board
will affect the other.

For now tested on n800 only, wanna hear from everybody what
guys think before test on omap3430sdp

Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
Cc: Tony Lindgre <tony@xxxxxxxxxxx>
Cc: David Brownell <david-b@xxxxxxxxxxx>
Cc: Anand Gadiyar <gadiyar@xxxxxx>
Cc: Kevin Hilman <khilman@xxxxxxxxxx>
Cc: Bryan Wu <cooloney@xxxxxxxxxx>
---
arch/arm/mach-omap2/board-3430sdp.c  |   75 ++++++++++++++-
arch/arm/mach-omap2/board-n800-usb.c |   46 +++++++++-
arch/arm/mach-omap2/usb-musb.c       |   55 +++--------
arch/arm/mach-omap2/usb-tusb6010.c   |    1 -
drivers/usb/musb/musb_core.c         |   37 +++----
drivers/usb/musb/musb_core.h         |   14 +---
drivers/usb/musb/tusb6010.h          |  169
--------------------------------
include/asm-arm/arch-omap/hdrc_cnf.h |  177
----------------------------------
include/asm-arm/arch-omap/usb-musb.h |    6 +-
include/linux/usb/musb.h             |   38 +++++++-
10 files changed, 189 insertions(+), 429 deletions(-)
delete mode 100644 include/asm-arm/arch-omap/hdrc_cnf.h


Wouldn't omap3-beagleboard.c  and omap3-evm.c need a similar change?

Yeah :-)

but for now I only played with omap2. Omap3-based boards I'm still doing
;-)

That's why the patch is marked RFC.

I was wondering what would happen if I would test the patch on beagleboard, now I know :)

regards,

Koen




--
Best Regards,

Felipe Balbi
me@xxxxxxxxxxxxxxx
http://blog.felipebalbi.com
--
To unsubscribe from this list: send the line "unsubscribe linux- omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Attachment: PGP.sig
Description: This is a digitally signed message part


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux