a068533079
This adds a post handling routine which is called after ci13xxx_add_device was called. The first user is the mx25, which has to disable the external-vbus-divider after the udc has started. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> [Alex: also fixed a signed one-bit bitfield a whitespace error and yet another set of line-too-long and void pointer casting errors] Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
805 B
Plaintext
26 lines
805 B
Plaintext
* Freescale i.MX ci13xxx usb controllers
|
|
|
|
Required properties:
|
|
- compatible: Should be "fsl,imx27-usb"
|
|
- reg: Should contain registers location and length
|
|
- interrupts: Should contain controller interrupt
|
|
|
|
Optional properties:
|
|
- fsl,usbphy: phandler of usb phy that connects to the only one port
|
|
- fsl,usbmisc: phandler of non-core register device, with one argument
|
|
that indicate usb controller index
|
|
- vbus-supply: regulator for vbus
|
|
- disable-over-current: disable over current detect
|
|
- external-vbus-divider: enables off-chip resistor divider for Vbus
|
|
|
|
Examples:
|
|
usb@02184000 { /* USB OTG */
|
|
compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
|
|
reg = <0x02184000 0x200>;
|
|
interrupts = <0 43 0x04>;
|
|
fsl,usbphy = <&usbphy1>;
|
|
fsl,usbmisc = <&usbmisc 0>;
|
|
disable-over-current;
|
|
external-vbus-divider;
|
|
};
|