History log of /drivers/usb/gadget/r8a66597-udc.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b8a56e17e18cca2402b390c10b8d7f3cd0f6265b 30-Sep-2011 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: gadget: r8a66597-udc: add support for SUDMAC

SH7757 has a USB function with internal DMA controller (SUDMAC).
This patch supports the SUDMAC. The SUDMAC is incompatible with
general-purpose DMAC. So, it doesn't use dmaengine.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
/drivers/usb/gadget/r8a66597-udc.h
12158f4280b4d42ef03b70a47d11b48dd8aad511 30-Sep-2011 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: gadget: r8a66597-udc: use dev_*() instead of printk()

This patch also fix the balance of braces.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
/drivers/usb/gadget/r8a66597-udc.h
5c481a639068ac34bd1dcd183f37b7a65d0e3841 30-Sep-2011 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: gadget: r8a66597-udc: add function for external controller

R8A66597 has the pin of WR0 and WR1. So, if one write-pin of CPU
connects to the pins, we have to change the setting of FIFOSEL
register in the controller. If we don't change the setting,
the controller cannot send the data of odd length.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
/drivers/usb/gadget/r8a66597-udc.h
0a85577627fc81936d3dbdfb349964024adcb01d 30-Sep-2011 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: gadget: r8a66597-udc: change prototype of r8a66597_write_fifo

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
/drivers/usb/gadget/r8a66597-udc.h
28c9fc68ebd32d473a8787d05c74e3f39c6c866b 09-Sep-2011 Klaus Schwarzkopf <schwarzkopf@sensortherm.de> usb gadget: clean up FSF boilerplate text

remove the following two paragraphs as they are not needed:

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc.,59
Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Signed-off-by: Klaus Schwarzkopf <schwarzkopf@sensortherm.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/usb/gadget/r8a66597-udc.h
5db05c09ac107ef957b7a052d7bba8190c93b460 07-Jul-2011 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> usb: update email address in r8a66597-udc and m66592-udc

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
/drivers/usb/gadget/r8a66597-udc.h
92d3489ec58b5897a407b07ad9954497a119d3d0 10-Sep-2010 Javier Martinez Canillas <martinez.javier@gmail.com> USB: r8a66597-udc: Initialize uninitialized variable, fix compile warning

In today linux-next I got a compile warning due a possible uninitialized variable

This patch solves the issue initializing the variable


Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Magnus Damm <damm@opensource.se>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/usb/gadget/r8a66597-udc.h
e8b48669de54d390644c77cd26d5c9fccbc1e0a1 02-Jun-2010 Paul Mundt <lethal@linux-sh.org> usb: gadget: r8a66597-udc pio to mmio accessor conversion.

r8a66597-udc is erroneously using PIO routines on MMIO registers, which
presently blows up for any platform that elects to either override or do
away with PIO routines. This managed to work for the common cases since
the PIO routines were simply wrapped to their MMIO counterparts. This
switches over to using the MMIO routines directly, and enables us to kill
off a lot of superfluous casting in the process.

Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/drivers/usb/gadget/r8a66597-udc.h
59c82d12aa898c2f373b7e44bdea0b7c762ceccc 30-Sep-2009 Magnus Damm <damm@opensource.se> usb: r8a66597-udc unaligned fifo fix

Rework the r8a66597-udc fifo code to avoid unaligned accesses.

Without this patch unaligned exceptions will degrade the
USB performance. The exceptions come from the fact that
the usb fifo data buffers may be misaligned.

This patch updates the fifo access code to only use
insl()/outsl() and insw()/outsw() in the case of properly
aligned data buffers. The fallback case is that inl()/inw()
are used for misaligned buffer reads together with outb()
that is used for misaligned buffer writes.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/drivers/usb/gadget/r8a66597-udc.h
9e7291c1124655980ab05fc89930de8e218c7d64 20-Aug-2009 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> usb: r8a66597-udc: implement the set_wedge method

fix the problem that MSC Tests of USBCV detects some warnings.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/drivers/usb/gadget/r8a66597-udc.h
ef5ce3b69028ea32aa87e98c9a3802e7c9f824b6 19-Aug-2009 Magnus Damm <damm@igel.co.jp> usb: r8a66597-udc buffer management update

This patch updates the r8a66597-udc buffer management code.

Use fixed buffers for bulk and isochronous pipes, also make
sure to handle the isochronous-as-bulk case. With fixed buffers
there is no need to keep track of used buffers with bi_bufnum.

Also, this fixes a potential buffer offset problem where the
base offset incorrectly varies with the number of pipes used.

The m66592 driver recently got fixed in a similar way.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/drivers/usb/gadget/r8a66597-udc.h
d2e27bdf2870e507dd4abba1f56ca84ee6ae7232 19-Aug-2009 Magnus Damm <damm@igel.co.jp> usb: add clock support to r8a66597 gadget driver

Add support for the clock framework to the r8a66597 gadget driver.
This is needed to control the clock driving the USB block.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/drivers/usb/gadget/r8a66597-udc.h
c41442474a26984abaa094e96e42182868eab658 19-Aug-2009 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> usb: gadget: R8A66597 peripheral controller support.

While in-tree support for the R8A66597 host side has been supported for
some time, the peripheral side has so far been unsupported. This adds a
new USB gadget driver which bridges the gap and finally wires up the
peripheral side as well.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Tested-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/drivers/usb/gadget/r8a66597-udc.h