mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
05db0dcc70
A USB HCD may have several PHYs which need to be configured before the the HCD starts working. This adds the documentation for such a USB HCD as well as a reference to the new "usb-hcd.txt" from all bindings that implement a USB HCD which support one USB PHY per port. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Rob Herring <robh@kernel.org> Tested-by: Yixun Lan <yixun.lan@amlogic.com> Tested-by: Neil Armstrong <narmstrong@baylibre.con> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
USB OHCI controllers
|
|
|
|
Required properties:
|
|
- compatible : "generic-ohci"
|
|
- reg : ohci controller register range (address and length)
|
|
- interrupts : ohci controller interrupt
|
|
|
|
Optional properties:
|
|
- big-endian-regs : boolean, set this for hcds with big-endian registers
|
|
- big-endian-desc : boolean, set this for hcds with big-endian descriptors
|
|
- big-endian : boolean, for hcds with big-endian-regs + big-endian-desc
|
|
- no-big-frame-no : boolean, set if frame_no lives in bits [15:0] of HCCA
|
|
- remote-wakeup-connected: remote wakeup is wired on the platform
|
|
- num-ports : u32, to override the detected port count
|
|
- clocks : a list of phandle + clock specifier pairs
|
|
- phys : see usb-hcd.txt in the current directory
|
|
- resets : a list of phandle + reset specifier pairs
|
|
|
|
additionally the properties from usb-hcd.txt (in the current directory) are
|
|
supported.
|
|
|
|
Example:
|
|
|
|
ohci0: usb@1c14400 {
|
|
compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
|
|
reg = <0x01c14400 0x100>;
|
|
interrupts = <64>;
|
|
clocks = <&usb_clk 6>, <&ahb_gates 2>;
|
|
phys = <&usbphy 1>;
|
|
phy-names = "usb";
|
|
};
|