AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
No change from v3.
drivers/usb/musb/am35x.c | 30 ++
drivers/usb/musb/musb_core.c |2 ++
2
AM35x has musb interface (version 1.8) and uses CPPI41 DMA engine.
It has USB phy built inside the IP itself.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch set created against latest linus's tree + Felipe's 14 patch set
for v2.6.37.
Changes from v3,
- Removed the new config
musb issues.
one such workaround is for bytewise read issue on AM35x.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from v3, (Mostly based on Sergei's review comment)
- Cleaned up the clock related coding.
- Removed the setting of musb-a_wait_vcon
AM35x has musb interface (version 1.8) and uses CPPI41 DMA engine.
It has USB phy built inside the IP itself.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch set created against latest linus's tree + Felipe's 14 patch set
for v2.6.37.
No change from v4.
arch/arm/mach-omap2/board
AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
No logical change from v4.
drivers/usb/musb/am35x.c | 30 ++
drivers/usb/musb/musb_core.c |2
musb issues.
one such workaround is for bytewise read issue on AM35x.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from v4:
- Added musb-phy_clock which is required to cleanup the
clock related stuff.
- Renamed few macros
- Modified
Fixes compilation error as control.h APIs are not available to
drivers/usb/musb/am35x.c file. Earlier it was getting included
from plat/control.h but now moved to new location by another
pacth.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against latest Linus's tree
Fixes below compilation warning when musb driver is compiled for
PIO mode.
drivers/usb/musb/musb_gadget.c: In function 'musb_g_rx':
drivers/usb/musb/musb_gadget.c:840:
warning: label 'exit' defined but not used
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created
As the control.h have been moved to new location and it's
uses are not allowed to drivers directly so moving the phy
control, interrupt clear and reset functionality to board
files.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against today's linus tree.
arch/arm/mach
As the control.h have been moved to new location and it's
uses are not allowed to drivers directly so moving the phy
control, interrupt clear and reset functionality to board
files.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against recent Linus's tree.
Changes from v1
Adding GPIO mux config used for PHY reset of EHCI port on base board.
We get below failure message without this patch,
hub 1-0:1.0: unable to enumerate USB device on port 1
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-omap2/board-am3517evm.c |3 +++
1 files changed, 3
Enabling OMAP_MUX in defconfig as it is required for EHCI to work.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/configs/am3517_evm_defconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/configs/am3517_evm_defconfig
b/arch/arm/configs
MUSB can supply upto 500mA such as, AM3517 and OMAP3EVM Rev =E and thus
the 'power' field has to hold values above 255.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/plat-omap/include/plat/usb.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm
EXTVBUS programming is required by OMAP3EVM REV =E to supply 500mA
power so adding a flag which can be used by musb driver to program
EXTVBUS.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Created against l-o master branch and on top of below patch.
[PATCH] musb: fix power field to hold
AM35x has musb interface (version 1.8) and uses CPPI41 DMA engine.
It supports upto 500mA of power in host mode.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Created against latest l-o master branch and below patches.
[1] AM35xx: Add clock support for new modules on AM35xx
[2] OMAP2/3
AM35x has musb interface and uses CPPI4.1 DMA engine.
Current patch supports only PIO mode and there are on-going
discussions on location of CPPI4.1 DMA.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/Kconfig |4 +-
drivers/usb/musb/Makefile|4 +
drivers
AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/am3517.c| 30 ++
drivers/usb/musb/musb_core.c |2 ++
2 files changed, 32
and further processing in giveback context.
The patch tries to defer the giveback part to a workqueue and continues
with the start of new request in completion path.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against latest linus's tree and all musb patches in
Greg's queue
Added function to differentiate between the OMAP3EVM revisions. The
chip-id of the ethernet PHY is being used for this purpose.
Rev A to D : 0x0115
Rev = E : 0x9220
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
Signed-off-by: Sanjeev
purpose on EHCI interface.
- GPIO21 - EHCI phy reset
- GPIO22 - EHCI VBUS enable
- GPIO61 - Selects EHCI port either on main board or on Mistral
Daughter Card (MDC).
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-omap2/mux.c |7
GPIO61 to select EHCI port either on main board or
on Mistral Daughter Card (MDC). OMAP3EVM Rev E doesn't have
EHCI port on main board.
- Currently GPIO61 it programmed to enable EHCI port on main
board only.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
Updated the MUSB power sourcing capability for OMAP3EVM (Rev =E).
MUSB interface can source 500mA on OMAP3EVM Rev = E while Rev E
supports only 100mA.MUSB PHY is programmed to use external Vbus for this.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
This patch is dependent on below
Currently we don't see any message to inform user that gadget cable is
successfully disconnected leading to suspicion if everything is fine at
driver therefore adding an informative print message in gadget
disconnect path.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb
Removes below unnecessary log of almost 28 lines during boot.
musb_hdrc: hw_ep 0shared, max 64
musb_hdrc: hw_ep 1tx, max 512
musb_hdrc: hw_ep 1rx, max 512
...
...
musb_hdrc: hw_ep 13shared, max 4096
musb_hdrc: hw_ep 14shared, max 1024
musb_hdrc: hw_ep 15shared, max 1024
Signed-off-by: Ajay Kumar
AM3517 EVM has one EHCI interface on baseboard using port1 and another
EHCI interface on UI card using port2.
GPIO57 is used as port1 PHY reset system reset line is used as port2
PHY reset.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Both the patches are created against linux-omap
Enabling USB EHCI in am3517_evm_defconfig.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/configs/am3517_evm_defconfig | 153 -
1 files changed, 151 insertions(+), 2 deletions(-)
diff --git a/arch/arm/configs/am3517_evm_defconfig
b/arch/arm
regulators.
Regulator supply names has to be mapped in board files as 'hsusbN' where
'N' is port number and can be {0, 1 ,2}.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/host/ehci-omap.c | 36
1 files changed, 36 insertions(+), 0 deletions
musb_init() has been modified to pass board specific data so updating
this function call from all OMAP3 boards.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-omap2/board-2430sdp.c |7 ++-
arch/arm/mach-omap2/board-3430sdp.c |7 ++-
arch/arm/mach
Default value of 'extvbus' is being set as '0' to maintain the
current programming state of all the musb boards.
This flag should be set to '1' for boards using external vbus
supply such as, OMAP3EVM Rev =E.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-davinci/board-dm355
setup_usb() has been modified to pass board specific data so updating
this function call from all Davinci based boards.
Added struct device; to fix below compilation warning for Davinci boards.
musb.h: struct device, defined within parameter list
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
Some of the board might use external Vbus power supply on musb
interface which would require to program ULPI_BUSCONTROL register.
Adding 'extvbus' flag which can be set from such boards which will
be checked at musb driver files before programming ULPI_BUSCONTROL.
Signed-off-by: Ajay Kumar Gupta
Different board may have different power sourcing capability and
now with 'struct musb_hdrc_board_data' in place; pass this data
from board files and also modify musb_core.c to get 'power' data
from 'plat-board_data'.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-omap2/usb
can be added to this structure
later.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
include/linux/usb/musb.h | 18 --
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index d437556..6e1426c 100644
MUSB interface can source 500mA on OMAP3EVM Rev = E while Rev E
supports only 100mA so setting 'extvbus' flag to '1' for OMAP3EVM
Rev = E.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff
the OMAP, Davinci and Blackfin
platform based boards.
[patches created against linus's tree and tested on OMAP3EVM]
Regards,
Ajay
Ajay Kumar Gupta (8):
musb: Add structure to get board specific data
musb: Get power (mA) from board data
musb: Update musb_init() call for all OMAP3 boards
Some of the board might use external Vbus power supply on musb
interface which would require to program ULPI_BUSCONTROL register.
Adding 'extvbus' flag which can be set from such boards which will
be checked at musb driver files before programming ULPI_BUSCONTROL.
Signed-off-by: Ajay Kumar Gupta
Default value of 'extvbus' is being set as '0' to maintain the
current programming state of all OMAP3 musb boards.
This flag should be set to '1' for boards using external vbus
supply such as, OMAP3EVM Rev =E.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-omap2/board
setup_usb() has been modified to pass board specific data so updating
this function call from all Davinci based boards.
Added struct device; to fix below compilation warning for Davinci boards.
musb.h: struct device, defined within parameter list
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
Default value of 'extvbus' is being set as '0' to maintain the
current programming state of all Blackfin musb boards.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/blackfin/mach-bf527/boards/cm_bf527.c |6 ++
arch/blackfin/mach-bf527/boards/ezbrd.c|6 ++
arch
Default value of 'extvbus' is being set as '0' to maintain the
current programming state of all Davinci musb boards.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-davinci/board-dm355-evm.c |1 +
arch/arm/mach-davinci/board-dm355-leopard.c |1 +
arch/arm/mach
can be added to this structure
later.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
include/linux/usb/musb.h | 18 --
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index d437556..6e1426c 100644
Different board may have different power sourcing capability and
now with 'struct musb_hdrc_board_data' in place; pass this data
from board files and also modify musb_core.c to get 'power' data
from 'plat-board_data'.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb
musb_init() has been modified to pass board specific data so updating
this function call from all OMAP3 boards.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-omap2/board-2430sdp.c |7 ++-
arch/arm/mach-omap2/board-3430sdp.c |8 +++-
arch/arm/mach
compatibility by adding read/write
functions for registers which are not available in BlackFin
Tested system suspend and resume on OMAP3EVM board.
Signed-off-by: Anand Gadiyar gadi...@ti.com
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from previous version
Save dynamic FIFO read only information for later uses such as, during
musb_save/restore_context functions.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_core.c |4 +++-
drivers/usb/musb/musb_core.h |1 +
2 files changed, 4 insertions(+), 1 deletions
Some of the board might use external Vbus power supply on musb
interface which would require to program ULPI_BUSCONTROL register.
Adding 'extvbus' flag which can be set from such boards which will
be checked at musb driver files before programming ULPI_BUSCONTROL.
Signed-off-by: Ajay Kumar Gupta
compatibility by adding read/write
functions for registers which are not available in BlackFin
Tested system suspend and resume on OMAP3EVM board.
Signed-off-by: Anand Gadiyar gadi...@ti.com
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from v2:
- Saving/Restoring
Some of the board might use external Vbus power supply on musb
interface which would require to program ULPI_BUSCONTROL register.
Adding 'extvbus' flag which can be set from such boards which will
be checked at musb driver files before programming ULPI_BUSCONTROL.
Signed-off-by: Ajay Kumar Gupta
compatibility by adding read/write
functions for registers which are not available in BlackFin
Tested system suspend and resume on OMAP3EVM board.
Signed-off-by: Anand Gadiyar gadi...@ti.com
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from v3:
- Removed force
Save dynamic FIFO read only information for later uses during
musb_save/restore_context functions.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_core.c |4 +++-
drivers/usb/musb/musb_core.h |1 +
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git
We can get dynamic FIFO information from CONFIGDATA register and
thus there is no need for any user defiend dyn_fifo.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_core.c | 19 ---
include/linux/usb/musb.h |1 -
2 files changed, 4
Added missing kfree() in ehci_hcd_omap_remove().
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/host/ehci-omap.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index 74d07f4..2460f0d 100644
.
As a workaround to it, adding a new FIFO config (5) fitting well
within first 8K which can be used for such use cases.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_core.c | 34 ++
1 files changed, 34 insertions(+), 0 deletions(-)
diff
Fixes insert module failure as free_irq() was not
done in previous rmmod.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_core.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
() will return a valid ransceiver.
NOP transceiver device is required to be registered using
platform_device_register() in platform files.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/otg/Kconfig |8 ++
drivers/usb/otg/Makefile|1 +
drivers/usb/otg/nop-usb
Mode bit should be set based on function parameter mode of
configure_channel() function.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musbhsdma.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/musb/musbhsdma.c b/drivers/usb/musb
Mode bit should be set based on function parameter mode of
configure_channel() function.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Original version of this patch is at,
http://marc.info/?l=linux-usbm=123141793611158w=2
drivers/usb/musb/musbhsdma.c |2 +-
1 files changed, 1
() will return a valid transceiver.
NOP transceiver device should be registered by calling
usb_nop_xceiv_register() from platform files.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/otg/Kconfig |8 ++
drivers/usb/otg/Makefile|1 +
drivers/usb/otg/nop-usb-xceiv.c
timeout interrupt
at musb controller from such devices.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_host.c | 63 --
1 files changed, 60 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb
Tested with Creative (Live! Cam Optia) USB camera which uses
high bandwidth isochronous interface.FIFO table has been updated
for Rx high bandwidth case.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_core.c | 18
drivers/usb/musb/musb_host.c
urb-transfer_buffer_length and urb-transfer_buffer should be
updated based on urb-actual_length.For a fresh and first time urb,
actual_length will be zero but for urbs which has been stopped and
restarted (as bulk nak scheme does) actual_length may not be zero.
Signed-off-by: Ajay Kumar Gupta
Fixes compilation warning when musb is configured in gadget mode.
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
---
drivers/usb/musb/omap2430.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 472c304
Fixes blurred capture images in dma mode. Isochronous error field in
urb and source data buffer pointer were not updated properly in dma
mode.
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
---
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
index 08e421f..a481d54
Enables support for camera (as creative) requiring high bandwidth
isochronous transfer.
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
---
drivers/usb/musb/musb_core.c | 18 +-
drivers/usb/musb/musb_host.c | 32 +---
2 files changed, 30
which are multiplexed on one hardware endpoint.
musb_advance_schedule() has been removed from musb_cleanup_urb() and added
to musb_urb_dequeue(). musb_h_disable() has been modified to take care of
multiple qh on same hw_ep scenario.
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
CC: Romit Dasgupta
of an endpoint.
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
---
drivers/usb/musb/musb_host.c | 94 --
drivers/usb/musb/musb_host.h |1 +
2 files changed, 55 insertions(+), 40 deletions(-)
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb
musb-periodic[] flag was getting set for an endpoint even when only rx
or tx is used.This patch adds two field musb-in[16] and musb-out[16]
in place of musb-periodic[32] which will enable endpoint allocation
flag setting on rx/tx basis of an endpoint.
Signed-off-by: Ajay Kumar Gupta [EMAIL
as currently done.
Switch statement case is reordered in musb_giveback() to take care of
bulk request both in multiplex scenario and otherwise.
NAK limit scheme has to be added for multiplexed BULK request scenario
to avoid endpoint starvation due to usb/net devices.
Signed-off-by: Ajay Kumar
]
Signed-off-by: Swaminathan S [EMAIL PROTECTED]
Signed-off-by: Thomas Abraham [EMAIL PROTECTED]
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
---
drivers/usb/musb/musb_core.c |6 +++---
drivers/usb/musb/musb_core.h |7 ---
drivers/usb/musb/musb_host.c | 36
.
This patch puts is_otg_enabled() check before scheduling
a switch-off timer in disconnect path.
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
---
drivers/usb/musb/musb_core.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb
]
Signed-off-by: Swaminathan S [EMAIL PROTECTED]
Signed-off-by: Thomas Abraham [EMAIL PROTECTED]
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
---
drivers/usb/musb/musb_core.c |6 +++---
drivers/usb/musb/musb_core.h |9 ++---
drivers/usb/musb/musb_host.c | 36
timeout interrupt
at musb controller from such devices.
Signed-off-by: Ravi Babu [EMAIL PROTECTED]
Signed-off-by: Swaminathan S [EMAIL PROTECTED]
Signed-off-by: Thomas Abraham [EMAIL PROTECTED]
Signed-off-by: Ajay Kumar Gupta [EMAIL PROTECTED]
---
These patches have been created against latest omap
Sets the regulator values to NULL if they are not defined. This
is required to fix the kernel panic in exit path when EHCI module
is removed on the platforms where EHCI regulator are not set.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/host/ehci-omap.c |6 --
1
AM3517 is based on ES3.1 thus ES2.x related programming is invalid
for it so updating ES2.x programming.
Also fixed below checkpatch warning:
WARNING: unnecessary whitespace before a quoted newline
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/host/ehci-omap.c |4 ++--
1
Fixes below compilation warning:
drivers/usb/host/ehci-hcd.c:425:
warning: 'ehci_port_power' defined but not used
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/host/ehci-omap.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/host
EHCI port on UI card and LCD share two pins (GPIO 181 and 182) thus
they have to be mutually exclusive.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch adding config (CONFIG_PANEL_SHARP_LQ043T1DG01) in AM3517 defconfig
is already accepted and available in linux-omap/dss2 branch
cameras.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_core.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 705cc4a..4e327f5 100644
--- a/drivers/usb/musb
MUSB interface on AM35x stops working when we set AUTOIDLE bit (D0) in
CONTROL_SYSCONFIG(0x48002010) register.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
arch/arm/mach-omap2/pm34xx.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2
on OMAP34x/35x platforms.
Another approach to use PIO mode in opposite direction would increase the
cpu loading and thus using system DMA is preferred workaround.
Signed-off-by: Anand Gadiyar gadi...@ti.com
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Original version of this patch can
Use optimal values of transfer element based on buffer address in system
DMA programming. This would improve the performance.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musbhsdma.c | 39 +--
1 files changed, 33 insertions(+), 6
it by updating it based on 'request-actual' length.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/Kconfig |6 +++
drivers/usb/musb/musb_gadget.c | 21 +++-
drivers/usb/musb/musbhsdma.c | 75 ++--
3 files changed
AM35x has musb interface (version 1.8) and uses CPPI41 DMA engine.
It supports upto 500mA of power in host mode.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from v1:
- Added PHY clock and OTGMODE settings in board files
arch/arm/mach-omap2/board-am3517evm.c | 42
AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/am3517.c| 30 ++
drivers/usb/musb/musb_core.c |2 ++
2 files changed, 32
AM35x is based on OMAP35x but has an updated musb interface which
uses CPPI4.1 DMA engine.
Current patch supports only PIO mode transfers.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from v1: (Based on Sergei's comment)
- Moved PHY clock and OTGMODE settings to board
Currently DMA channels are allocated and they remain allocated
even if there is no active data transfer. Added channel_release()
whenever there is no pending request.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
This patch is against today's linus's tree.
drivers/usb/musb/musb_host.c
Removed unneeded 'power' and 'mode' field from musb_config as
they are now getting updated by the values provided from board
files at usb_musb_init().
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against today's linux-omap/master.
arch/arm/mach-omap2/usb-musb.c | 13
Removed include files from usb-musb.c which were not required.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against latest linux-omap/master.
arch/arm/mach-omap2/usb-musb.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-omap2
AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against linus'tree + all musb patches in Greg's queue
Changes from v2:
- fixed multipline comment style
drivers
AM35x has musb interface (version 1.8) and uses CPPI41 DMA engine.
It supports upto 500mA of power in host mode.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against linus'tree + all musb patches in Greg's queue
and patches available in linux-omap/for-next branch.
arch
AM35x has musb interface and uses CPPI4.1 DMA engine.
Current patch supports only PIO mode and there are on-going
discussions on location of CPPI4.1 DMA.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against linus'tree + all musb patches in Greg's queue
Changes from v2
Use optimal values of transfer element based on buffer address in system
DMA programming. This would improve the performance.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musbhsdma.c | 29 ++---
1 files changed, 26 insertions(+), 3 deletions
fail the io if Tx transfer
is done in mode-0. Fixed it by updating it based on
'request-actual' length.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_gadget.c | 21 -
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/musb
OTG base physical address is required in calculating physical address
of endpoint FIFO which is needed by system dma.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against linus'tree + all musb patches in Greg's queue
drivers/usb/musb/musb_core.c |6 --
drivers/usb
Added is_inventra_dma_enabled() funtion which would be required
for adding workaround for Inventra DMA issues. It can also be
used at other places instead of #ifdefs.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
drivers/usb/musb/musb_dma.h |6 ++
1 files changed, 6 insertions
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against linus'tree + all musb patches in Greg's queue
Changes from v1:
- Added wrapper function to make it compilable for BlackFins
drivers/usb/musb/Kconfig |9 +++
drivers/usb/musb/musbhsdma.c | 132
device side CDC/RNDIS. Host side would
require change in Tx programming path for mode-0 operation when transfer
length is more than packet size.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against linus'tree + all musb patches in Greg's queue
Changes from v1:
- Added
Use optimal values of transfer element based on buffer address in system
DMA programming. This would improve the performance.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against linus'tree + all musb patches in Greg's queue
Changes from v1:
- fixed extra identation
AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Patch created against linus'tree + all musb patches in Greg's queue
Changes from v1:
- removed unnecessary parens
read issue on AM35x.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from v2:
- Added CONFIG_ARCH_AMx
arch/arm/mach-omap2/Kconfig |1 +
arch/arm/mach-omap2/board-am3517evm.c | 43 +
arch/arm/mach-omap2/usb-musb.c|4
AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
---
Changes from v2:
- Added CONFIG_ARCH_AMx
drivers/usb/musb/am3517.c| 30 ++
drivers/usb/musb
1 - 100 of 259 matches
Mail list logo