Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) Module options
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) The mwave module takes the following options.  Note that these options
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) are not saved by the BIOS and so do not persist after unload and reload.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)   mwave_debug=value, where value is bitwise OR of trace flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	0x0001 mwavedd api tracing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	0x0002 smapi api tracing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	0x0004 3780i tracing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	0x0008 tp3780i tracing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)         Tracing only occurs if the driver has been compiled with the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)         MW_TRACE macro #defined  (i.e. let ccflags-y := -DMW_TRACE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)         in the Makefile).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)   mwave_3780i_irq=5/7/10/11/15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	If the dsp irq has not been setup and stored in bios by the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	thinkpad configuration utility then this parameter allows the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	irq used by the dsp to be configured.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)   mwave_3780i_io=0x130/0x350/0x0070/0xDB0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	If the dsp io range has not been setup and stored in bios by the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	thinkpad configuration utility then this parameter allows the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	io range used by the dsp to be configured.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)   mwave_uart_irq=3/4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	If the mwave's uart irq has not been setup and stored in bios by the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	thinkpad configuration utility then this parameter allows the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	irq used by the mwave uart to be configured.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)   mwave_uart_io=0x3f8/0x2f8/0x3E8/0x2E8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	If the uart io range has not been setup and stored in bios by the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	thinkpad configuration utility then this parameter allows the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	io range used by the mwave uart to be configured.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Example to enable the 3780i DSP using ttyS1 resources:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)   insmod mwave mwave_3780i_irq=10 mwave_3780i_io=0x0130 mwave_uart_irq=3 mwave_uart_io=0x2f8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Accessing the driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) --------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) You must also create a node for the driver:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)   mkdir -p /dev/modems
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)   mknod --mode=660 /dev/modems/mwave c 10 219
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)