[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
@ -10,15 +10,19 @@
|
||||
|
||||
#include <linux/usb/composite.h>
|
||||
|
||||
#define UAC1_OUT_EP_MAX_PACKET_SIZE 200
|
||||
#define UAC1_DEF_CCHMASK 0x3
|
||||
#define UAC1_DEF_CSRATE 48000
|
||||
#define UAC1_DEF_CSSIZE 2
|
||||
#define UAC1_DEF_PCHMASK 0x3
|
||||
#define UAC1_DEF_PSRATE 48000
|
||||
#define UAC1_DEF_PSSIZE 2
|
||||
#if IS_ENABLED(CONFIG_ARCH_CVITEK)
|
||||
#define UAC1_OUT_EP_MAX_PACKET_SIZE 256
|
||||
#define UAC1_DEF_REQ_NUM 3
|
||||
#else
|
||||
#define UAC1_OUT_EP_MAX_PACKET_SIZE 200
|
||||
#define UAC1_DEF_REQ_NUM 2
|
||||
|
||||
#endif
|
||||
|
||||
struct f_uac1_opts {
|
||||
struct usb_function_instance func_inst;
|
||||
|
||||
Reference in New Issue
Block a user