All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot]  [PATCH 0/2] usb:gadget: Linux USB Gadget framework
@ 2011-07-05 13:58 Lukasz Majewski
  2011-07-05 13:58 ` [U-Boot] [PATCH 1/2] " Lukasz Majewski
  2011-07-05 14:03 ` [U-Boot] [PATCH 0/2] " Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Lukasz Majewski @ 2011-07-05 13:58 UTC (permalink / raw)
  To: u-boot

Included commits provide Linux USB gadget support for U-boot. 
The USB Gadget infrastructure is running on top of the Samsung's
UDC OTG controller. The code has been tested on the GONI (S5PC110)
reference target.

This patches requires two other patches prepared and posted by me, namely:

[PATCH] [U-Boot] [RFC] Access mode validation for eMMC cards > 2 GiB
[U-Boot] [PATCH] i2c:gpio:s5p: I2C GPIO Software implementation

Files:
drivers/usb/gadget/file_storage.c
drivers/usb/gadget/storage_common.c

Aren't passing the checkpatch.pl script check, however they were 
taken from Linux kernel. On purpose this code hasn't been corrected, to
facilitate further code porting from Linux to U-boot (or in opposite 
direction)

v1:
- Linux USB Gadget support for Samsung targets (tested on GONI)
- Simple USB Mass Storage (UMS) Gadget implementation to proof the
  concept of running USB Gadgets in U-boot.
- The new ums command


It is important to emphase, that now USB Gadget framework can handle one 
gadget. 

p.s. I'd like to apologize all the receipments of this patch - one version 
of this patch set was without [U-Boot] tag, so probably it has been
rejected by the mail server.

Lukasz Majewski (2):
  usb:gadget: Linux USB Gadget framework
  usb:gadget: USB Mass Storage Gadget support.

 arch/arm/include/asm/arch-s5pc1xx/hs_otg.h   |   32 +
 arch/arm/include/asm/arch-s5pc1xx/regs-otg.h |  309 +++
 board/samsung/goni/goni.c                    |  139 +
 common/Makefile                              |    1 +
 common/cmd_usb_mass_storage.c                |   67 +
 drivers/usb/gadget/Makefile                  |   11 +-
 drivers/usb/gadget/file_storage.c            | 3533 ++++++++++++++++++++++++++
 drivers/usb/gadget/s3c_udc_otg.c             |  878 +++++++
 drivers/usb/gadget/s3c_udc_otg_xfer_dma.c    | 1406 ++++++++++
 drivers/usb/gadget/storage_common.c          |  762 ++++++
 include/configs/s5p_goni.h                   |   13 +
 include/usb/lin_gadget_compat.h              |   69 +
 include/usb/s3c_udc.h                        |  160 ++
 include/usb_mass_storage.h                   |   36 +
 14 files changed, 7413 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-s5pc1xx/hs_otg.h
 create mode 100644 arch/arm/include/asm/arch-s5pc1xx/regs-otg.h
 create mode 100644 common/cmd_usb_mass_storage.c
 create mode 100644 drivers/usb/gadget/file_storage.c
 create mode 100644 drivers/usb/gadget/s3c_udc_otg.c
 create mode 100644 drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
 create mode 100644 drivers/usb/gadget/storage_common.c
 create mode 100644 include/usb/lin_gadget_compat.h
 create mode 100644 include/usb/s3c_udc.h
 create mode 100644 include/usb_mass_storage.h

-- 
1.7.2.3

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework
@ 2011-07-05 12:53 Lukasz Majewski
  2011-07-05 12:53 ` [U-Boot] [PATCH 1/2] " Lukasz Majewski
  0 siblings, 1 reply; 4+ messages in thread
From: Lukasz Majewski @ 2011-07-05 12:53 UTC (permalink / raw)
  To: u-boot

Included commits provide Linux USB gadget support for U-boot. 
The USB Gadget infrastructure is running on top of the Samsung's
UDC OTG controller. The code has been tested on the GONI (S5PC110)
reference target.

Files:
drivers/usb/gadget/file_storage.c
drivers/usb/gadget/storage_common.c

Aren't passing the checkpatch.pl script check, however they were 
taken from Linux kernel. On purpose this code hasn't been corrected, to
facilitate further code porting from Linux to U-boot (or in opposite 
direction)

v1:
- Linux USB Gadget support for Samsung targets (tested on GONI)
- Simple USB Mass Storage (UMS) Gadget implementation to proof the
  concept of running USB Gadgets in U-boot.
- The new ums command


It is important to emphase, that now USB Gadget framework can handle one 
gadget. 


Lukasz Majewski (2):
  usb:gadget: Linux USB Gadget framework
  usb:gadget: USB Mass Storage Gadget support.

 arch/arm/include/asm/arch-s5pc1xx/hs_otg.h   |   32 +
 arch/arm/include/asm/arch-s5pc1xx/regs-otg.h |  309 +++
 board/samsung/goni/goni.c                    |  139 +
 common/Makefile                              |    1 +
 common/cmd_usb_mass_storage.c                |   67 +
 drivers/usb/gadget/Makefile                  |   11 +-
 drivers/usb/gadget/file_storage.c            | 3533 ++++++++++++++++++++++++++
 drivers/usb/gadget/s3c_udc_otg.c             |  878 +++++++
 drivers/usb/gadget/s3c_udc_otg_xfer_dma.c    | 1406 ++++++++++
 drivers/usb/gadget/storage_common.c          |  762 ++++++
 include/configs/s5p_goni.h                   |   13 +
 include/usb/lin_gadget_compat.h              |   69 +
 include/usb/s3c_udc.h                        |  160 ++
 include/usb_mass_storage.h                   |   36 +
 14 files changed, 7413 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-s5pc1xx/hs_otg.h
 create mode 100644 arch/arm/include/asm/arch-s5pc1xx/regs-otg.h
 create mode 100644 common/cmd_usb_mass_storage.c
 create mode 100644 drivers/usb/gadget/file_storage.c
 create mode 100644 drivers/usb/gadget/s3c_udc_otg.c
 create mode 100644 drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
 create mode 100644 drivers/usb/gadget/storage_common.c
 create mode 100644 include/usb/lin_gadget_compat.h
 create mode 100644 include/usb/s3c_udc.h
 create mode 100644 include/usb_mass_storage.h

-- 
1.7.2.3

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

end of thread, other threads:[~2011-07-05 14:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-05 13:58 [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework Lukasz Majewski
2011-07-05 13:58 ` [U-Boot] [PATCH 1/2] " Lukasz Majewski
2011-07-05 14:03 ` [U-Boot] [PATCH 0/2] " Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2011-07-05 12:53 Lukasz Majewski
2011-07-05 12:53 ` [U-Boot] [PATCH 1/2] " Lukasz Majewski

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.