mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 04:36:41 +07:00
0c27c5d5b9
Patch from Richard Purdie Add a power budget variable to the PXA OHCI platform data and add a default value for the spitz platform(s) which prevents known failures with certain USB devices. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
21 lines
380 B
C
21 lines
380 B
C
#ifndef ASMARM_ARCH_OHCI_H
|
|
#define ASMARM_ARCH_OHCI_H
|
|
|
|
struct device;
|
|
|
|
struct pxaohci_platform_data {
|
|
int (*init)(struct device *);
|
|
void (*exit)(struct device *);
|
|
|
|
int port_mode;
|
|
#define PMM_NPS_MODE 1
|
|
#define PMM_GLOBAL_MODE 2
|
|
#define PMM_PERPORT_MODE 3
|
|
|
|
int power_budget;
|
|
};
|
|
|
|
extern void pxa_set_ohci_info(struct pxaohci_platform_data *info);
|
|
|
|
#endif
|