Using USB-HSIC controller in peripheral mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using USB-HSIC controller in peripheral mode

2,193 Views
didierleymarie
Contributor I

Hello, everyone

I'm using a Freescale SoC (confidential) which has some common points with an IMX6. I'm working under Linux 3.10.17.

This SoC has 3 USB controller (chipidea). The two first are OTG, the third is HSIC.

I modified the driver (drivers/usb/chipidea/ci_hdrc_imx.c, usbmisc_imx.c) to support this chip and its HSIC controller.

When operating in host mode (dr_mode ="host" in DTS), this is OK: a chip SMSC9730 (HSIC to Ethernet) is detected, right driver is loaded, ethernet interface is OK.

My target application is to use this SoC as a HSIC peripheral.

I connected my board through HSIC to an other board set as a HSIC host.

I set my board in peripheral mode (dr_mode = "peripheral" in DTS).

I load module g_ether and nothing happens on host board: no detection of RNDIS/Ethernet gadget.

Did someone already use USB-HSIC in peripheral mode ?

Can someone suggest a way to setup a HSIC peripheral ?

Can anybody help me?

Labels (2)
Tags (2)
0 Kudos
3 Replies

772 Views
didierleymarie
Contributor I

Thank you for this answer. But I am not working with iMX6 which has host-only HSIC controllers.

I'm working with an other Soc which is confidential (NDA) which one of its USB controller is HSIC controller. It is a dual role device which can be configured to act as Host or Device through firmware interface. It is not a true OTG controller.

I used it as host or as peripheral by selecting dr_mode in Device-tree.

In the iMX family or other NXP SoC , does it have a HSIC dual-role controller ?

0 Kudos

772 Views
igorpadykov
NXP Employee
NXP Employee

currently iMX family does not have a HSIC dual-role controller.

0 Kudos

772 Views
igorpadykov
NXP Employee
NXP Employee

Hi Didier

unfortunately i.MX6 does not support USB-HSIC in peripheral mode

as its OTG controller does not have connection to HSIC port, so

its linux driver seems also does not support that mode.

pastedImage_1.jpg

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

I

0 Kudos