mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
7cc99f1e9a
Since the DT should describe the hardware (not the driver limitation), This patch revises the binding document about the dma-names to change simple numbering as "ch%d" instead of "tx<n>" and "rx<n>". Also this patch fixes the actual code of renesas_usbhs driver to handle the new dma-names. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Felipe Balbi <balbi@ti.com>
28 lines
978 B
Plaintext
28 lines
978 B
Plaintext
Renesas Electronics USBHS driver
|
|
|
|
Required properties:
|
|
- compatible: Must contain one of the following:
|
|
- "renesas,usbhs-r8a7790"
|
|
- "renesas,usbhs-r8a7791"
|
|
- reg: Base address and length of the register for the USBHS
|
|
- interrupts: Interrupt specifier for the USBHS
|
|
- clocks: A list of phandle + clock specifier pairs
|
|
|
|
Optional properties:
|
|
- renesas,buswait: Integer to use BUSWAIT register
|
|
- renesas,enable-gpio: A gpio specifier to check GPIO determining if USB
|
|
function should be enabled
|
|
- phys: phandle + phy specifier pair
|
|
- phy-names: must be "usb"
|
|
- dmas: Must contain a list of references to DMA specifiers.
|
|
- dma-names : named "ch%d", where %d is the channel number ranging from zero
|
|
to the number of channels (DnFIFOs) minus one.
|
|
|
|
Example:
|
|
usbhs: usb@e6590000 {
|
|
compatible = "renesas,usbhs-r8a7790";
|
|
reg = <0 0xe6590000 0 0x100>;
|
|
interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
|
|
};
|