关于MT6592上PMIC的配置说明
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
MT6592上采用MT6322+MT6333两颗PMIC的solution,在配置上有一些需要特别注意的地方
MT6592 uses two PMICs: MT6322+MT6333. We need to pay attention to some
points.
[KEYWORD]
VRF18 Worldphone PMIC MT6333 MT6322 睡眠掉电
VRF18, worldphone, PMIC, MT6333+MT6322, Battery disconnect in sleep mode
[SOLUTION]
1 一定要在DCT PMIC setting里选择MT6322+MT6333PMUMP,并且根据贵司硬件连接和实际使用需求正确
配置每个LDO的Default Enable/Disable状态,详细说明如下:
1. Select MT6322+MT6333PMUMP in DCT PMIC setting and configure the Default
Enable/Disable state of every LDO according to your hardware connection
and actual demand. Find the illustration in details as below:
图一 MT6592拼图DCT中PMIC配置说明 Picture 1 PMIC configuration in DCT of MT6592
注意:如果没有配置或者配置错误,可能会出现睡眠后掉电等不可预知的问题。
Note: If it is not configured or the configuration is wrong, some
unexpected issue like battery disconnection in sleep mode will happen.
2 MT6333使用I2C通信,默认是接到I2C1,如果贵司硬件上有修改,请根据贵司硬件连接正确配置I2C
channel number:
2. MT6333 uses I2C communication and it connects to I2C1 by default. If you
modify hardware, please configure I2C channel number correctly:
Change MT6333 I2C number, default is align reference design(I2C 1),
若改为I2C0, 请加入#define MT6333_I2C_CHANNEL_CHANGED_0
若改为I2C2, 请加入#define MT6333_I2C_CHANNEL_CHANGED_2
If the channel number is changed to I2C0, add #define
MT6333_I2C_CHANNEL_CHANGED_0
If the channel number is changed to I2C2, add #define
MT6333_I2C_CHANNEL_CHANGED_2
Add file:
alps\mediatek\custom\<project_name>\kernel\battery\battery\cust_pmic.h
Modify:
alps\mediatek\custom\<project_name>\lk\include\target\board.h
alps\mediatek\custom\<project_name>\preloader\inc\cust_bldr.h
3 预设会使用MT6333上的Vcore和VM,而VRF18可供选择连接到MT6322还是MT6333。因此,在92平台的
ProjectConfig.mk文件中多了如下宏配置:
3. Vcore and VM of MT6333 will be used. VRF18 can be connected to MT6322 or
MT6333. So in ProjectConfig.mk file of MT6592, the following
configurations are added:
alps\mediatek\config\mt6592\ProjectConfig.mk
mtk_MT6333_SUPPORT = yes
IS_VCORE_USE_6333VCORE = yes
IS_VM_USE_6333VM = yes
IS_VRF18_USE_6333VRF18 = yes
请确认贵司HWVRF18的连接,VRF18是否有连接到MT6333:
VRF18连接到MT6333,请保持这样的配置
IS_VRF18_USE_6333VRF18 = yes
并且如图一中红色文本框中的说明,在DCT里将MT6333_VRF18配置成ON的状态;
VRF18没有接到MT6333上,请在
alps\mediatek\config\<project_name>\ProjectConfig.mk里修改配置:
IS_VRF18_USE_6333VRF18 = no
并且在DCT正确配置MT6333_VRF18的状态。
Check the connection of HWVRF18, if VRF18 is connected to MT6333:
Set IS_VRF18_USE_6333VRF18 = yes
Follow the illustration marked in red box in Picture 1, set MT6333_VRF18
=ON in DCT
If VRF18 is not connected to MT6333:
In alps\mediatek\config\<project_name>\ProjectConfig.mk,
Set IS_VRF18_USE_6333VRF18 = no
And configure the state of MT6333_VRF18 in DCT.