HSIC under linux (imx6d)

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

HSIC under linux (imx6d)

Jump to solution
3,185 Views
christiangmeine
Contributor I

Hi all.

I spend more then a week to get HSIC working on an imx6d based board but I did not succeeded yet. I aksed Peter Chen as he did a lot for chipidea stuff in mainline kernel for some help - see Re: HSIC on imx6 -- Linux USB

I did a backport of all those changes from github.com/hzpeterchen/linux-usb.git branch: fsl-hsic-support to 3.13.4 kernel and thats how far I get: http://dpaste.com/hold/1656798/ generated by this dts:

&usdhc3 {

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_usdhc3_1>;

        bus-width = <8>;

        non-removable;

        status = "okay";

};

&usbh1 {

        status = "okay";

};

&usbh2 {

        pinctrl-names = "idle", "active";

        pinctrl-0 = <&pinctrl_usbh2_1>;

        pinctrl-1 = <&pinctrl_usbh2_2>;

        osc-clkgate-delay = <0x3>;

        status = "okay";

};

&usbh3 {

        pinctrl-names = "idle", "active";

        pinctrl-0 = <&pinctrl_usbh3_1>;

        pinctrl-1 = <&pinctrl_usbh3_2>;

        osc-clkgate-delay = <0x3>;

        status = "okay";

};

&fec {

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_enet_4>;

        phy-mode = "mii";

        status = "okay";

};

At the moment I am trying to get the branch working on my custom board. Are there any hardware/layout requirements for HSIC?

Thanks

Labels (2)
Tags (1)
0 Kudos
1 Solution
978 Views
karina_valencia
NXP Apps Support
NXP Apps Support
Re: HSIC under linux (imx6d)

PeterChanEmployee

Because HSIC signal voltage is 1.2V, you need to have a 1.2V supply connecting to the NVCC_RGMII

set the DDR_SEL field in IOMUXC_SW_PAD_CTL_GRP_DDR_TYPE_RGMII register to 10b (1P2V_IO).

More information can be found at Re: Need proper initialization for USB Host2 (HSIC) in i.MX6x.

View solution in original post

0 Kudos
2 Replies
978 Views
christiangmeine
Contributor I

The kernel from the branch does show the same behavior. Is there any dependency to u-boot or any fuses?

0 Kudos
979 Views
karina_valencia
NXP Apps Support
NXP Apps Support
Re: HSIC under linux (imx6d)

PeterChanEmployee

Because HSIC signal voltage is 1.2V, you need to have a 1.2V supply connecting to the NVCC_RGMII

set the DDR_SEL field in IOMUXC_SW_PAD_CTL_GRP_DDR_TYPE_RGMII register to 10b (1P2V_IO).

More information can be found at Re: Need proper initialization for USB Host2 (HSIC) in i.MX6x.

0 Kudos