mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
5578b266e9
This adds RCAR Gen2 USB phy support. The driver configures USB channels 0/2 which are shared between PCI USB hosts and USBHS/USBSS devices. It also controls internal USBHS phy. Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
23 lines
613 B
C
23 lines
613 B
C
/*
|
|
* Copyright (C) 2013 Renesas Solutions Corp.
|
|
* Copyright (C) 2013 Cogent Embedded, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __USB_RCAR_GEN2_PHY_H
|
|
#define __USB_RCAR_GEN2_PHY_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct rcar_gen2_phy_platform_data {
|
|
/* USB channel 0 configuration */
|
|
bool chan0_pci:1; /* true: PCI USB host 0, false: USBHS */
|
|
/* USB channel 2 configuration */
|
|
bool chan2_pci:1; /* true: PCI USB host 2, false: USBSS */
|
|
};
|
|
|
|
#endif
|