Add gc4653 sensor support

pull/55/head
Igor Zalatov (from Citadel PC) 2021-09-14 23:53:55 +03:00
parent 622a66f411
commit 6872ee7f36
2 changed files with 10 additions and 0 deletions

View File

@ -35,6 +35,10 @@ insert_ko()
# Untested | The information is obtained from the Gospell firmware
insmod ${PATH_MODULE}/mi_venc.ko max_width=1920 max_height=1080 max_jpe_task=1;
;;
gc4653)
# Untested | The information is obtained from the Anjoy firmware
insmod ${PATH_MODULE}/mi_venc.ko max_width=2560 max_height=1440 thread_priority=99;
;;
imx307)
# Untested | The information is obtained from the Anjoy and Brovotech (no any params) firmware
insmod ${PATH_MODULE}/mi_venc.ko max_width=2304 max_height=1296 thread_priority=99;
@ -72,6 +76,10 @@ insert_ko()
# Untested | The information is obtained from the Gospell firmware
insmod ${PATH_MODULE}/sensor_gc2053_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2;
;;
gc4653)
# Untested | The information is obtained from the Anjoy firmware
insmod ${PATH_MODULE}/sensor_gc4653_mipi.ko chmap=1;
;;
imx307)
# Untested | The information is obtained from the Anjoy and Brovotech (mclk=37.125M) firmware
insmod ${PATH_MODULE}/sensor_imx307_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2 mclk=37.125M;
@ -100,7 +108,9 @@ insert_ko()
remove_ko()
{
rmmod drv_ms_cus_gc2053_MIPI
rmmod drv_ms_cus_gc4653_MIPI
rmmod drv_ms_cus_imx307_MIPI
rmmod drv_ms_cus_imx335_MIPI
rmmod drv_ms_cus_sc2239_MIPI
rmmod drv_ms_cus_sc3335_MIPI
rmmod mi_shadow