MTK驱动移植相关路径

一、Flash兼容


bootable/bootloader/preloader/tools/emigen/MT6735/MemoryDeviceList_MT6735.xls
bootable/bootloader/preloader/tools/emigen/MT6735/MemoryDeviceList_MT6735M.xls
bootable/bootloader/preloader/custom/T39D_T60/inc/custom_MemoryDevice.h


二、背光及指示灯 


bootable/bootloader/lk/target/T39D_T60/cust_leds.c
kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/leds/mt65xx/cust_leds.c


三、LCM 


bootable/bootloader/lk/dev/lcm/mt65xx_lcm_list.c
bootable/bootloader/lk/dev/lcm/st7701_fwvga_dsi_vdo_t60b
bootable/bootloader/lk/project/T39D_T60.mk

kernel-3.10/drivers/misc/mediatek/lcm/mt65xx_lcm_list.c
kernel-3.10/drivers/misc/mediatek/lcm/st7701_fwvga_dsi_vdo_t60b


kernel-3.10/arch/arm/configs/T39D_T60_debug_defconfig
kernel-3.10/arch/arm/configs/T39D_T60_defconfig


device/alibaba/T39D_T60/ProjectConfig.mk


四、TP 


kernel-3.10/drivers/input/touchscreen/mediatek/GT9147
kernel-3.10/drivers/input/touchscreen/Kconfig
kernel-3.10/drivers/input/touchscreen/mediatek/Makefile


kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/touchpanel/GT9147


kernel-3.10/arch/arm/configs/T39D_T60_debug_defconfig
kernel-3.10/arch/arm/configs/T39D_T60_defconfig


device/alibaba/T39D_T60/ProjectConfig.mk


五、Camera 


kernel-3.10/drivers/misc/mediatek/imgsensor/src/mt6735m/gc2355_mipi_raw_t60b
kernel-3.10/drivers/misc/mediatek/imgsensor/src/mt6735m/ov5648_mipi_raw_t60b
kernel-3.10/drivers/misc/mediatek/imgsensor/src/mt6735m/kd_sensorlist.h
kernel-3.10/drivers/misc/mediatek/imgsensor/inc/kd_imgsensor.h
kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/camera/camera/kd_camera_hw.c


vendor/mediatek/proprietary/custom/mt6735/hal/D2/imgsensor/gc2355_mipi_raw_t60b
vendor/mediatek/proprietary/custom/mt6735/hal/D2/imgsensor/ov5648_mipi_raw_t60b
vendor/mediatek/proprietary/custom/mt6735/hal/D2/imgsensor_src/sensorlist.cpp
vendor/mediatek/proprietary/custom/common/kernel/imgsensor/inc/kd_imgsensor.h
vendor/mediatek/proprietary/custom/mt6735/hal/D2/lens/lenslist.cpp

kernel-3.10/arch/arm/configs/T39D_T60_debug_defconfig
kernel-3.10/arch/arm/configs/T39D_T60_defconfig


device/alibaba/T39D_T60/ProjectConfig.mk


六、闪光灯


kernel-3.10/drivers/misc/mediatek/flashlight/Kconfig  
kernel-3.10/drivers/misc/mediatek/flashlight/src/mt6735/constant_flashlight/leds_strobe.c
device/alibaba/T39D_T60/ProjectConfig.mk

七、Gsensor 


kernel-3.10/drivers/misc/mediatek/accelerometer/mxc622x
kernel-3.10/drivers/misc/mediatek/accelerometer/Makefile
kernel-3.10/drivers/misc/mediatek/Kconfig.drivers
kernel-3.10/include/linux/sensors_io.h


kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/accelerometer/mxc622x
kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/Makefile


kernel-3.10/arch/arm/configs/T39D_T60_debug_defconfig
kernel-3.10/arch/arm/configs/T39D_T60_defconfig


device/alibaba/T39D_T60/ProjectConfig.mk


八、Alsps 


kernel-3.10/drivers/misc/mediatek/alsps/stk3x1x-new
kernel-3.10/drivers/misc/mediatek/alsps/em30718
kernel-3.10/drivers/misc/mediatek/alsps/Makefile
kernel-3.10/drivers/misc/mediatek/Kconfig.drivers

kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/alsps/stk3x1x-new
kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/alsps/em30718
kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/Makefile

kernel-3.10/arch/arm/configs/T39D_T60_debug_defconfig
kernel-3.10/arch/arm/configs/T39D_T60_defconfig


九、音频相关


kernel-3.10/sound/soc/mediatek/mt_soc_audio_v3/mt_soc_codec_63xx.c


十、工厂测试


vendor/mediatek/proprietary/custom/T39D_T60/factory/factory.chn.ini
vendor/mediatek/proprietary/custom/T39D_T60/factory/inc/cust.h
vendor/mediatek/proprietary/custom/T39D_T60/factory/inc/cust_led.h


十一、其它


①Gpio 配置


bootable/bootloader/lk/target/T39D_T60/dct/dct/codegen.dws
bootable/bootloader/preloader/custom/T39D_T60/dct/dct/codegen.dws
kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/dct/dct/codegen.dws
vendor/mediatek/proprietary/custom/T39D_T60/kernel/dct/dct/codegen.dws


这四个是一样的,只要修改其中一个,其它拷贝。


②去除不需要的配置


kernel-3.10/arch/arm/configs/T39D_T60_debug_defconfig
kernel-3.10/arch/arm/configs/T39D_T60_defconfig


device/alibaba/T39D_T60/ProjectConfig.mk




③私有化目录重点比较!
device/alibaba/T39D_T60/ProjectConfig.mk


bootable/bootloader/lk/target/T39D_T60/


bootable/bootloader/preloader/custom/T39D_T60/


kernel-3.10/drivers/misc/mediatek/mach/mt6735/T39D_T60/


vendor/mediatek/proprietary/custom/T39D_T60/

发布了154 篇原创文章 · 获赞 12 · 访问量 52万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览