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
---
dr
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
---
arch/arm/mach-omap2/board-2430sdp.c |7 ++-
arch/arm/mach-omap2/board-3430sdp.c |8 +++-
arch/arm/mach-omap2/board-ldp.c
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
---
arch/arm/mach-davinci/board-dm355-evm.c |1 +
arch/arm/mach-davinci/board-dm355-leopard.c |1 +
arch/arm/mach-
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 K
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
---
arch/arm/mach-
n done in all 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 fo
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 Ku
any further
board specific functions or parameter can be added to this structure
later.
Signed-off-by: Ajay Kumar Gupta
---
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
ind
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
---
arch/blackfin/mach-bf527/boards/cm_bf527.c |6 ++
arch/blackfin/mach-bf527/boards/ezbrd.c|6 ++
arch
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
---
arch/arm/mach-omap2/board-2430sdp.c |7 ++-
arch/arm/mach-omap2/board-3430sdp.c |7 ++-
arch/arm/mach-omap2/board-cm-t35
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
---
arch/a
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
---
arch/arm/mach-omap2/board-omap3evm.c |2 ++
1 files changed, 2 insertions(+), 0 de
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
---
arch
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 K
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 Ku
n done in all the OMAP and Davinci platform
based boards.
Please review and provide your feedback.
[patches created against linux-omap/master branch and tested on OMAP3EVM]
Regards,
Ajay
Ajay Kumar Gupta (7):
musb: Add structure to get board specific data
musb: Get power (mA) from boar
any further
board specific functions or parameter can be added to this structure
later.
Signed-off-by: Ajay Kumar Gupta
---
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
ind
17 matches
Mail list logo