Thread (1 message) 1 message, 1 author, 2014-08-06

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

From: Fabio Estevam <hidden>
Date: 2014-08-06 12:31:31

On Wed, Aug 6, 2014 at 8:52 AM, Priebe, Sebastian
[off-list ref] 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help