mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
5119dd1e3f
This patch adds a compatible string to support for R-Car H3. Since the HS-USB controller of R-Car H3 is almost the same specification with R-Car Gen2 (these have 16 pipes and usb-dmac), this patch sets the "type" of renesas_usbhs_driver_param to USBHS_TYPE_RCAR_GEN2. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
Renesas Electronics USBHS driver
|
|
|
|
Required properties:
|
|
- compatible: Must contain one of the following:
|
|
- "renesas,usbhs-r8a7790"
|
|
- "renesas,usbhs-r8a7791"
|
|
- "renesas,usbhs-r8a7794"
|
|
- "renesas,usbhs-r8a7795"
|
|
- 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>;
|
|
};
|