Mt6573 driver debugging notes

Source: Internet
Author: User

========================================================== ========================================================== ======================
Drivers debug
Bytes -------------------------------------------------------------------------------------------------------------
Board_init
Bytes -------------------------------------------------------------------------------------------------------------
/Mediatek/platform/mt6573/kernel/CORE/mt6573_devs.c
All device names corresponding to driver names can be found here!
Bytes -------------------------------------------------------------------------------------------------------------
LCD
Bytes -------------------------------------------------------------------------------------------------------------
/Mediatek/custom/common/uboot/LCM
/Mediatek/custom/common/kernel/LCM
Custom_uboot_lcm = ili94820.dpi
**************************************** *******************
Lcm_width = 320
Lcm_height = 480
Custom_uboot_lcm = ili94820.dpi
Custom_kernel_lcm = ili94820.dpi
**************************************** *******************
Bytes -------------------------------------------------------------------------------------------------------------
Camera
Bytes -------------------------------------------------------------------------------------------------------------
Kernel
/Mediatek/custom/common/kernel/imgsensor/src
Kd_imgsensor.h
Kd_sensorlist.h
Hal
/Mediatek/custom/common/hal/imgsensor/
Sensorlist. cpp
Mtkcamerahardware. cpp
**************************************** *******************
Custom_hal_camera = camera
Custom_hal_imgsensor = gc2015_yuv
Custom_kernel_imgsensor = gc2015_yuv
Custom_hal_main_imgsensor = gc2015_yuv
Custom_kernel_main_imgsensor = gc2015_yuv
**************************************** *******************
Bytes -------------------------------------------------------------------------------------------------------------
Touchpanel
Bytes -------------------------------------------------------------------------------------------------------------
/Mediatek/custom/common/kernel/touchpanel/src/mtk_tpd.c
Tpd_driver_add (& tpd_device_driver );
Platform_driver_unregister (& tpd_driver );
**************************************** *******************
Custom_kernel_touchpanel = comm
# Default settings: Generic
# Candidate settings: Generic; eeti_pcap7200
# Select the Panel used by certain project.
**************************************** *******************
Bytes -------------------------------------------------------------------------------------------------------------
Flash
Bytes -------------------------------------------------------------------------------------------------------------
Custom_memory_hdr = mediatek/custom/$ (Project)/preloader/INC/custom_memorydevice.h
Custom_nand_hdr = mediatek/custom/$ (Project)/common/nand_device_list.h
Memory_device_xls = mediatek/build/tools/emigen/$ (mtk_platform)/memorydevicelist_((mtk_platform).xls
Bytes -------------------------------------------------------------------------------------------------------------
Gpio_config
Bytes -------------------------------------------------------------------------------------------------------------
./Mediatek/build/makemtk. mk + 294

Drvgen:
Ifneq ($ (Project), generic)
$ (Hide) echo $ (Showtime) $ @ ing...
$ (Hide) echo-e \ t \ B \ blog: $ (s_log) $ @. Log
$ (Hide) mediatek/source/DCT/drvgen mediatek/custom/$ (Project)/kernel/DCT/codegen. DWS $ (deal_stdout_drvgen )&&\
$ (Showrslt) $? $ (Log) $ @. log | \
$ (Showrslt) $? $ (Log) $ @. Log
Endif
**************************************** *****
Mediatek/source/DCT/drvgen
Mediatek/custom/$ (Project)/kernel/DCT/codegen. DWS
**************************************** *****
Bytes -------------------------------------------------------------------------------------------------------------
G-Sensor
Bytes -------------------------------------------------------------------------------------------------------------
Int hwmsen_gsensor_add (struct sensor_init_info * OBJ)
/Mediatek/custom/common/kernel/accelerometer/auto/
/Mediatek/config/MTK/projectconfig. mk: 188: mtk_sensor_support = Yes
# Android sensor device
Mtk_sensor_support = Yes
Custom_kernel_magnetometer =
# Akm8962
# Akm8975
# Auto for detcet by lilingyun
Custom_kernel_accelerometer = auto
Custom_kernel_alsps = tmd2771
Custom_kernel_barometer =
Custom_kernel_gyroscope =
# L00004200d
# If defined (mtk_auto_detect_accelerometer)
/Mediatek/source/kernel/Drivers/hwmon/hwmsen/hwmsen_dev.c
**************************************** ****
# Auto for detcet by lilingyun
Custom_kernel_accelerometer = auto
**************************************** ***
Bytes -------------------------------------------------------------------------------------------------------------
Compass
Bytes -------------------------------------------------------------------------------------------------------------
Mediatek/custom/common/kernel/Magnetometer/akm8962/akm8962.c
Mediatek/custom/tm100/kernel/Magnetometer/akm8962/cust_mag.c
**************************************** *****
Custom_kernel_magnetometer =
# Akm8962
# Akm8975
**************************************** ****
Bytes -------------------------------------------------------------------------------------------------------------
ALS/ps light sensor
Bytes -------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_alsps = tmd2771
**************************************** *****
Mediatek/custom/common/kernel/alsps/tmd2771/tmd2771.c
Mediatek/custom/common/kernel/alsps/tmd2771/tmd2771.h
Mediatek/custom/tm100/kernel/alsps/tmd2771/cust_alsps.c
Bytes -------------------------------------------------------------------------------------------------------------
Gyro-sensor motion sensor Gyroscope
Bytes -------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_gyroscope =
# L00004200d
**************************************** *****
Mediatek/custom/common/kernel/gyroscope/l00004200d/l00004200d. c
Mediatek/custom/tm100/kernel/gyroscope/lda-4200d/cust_gyro.c
Bytes -------------------------------------------------------------------------------------------------------------
Barometer-sensor barometer
Bytes -------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_barometer =
# Ms5607
**************************************** *****
Mediatek/custom/tm100/kernel/barometer/ms5607/cust_baro.c
Mediatek/custom/common/kernel/barometer/ms5607/ms5607.c

Bytes ------------------------------------------------------------------------------------------------------------
Flashlight
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_hal_flashlight = dummy_flashlight
Custom_kernel_flashlight = dummy_flashlight
**************************************** *****
Mediatek/custom/common/kernel/flashlight/dummy_flashlight/dummy_flashlight.c
Mediatek/custom/common/kernel/flashlight/src/kd_flashlightlist.c

Bytes ------------------------------------------------------------------------------------------------------------
Jogball
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_jogball =
**************************************** *****
Mediatek/custom/common/kernel/jogball/

Bytes ------------------------------------------------------------------------------------------------------------
LEDs
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_leds = mt65xx
**************************************** *****
Mediatek/custom/common/kernel/LEDs

Bytes ------------------------------------------------------------------------------------------------------------
Matv
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_hal_matv =
Custom_kernel_matv =
Have_matv_feature = No
**************************************** *****
Mediatek/custom/common/kernel/matv/mt5193/matv. c

Bytes ------------------------------------------------------------------------------------------------------------
Sound
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Mtk_soundrecorder_app = Yes
Custom_kernel_sound = Speaker
**************************************** *****
Mediatek/custom/common/kernel/sound/INC/yusu_android_speaker.h
Mediatek/custom/tm100/kernel/sound/speaker/yusu_android_speaker.c

Bytes ------------------------------------------------------------------------------------------------------------
USB
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_usb = mt6573
**************************************** *****
Mediatek/custom/common/kernel/USB/src/makefile
Mediatek/custom/mt6573/kernel/USB/src/mtk_usb_custom.c
Mediatek/custom/mt6573/kernel/USB/src/mtk_usb_custom.h
Mediatek/custom/mt6573/uboot/INC/cust_sdc.h
Mediatek/platform/mt6573/kernel/Drivers/USB-Gadget/
Mediatek/platform/mt6573/kernel/Drivers/power/

Bytes ------------------------------------------------------------------------------------------------------------
BT
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Mtk_wlan_chip = mt6620
# Candidate settings: mt6620
Mtk_bt_chip = mtk_mt6620
# Candidate settings: mtk_mt6611/mtk_mt6612/mtk_mt6616/mtk_mt6620
Mtk_wlan_support = Yes
Mtk_bt_support = Yes
Mtk_wlan_support = Yes
Mtk_wlanbt_singleant = No
Mtk_bt_30_hs_support = Yes
#### Config BT feature ###########
# Please do not modify these options
Mtk_bt_21_support = Yes
Mtk_bt_30_support = Yes
Mtk_bt_40_support = Yes
Mtk_bt_fm_over_bt_via_controller = Yes
Mtk_bt_profile_opp = Yes
Mtk_bt_profile_simap = Yes
Mtk_bt_profile_prxm = Yes
Mtk_bt_profile_prxr = Yes
Mtk_bt_profile_hidh = Yes
Mtk_bt_profile_ftp = Yes
Mtk_bt_profile_pbap = Yes
Mtk_bt_profile_manager = Yes
Mtk_bt_profile_bpp = Yes
Mtk_bt_profile_bip = Yes
Mtk_bt_profile_dun = Yes
Mtk_bt_profile_pan = Yes
Mtk_bt_profile_hfp = Yes
Mtk_bt_profile_a2dp = Yes
Mtk_bt_profile_avrcp = Yes
Mtk_bt_profile_avrcp14 = Yes
Mtk_bt_profile_timec = No
Mtk_bt_profile_times = No
Mtk_bt_profile_maps = No
Mtk_bt_profile_mapc = No
Mtk_bt_profile_spp = Yes
#### Config BT feature end ####
**************************************** *****
Mediatek/custom/common/kernel/btwlanem. c

Bytes ------------------------------------------------------------------------------------------------------------
EEPROM
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_hal_eeprom = dummy_eeprom
Custom_kernel_eeprom = dummy_eeprom
**************************************** *****
Mediatek/custom/common/kernel/EEPROM/dummy_eeprom/dummy_eeprom.c

Bytes ------------------------------------------------------------------------------------------------------------
FM
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Mtk_fm_chip = mt6620_fm
Mtk_fm_support = Yes
Mtk_fm_tx_support = Yes
Mtk_fm_audio = fm_analog_input
# Fm_digital_input
**************************************** *****
Mediatek/custom/common/kernel/FM/mt6620/dummy. c

Bytes ------------------------------------------------------------------------------------------------------------
Voice Coil motor driver
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_hal_lens = dummy_lens
Custom_kernel_lens = dummy_lens
Custom_hal_main_lens = dummy_lens
Custom_hal_main_backup_lens =
Custom_hal_sub_lens = dummy_lens
Custom_hal_sub_backup_lens =
Custom_kernel_main_lens = dummy_lens
Custom_kernel_main_backup_lens =
Custom_kernel_sub_lens = dummy_lens
Custom_kernel_sub_backup_lens =
**************************************** *****
Mediatek/custom/common/kernel/lens/dummy_lens/dummy_lens.c

Bytes ------------------------------------------------------------------------------------------------------------
Ofn
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_ofn = ofn1090
**************************************** *****
Mediatek/custom/common/kernel/ofn/INC
Mediatek/custom/tm100/kernel/ofn/ofn1090/cust_ofn.c

Bytes ------------------------------------------------------------------------------------------------------------
WiFi
Bytes -----------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_wifi =
Mtk_screen_off_wifi_off = No
Mtk_wifi_p2p_support = Yes
Mtk_wifi_hotspot_support = Yes
**************************************** *****
Mediatek/custom/common/kernel/WiFi/mt592x/dummy. c

Bytes ------------------------------------------------------------------------------------------------------------
Headset
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_headset = accdet
Mtk_headset_icon_support = Yes
**************************************** *****
Mediatek/custom/tm100/kernel/headset/accdet/accdet_custom.h

Bytes ------------------------------------------------------------------------------------------------------------
Board configuration and partition information
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
**************************************** *****
Mediatek/custom/tm100/kernel/CORE/src/board. c
Mediatek/custom/tm100/kernel/CORE/src/partition. c

Bytes ------------------------------------------------------------------------------------------------------------
PM
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_battery = battery
**************************************** *****
Mediatek/custom/tm100/kernel/battery/cust_battery.h
Mediatek/custom/tm100/kernel/battery/custom_fuel_gauge.h
Mediatek/platform/mt6573/kernel/Drivers/power/mt6573_battery.c

Bytes ------------------------------------------------------------------------------------------------------------
RTC
Bytes ------------------------------------------------------------------------------------------------------------
**************************************** *****
Custom_kernel_rtc = rtc
# Default settings: rtc
# Candidate settings: rtc
# For rtc
**************************************** *****
Mediatek/custom/tm100/kernel/RTC/rtc-mt6573.h
Mediatek/platform/mt6573/kernel/Drivers/RTC/mtk_rtc.c

Bytes ------------------------------------------------------------------------------------------------------------
End
Bytes ------------------------------------------------------------------------------------------------------------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.