usb: renesas_usbhs: add R-Car Gen. 2 init and power control
In preparation for DT conversion to reduce reliance on platform device callbacks. Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
f2267089ea
commit
8ecef00fe1
6 changed files with 151 additions and 6 deletions
|
@ -153,6 +153,9 @@ struct renesas_usbhs_driver_param {
|
|||
*/
|
||||
int pio_dma_border; /* default is 64byte */
|
||||
|
||||
u32 type;
|
||||
u32 enable_gpio;
|
||||
|
||||
/*
|
||||
* option:
|
||||
*/
|
||||
|
@ -160,6 +163,9 @@ struct renesas_usbhs_driver_param {
|
|||
u32 has_sudmac:1; /* for SUDMAC */
|
||||
};
|
||||
|
||||
#define USBHS_TYPE_R8A7790 1
|
||||
#define USBHS_TYPE_R8A7791 2
|
||||
|
||||
/*
|
||||
* option:
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue