RE: HSIC on imx6

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

 



> Rolf Evers-Fischer <embedded24@xxxxxxxxxxxxxxxx> hat am 25. Februar 2014 um
> 17:30 geschrieben:
>
>
> Dear Peter,
>
> > Peter Chen <Peter.Chen@xxxxxxxxxxxxx> hat am 20. Februar 2014 um 02:45
> > geschrieben:
> >
> >
> >
> >
> > > >
> > >
> > > Okay that makes sense. In theory the ehci core should do the reset. Is
> > > there anything special regarding reset and HSIC?
> > >
> >
> > After pcd interrupt occurs, hsic will be treated as a normal ehci host.
> >
> > > >>
> > > >> > It seems more and more guys are working at hsic controller, I will
> > > >> > try to submit hsic support asap.
> > > >> >
> > > >>
> > > >> If you have something working it would be really cool to get those
> > > >> patches. I am working some days on this topic but without much
> > > >> success and I am running out of time :/
> > > >>
> > > >
> > > > Will keep you posted.
> > > >
> > >
> > > Hope you soon will find some time.
> > >
> >
> > Since some chipidea code needs to change before adapting HSIC support,
> > I submit a temp version at my git, it is not suitable for upstream, but
> > can let the hsic work.
> >
> > github.com/hzpeterchen/linux-usb.git
> > branch: fsl-hsic-support
> >
> >
> > Peter
> >
> I did some backport or your patches to 3.13. Additionally I had to remove some
> other patches that we were using in previous kernel versions for the HSIC
> ports.
> 
> Now the HSIC ports themselves (Bus003 and Bus004) appear again with lsusb:
>   Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
>   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>   Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>   Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> But unfortunately the devices, which are connected to the HSIC ports, do not
> appear. I would expect a USB4640-hub on Bus 003 and a Sierra Wireless card
> attached:
>   Bus 003 Device 002: ID 0424:2640 Standard Microsystems Corp. USB 2.0 Hub
>   Bus 003 Device 003: ID 0424:4040 Standard Microsystems Corp.
>   Bus 003 Device 004: ID 1199:68a3 Sierra Wireless, Inc.
>
> I will try to find out, why the other devices are not being found.
>
> Kind regards,
>  Rolf
> 
 
There was a mistake in my devicetree. The HSIC ports are working when I set the
dts entries like this:

&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 {
        #address-cells = <1>;
        #size-cells = <0>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet_poc20>;
        phy-mode = "mii";
        status = "okay";
        phy = <&phy3>;

        phy3: ethernet-phy@3 {
                reg = <3>;
                device_type = "ethernet-phy";
        };
};

Best regards,
 Rolf
--
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