Enumerating iMX-8M USB in Peripheral(Device) Mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Enumerating iMX-8M USB in Peripheral(Device) Mode

1,908 次查看
bharatkumarbach
Contributor III

I got the USB working under host mode. 

For device mode, I have modified the device tree

&usb_dwc3_1 {

   status = "okay";

   dr_mode = "peripheral";

};

How / where do I configure the descriptors (device, Interface, Config, Endpoint, String),  so that the device gets enumerated as vendor specific device at the boot time. 

Using yocto build on iMX-8M.

Thanks

Bharat

标签 (1)
0 项奖励
回复
1 回复

1,650 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Bharat

one can try to change usb driver on

dwc3-of-simple.c\dwc3\usb\drivers - linux-imx - i.MX Linux kernel 

fsl-imx8mq.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

Linux manual and porting guide can be found in linux documentation on

i.MX Software|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复