[linux] porting cvitek asic chips.
1. update cv182x/cv183x configuration file 2. update cv181x/cv180x configuration file 3. update clk driver for cvitek 4. update dma driver for cvitek 5. update soc driver for cvitek 6. porting cvitek ion driver from kernel-4.19 7. compatible with riscv Change-Id: Icff9fafe0ebe7d6bab824bbadb952e08bdc66c19
This commit is contained in:
committed by
sam.xiang
parent
4bc998a131
commit
4f810186ab
@ -122,6 +122,9 @@ struct usb_request {
|
||||
|
||||
int status;
|
||||
unsigned actual;
|
||||
#if defined(CONFIG_CVITEK_USB_LEGACY)
|
||||
int req_map;
|
||||
#endif
|
||||
};
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@ -718,6 +721,22 @@ struct usb_gadget_driver {
|
||||
};
|
||||
|
||||
|
||||
#if defined(CONFIG_CVITEK_USB_LEGACY)
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* struct otg_gadget_ops - Interface between OTG core and gadget
|
||||
*
|
||||
* Provided by the gadget core to allow the OTG core to start/stop the gadget
|
||||
*
|
||||
* @start: function to start the gadget
|
||||
* @stop: function to stop the gadget
|
||||
*/
|
||||
struct otg_gadget_ops {
|
||||
int (*start)(struct usb_gadget *gadget);
|
||||
int (*stop)(struct usb_gadget *gadget);
|
||||
};
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user