Re: USB on omap2430

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again,

On Fri, Mar 26, 2010 at 12:08:11PM +0100, ext Viral Mehta wrote:
I enabled "earlyprintk" and I have copy+pasted crashdump at the end of the email.

It is not able to get "otg_get_transceiver()" since transceiver was never set.
OMAP2430 uses ISP1301 (grepped from SDP manual).
It is on I2C1 bus and address 0x2D if I read the manual correctly.

isp1301 ?? there's a driver for that on drivers/usb/otg/isp1301_omap.c

enable that and check if it works. You should add something like the following to your board file:

diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c
index 01d113f..910234d 100644
--- a/arch/arm/mach-omap2/board-2430sdp.c
+++ b/arch/arm/mach-omap2/board-2430sdp.c
@@ -172,6 +172,11 @@ static struct i2c_board_info __initdata sdp2430_i2c_boardinfo[] = {
 		.irq = INT_24XX_SYS_NIRQ,
 		.platform_data = &sdp2430_twldata,
 	},
+	{
+		I2C_BOARD_INFO("isp1301-omap", 0x2d),
+		.flags = I2C_CLIENT_WAKE,
+		.irq = /* irq line here */,
+	},
 };
static int __init omap2430_i2c_init(void)

I didn't even compile tested... you will probably need the schematics to figure out to which i2c bus isp1301 is connected.

--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux