Setting PMIC VDDARM_IN and VDDSOC_IN separately

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

Setting PMIC VDDARM_IN and VDDSOC_IN separately

807 Views
Maddis
Contributor IV

This is more Linux question not so much HW.

We have custom i.MX6Q based and so far VDDARM_IN and VDDSOC_IN had been set to same 1.425V. Now there is need to set VDDSOC_IN to 1.375V, but leave VDDARM_IN to 1.425V.

In Linux device tree pmic voltage configured like this:

--

                        operating-points = <
                                /* kHz    uV */
                                1200000 1425000
                                996000  1425000
                                852000  1425000
                                792000  1425000
                                396000  1425000
                        >;
                        fsl,soc-operating-points = <
                                /* ARM kHz  SOC-PU uV */
                                1200000 1425000
                                996000  1425000
                                852000  1425000
                                792000  1425000
                                396000  1425000 

                      >;

&cpu0 {
        arm-supply = <&sw1c_reg>; /* SW1A/B/C combined */
        soc-supply = <&sw2_reg>;
        pu-supply = <&reg_pu>;
};

--

These settings set both VDDSOC_IN and VDDARM_IN voltages even If I change soc-operating points only. So how do I change only VDDSOC_IN if that's even possible with current system?

Labels (2)
0 Kudos
2 Replies

604 Views
art
NXP Employee
NXP Employee

You can set up the PMIC output voltages as required at runtime using the regular PMIC driver, as described in the Section 2.3.2 of the attached document.


Have a great day,
Artur

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

604 Views
Maddis
Contributor IV

I was hoping quick'n'easy Device Tree config change, but I guess I'll have to use PMIC API. Thanks.

0 Kudos