SIM hot swap EINT module configuration for MT6572/MT6582/MT6592/MT6571
时间:10-02
整理:3721RD
点击:
[SIM] SIM hot swap EINT module configuration for MT6572/MT6582/MT6592/MT6571
[Description]
Smart phone SIM hot swap EINT module configuration for MT6572/MT6582/MT6592/MT6571
platforms.
In MT6572/MT6582/MT6592/MT6571 there is one internal Modem, modem1. You can find “MD_1_EINT
Setting” in DCT tool (codegen.dws).
[Solution]
- MT6572/MT6582/MT6592/MT6571
AP own EINT module -> "EINT Setting"
Modem1 ownEINT module -> "MD1_EINT Setting"
Configure according to your schematic design.
Example:
MT6592
GPIO14 -> MD_EINT2 mode
GPIO15 -> MD_EINT3 mode
SIM1hot swap detect pin usesMD_EINT No.1.
SIM2 hot swap detect pin uses MD_EINT No.2.
High level -> Insert SIM card(card)
Low level -> Remove SIM card(no card)
SIM hot swap "GPIO setting":
SIM hot swap "EINT setting":
Note:
- 1
The number of “MD_EINT” in “GPIO Setting” is different fROM the number of “EINT” in “EINT Setting”.
--------------------------------------------------------------------------------------
MT6572:
“MD_EINT” mode number selected in “GPIO Setting”EINT number in “MD1_EINT Setting”
MD_EINT0 -> MD1_EINT0
MD_EINT1 -> MD1_EINT1
MD_EINT2 -> MD1_EINT2
--------------------------------------------------------------------------------------
MT6582/MT6592/MT6571:
“MD_EINT” mode number selected in “GPIO Setting”EINT number in “MD1_EINT Setting”
MD_EINT1 -> MD1_EINT0
MD_EINT2 -> MD1_EINT1
MD_EINT3 -> MD1_EINT2
--------------------------------------------------------------------------------------
dct tool path:
\alps\mediatek\dct\DrvGen.exe
codegen.dws path:
\alps\mediatek\custom\${custom project}\kernel\dct\dct\codegen.dws
Double CLIck on “DrvGen.exe” in Windows; open “codegen.dws” to edit it.
Once the editing is done, click on OK -> Gen Code -> Save.
Build command:
./makemtk n lk k
./makeMtk bootimage
- 2
On MT6592 platform, in “modem EINT module”, software does not support “edge” trigger.
[Description]
Smart phone SIM hot swap EINT module configuration for MT6572/MT6582/MT6592/MT6571
platforms.
In MT6572/MT6582/MT6592/MT6571 there is one internal Modem, modem1. You can find “MD_1_EINT
Setting” in DCT tool (codegen.dws).
[Solution]
- MT6572/MT6582/MT6592/MT6571
AP own EINT module -> "EINT Setting"
Modem1 ownEINT module -> "MD1_EINT Setting"
Configure according to your schematic design.
Example:
MT6592
GPIO14 -> MD_EINT2 mode
GPIO15 -> MD_EINT3 mode
SIM1hot swap detect pin usesMD_EINT No.1.
SIM2 hot swap detect pin uses MD_EINT No.2.
High level -> Insert SIM card(card)
Low level -> Remove SIM card(no card)
SIM hot swap "GPIO setting":
SIM hot swap "EINT setting":
Note:
- 1
The number of “MD_EINT” in “GPIO Setting” is different fROM the number of “EINT” in “EINT Setting”.
--------------------------------------------------------------------------------------
MT6572:
“MD_EINT” mode number selected in “GPIO Setting”EINT number in “MD1_EINT Setting”
MD_EINT0 -> MD1_EINT0
MD_EINT1 -> MD1_EINT1
MD_EINT2 -> MD1_EINT2
--------------------------------------------------------------------------------------
MT6582/MT6592/MT6571:
“MD_EINT” mode number selected in “GPIO Setting”EINT number in “MD1_EINT Setting”
MD_EINT1 -> MD1_EINT0
MD_EINT2 -> MD1_EINT1
MD_EINT3 -> MD1_EINT2
--------------------------------------------------------------------------------------
dct tool path:
\alps\mediatek\dct\DrvGen.exe
codegen.dws path:
\alps\mediatek\custom\${custom project}\kernel\dct\dct\codegen.dws
Double CLIck on “DrvGen.exe” in Windows; open “codegen.dws” to edit it.
Once the editing is done, click on OK -> Gen Code -> Save.
Build command:
./makemtk n lk k
./makeMtk bootimage
- 2
On MT6592 platform, in “modem EINT module”, software does not support “edge” trigger.