Re: where to add imx-udc-mx27 in device tree

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

 




On Wed, Aug 6, 2014 at 8:52 AM, Priebe, Sebastian
<Sebastian.Priebe@xxxxxxxxx> wrote:
> Hello,
>
> I pulled linux-next, but still can't figure out where to add my udc.
> Can you please explain when fsl-udc is loaded?

Maybe I don't understand the question.

There is no 'fsl-udc' that needs to be loaded at all. The USB driver
for imx is the chipidea driver.

In the imx27.dtsi we have:

            usbotg: usb@10024000 {
                compatible = "fsl,imx27-usb";
                reg = <0x10024000 0x200>;
                interrupts = <56>;
                clocks = <&clks IMX27_CLK_USB_IPG_GATE>;
                fsl,usbmisc = <&usbmisc 0>;
                status = "disabled";
            };

            usbh1: usb@10024200 {
                compatible = "fsl,imx27-usb";
                reg = <0x10024200 0x200>;
                interrupts = <54>;
                clocks = <&clks IMX27_CLK_USB_IPG_GATE>;
                fsl,usbmisc = <&usbmisc 1>;
                status = "disabled";
            };

            usbh2: usb@10024400 {
                compatible = "fsl,imx27-usb";
                reg = <0x10024400 0x200>;
                interrupts = <55>;
                clocks = <&clks IMX27_CLK_USB_IPG_GATE>;
                fsl,usbmisc = <&usbmisc 2>;
                status = "disabled";
            };

So the "compatible = "fsl,imx27-usb";" is all we need there.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux