[PATCH 2/8] musb: Get power (mA) from board data

2009-11-17 Thread 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 --- dr

[PATCH 3/8] musb: Update musb_init() call for all OMAP3 boards

2009-11-17 Thread Ajay Kumar Gupta
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

[PATCH 7/8] musb: set 'extvbus = 0' for Davinci boards

2009-11-17 Thread Ajay Kumar Gupta
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-

[PATCH 5/8] musb: Add 'extvbus' in musb_hdrc_board_data

2009-11-17 Thread Ajay Kumar Gupta
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

[PATCH 6/8] musb: set 'extvbus = 0' for OMAP3 boards

2009-11-17 Thread 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 --- arch/arm/mach-

[PATCH 0/8] musb: Add structure 'musb_hdrc_board_data'

2009-11-17 Thread Ajay Kumar Gupta
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

[PATCH 4/8] musb: Update setup_usb() call for all Davinci boards

2009-11-17 Thread Ajay Kumar Gupta
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

[PATCH 1/8] musb: Add structure to get board specific data

2009-11-17 Thread Ajay Kumar Gupta
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

[PATCH 8/8] musb: set 'extvbus = 0' for Blackfin boards

2009-11-17 Thread Ajay Kumar Gupta
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

[PATCH 3/7] musb: Update musb_init() call for all OMAP3 boards

2009-11-15 Thread Ajay Kumar Gupta
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

[PATCH 6/7] musb: set 'extvbus' default value to zero

2009-11-15 Thread Ajay Kumar Gupta
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

[PATCH 7/7] musb: set 'extvbus' for OMAP3EVM Rev >=E

2009-11-15 Thread Ajay Kumar Gupta
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

[PATCH 2/7] musb: Get power (mA) from board data

2009-11-15 Thread 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 --- arch

[PATCH 5/7] musb: Add 'extvbus' in musb_hdrc_board_data

2009-11-15 Thread Ajay Kumar Gupta
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

[PATCH 4/7] musb: Update setup_usb() call for all Davinci boards

2009-11-15 Thread Ajay Kumar Gupta
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

[PATCH 0/7] musb: Add structure 'musb_hdrc_board_data'

2009-11-15 Thread Ajay Kumar Gupta
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

[PATCH 1/7] musb: Add structure to get board specific data

2009-11-15 Thread Ajay Kumar Gupta
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