In imx6solo android PMIC(MMPF100) issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

In imx6solo android PMIC(MMPF100) issue

Jump to solution
2,175 Views
aravinthkumarja
Senior Contributor II

Hi all,

We are using imx6solo custom board. In this we have MMPF100 - pmic IC. I configure this pmic in uboot and kernel also. i got the PMIC detecetion log in uboot and kernel also.

In u-boot log:

U-Boot 2014.04-08637-gaffa032-dirty (May 20 2016 - 16:28:07)

CPU:   Freescale i.MX6SOLO rev1.1 at 792 MHz

CPU:   Temperature 31 C, calibration data: 0x5444cf5f

Reset cause: POR

Board: MX6-SabreSD

I2C:   readyf

DRAM:  1 GiB

MMC:   ***case 0***

FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

***get_cd==case 2***

*** Warning - bad CRC, using default environment

No panel detected: default to HDMI

Display: HDMI (1920x1080)

In:    serial

Out:   serial

Err:   serial

** Found PFUZE100 deviceid=10,revid=21

unsupported boot devices

check_and_clean: reg 0, flag_set 0

Fastboot: Normal

flash target is MMC:1

***get_cd==case 2***

Net:   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Phy not found

PHY reset timed out

FEC [PRIME]

Warning: failed to set MAC address

Kernel log:

pfuze100-regulator 0-0008: Full lay: 2, Metal lay: 1

pfuze100-regulator 0-0008: FAB: 0, FIN: 0

pfuze100-regulator 0-0008: pfuze100 found.

SW1AB: 300 <--> 1875 mV at 1375 mV

SW1C: 300 <--> 1875 mV at 1375 mV

SW2: 800 <--> 3300 mV at 3300 mV

SW3A: 400 <--> 1975 mV at 1500 mV

SW3B: 400 <--> 1975 mV at 1500 mV

SW4: 800 <--> 3300 mV at 3150 mV

SWBST: 5000 <--> 5150 mV at 5000 mV

VSNVS: 1000 <--> 3000 mV at 3000 mV

VREFDDR: 750 mV

VGEN1: 800 <--> 1550 mV at 1500 mV

VGEN2: 800 <--> 1550 mV at 1500 mV

VGEN3: 1800 <--> 3300 mV at 2800 mV

VGEN4: 1800 <--> 3300 mV at 1800 mV

VGEN5: 1800 <--> 3300 mV at 3000 mV

VGEN6: 1800 <--> 3300 mV at 3300 mV

Serial: IMX driver

From boot log i think PMIC configuration is proper. But we check in hardware the voltage is not reduced and also processor is heating.

How to fix it??

Regards,

Aravinth

1 Solution
1,368 Views
igorpadykov
NXP Employee
NXP Employee

if correct board configuration is selected, refer to attached Linux Guide

sect.5 Enabling Solo Emulation, no need for any code changes.

Using mfg tools, configuration mfgtool2-android-mx6dl-sabresd-sd.vbs

should be used. Seems you can debug it, adding printfs to cpufreq driver.

~igor

View solution in original post

6 Replies
1,369 Views
igorpadykov
NXP Employee
NXP Employee

if correct board configuration is selected, refer to attached Linux Guide

sect.5 Enabling Solo Emulation, no need for any code changes.

Using mfg tools, configuration mfgtool2-android-mx6dl-sabresd-sd.vbs

should be used. Seems you can debug it, adding printfs to cpufreq driver.

~igor

1,368 Views
aravinthkumarja
Senior Contributor II

Hi igorpadykov​,

Thanks for your response.

Now i am able to get "SW1AB: 300 <--> 1875 mV at 1175 mV" in my custom board also.

In EVK after kernel up SW1AB always in 1175 mV only. Android goes to sleep mode in evk SW1AB reduced to 0.9 V.

but in our custom board after kernel up after few seconds later SW1AB goes to 1275 mV. And android goes to sleep mode in custom board SW1AB back to 1175 mV.

How to hold SW1AB in 1175 mV in active state and SW1AB in 0.9 V in sleep mode.??

Regards,

Aravinth

0 Kudos
1,368 Views
igorpadykov
NXP Employee
NXP Employee

Hi aravinthkumar

could you try linux below (also with U-Boot 2014.04 version), will it work

Board Support Packages (38)

L3.14.28_1.0.0_iMX6QDLS_BUNDLE (REV L3.14.28_1.0.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

what android used in the case, it is from official nxp product page ?

SABRE Board Reference Design|NXP

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,368 Views
aravinthkumarja
Senior Contributor II

Hi,

EVK board PMIC kernel log:

pfuze100-regulator 1-0008: Full lay: 1, Metal lay: 1

pfuze100-regulator 1-0008: FAB: 0, FIN: 0

pfuze100-regulator 1-0008: pfuze100 found.

SW1AB: 300 <--> 1875 mV at 1175 mV

SW1C: 300 <--> 1875 mV at 1175 mV

Custom board PMIC Kernel log:

pfuze100-regulator 0-0008: Full lay: 2, Metal lay: 1

pfuze100-regulator 0-0008: FAB: 0, FIN: 0

pfuze100-regulator 0-0008: pfuze100 found.

SW1AB: 300 <--> 1875 mV at 1375 mV

SW1C: 300 <--> 1875 mV at 1375 mV

How to reduce this SW1AB: 300 <--> 1875 mV at 1375 mV into SW1AB: 300 <--> 1875 mV at 1175 mV ??
Where i need to configure this 1375 -> 1175 voltagein kernel .??

Regards,

Aravinth

0 Kudos
1,368 Views
igorpadykov
NXP Employee
NXP Employee

what bsp are you using ?

>Where i need to configure this 1375 -> 1175 voltagein kernel .?

these voltages are set by CPU Frequency Scaling (CPUFREQ) Driver,

it is just necessary to use correct image for board. Description can be found

in Linux/Android documentation included in bsp.

~igor

0 Kudos
1,368 Views
aravinthkumarja
Senior Contributor II

Hi igorpadykov​,

    I'm using freescale android 4.4.3 bsp.

In EVK board log we got "SW1AB: 300 <--> 1875 mV at 1175 mV", but in our custom board we got "SW1AB: 300 <--> 1875 mV at 1375 mV" .And also Our processor is heating. So i need to make 1375 mV into 1175 mV in our custom board.

How to do this..?

Regards,

Aravinth

0 Kudos