vddarm and vddsoc ldo bypass mode kernel 5.4

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

vddarm and vddsoc ldo bypass mode kernel 5.4

1,299 Views
mohamed-ali_fod
Contributor I

Hello,

With kernel 5.4, I have the following error at boot:

switch to ldo_bypass mode!

[ 0.047678] vddarm: bypassed regulator has no supply!
[ 0.047692] vddarm: failed to get the current voltage(-517)
[ 0.047731] anatop_regulator 20c8000.anatop:regulator-vddcore: failed to register vddarm
[ 0.048835] vddsoc: bypassed regulator has no supply!
[ 0.048849] vddsoc: failed to get the current voltage(-517)
[ 0.048882] anatop_regulator 20c8000.anatop:regulator-vddsoc: failed to register vddsoc
[ 0.063321] debugfs: Directory 'dummy-iomuxc-gpr@20e0000' with parent 'regmap' already present!
[ 1.537212] vddarm: bypassed regulator has no supply!
[ 1.542650] vddarm: failed to get the current voltage(-517)
[ 1.548362] anatop_regulator 20c8000.anatop:regulator-vddcore: failed to register vddarm
[ 1.556813] vddsoc: bypassed regulator has no supply!
[ 1.561975] vddsoc: failed to get the current voltage(-517)
[ 1.567639] anatop_regulator 20c8000.anatop:regulator-vddsoc: failed to register vddsoc
[ 1.579563] vddarm: bypassed regulator has no supply!
[ 1.584624] vddarm: failed to get the current voltage(-517)
[ 1.590380] anatop_regulator 20c8000.anatop:regulator-vddcore: failed to register vddarm
[ 1.598802] vddsoc: bypassed regulator has no supply!
[ 1.603864] vddsoc: failed to get the current voltage(-517)
[ 1.609495] anatop_regulator 20c8000.anatop:regulator-vddsoc: failed to register vddsoc

I am using the following device tree configuration:

pmic: pf0100@08 {
compatible = "fsl,pfuze100";
reg = <0x08>;
interrupt-parent = <&gpio7>;
interrupts = <12 8>;

regulators {
reg_IMX1V20: sw1ab { /* IMX1V20 */
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1875000>;
//regulator-always-on;
regulator-ramp-delay = <6250>;
};

reg_VDDSOC: sw1c { /* VDDSOC */
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1875000>;
//regulator-always-on;
regulator-ramp-delay = <6250>;
};

reg_IMX3V30: sw2 { /* IMX3V30 */
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
//regulator-always-on;
regulator-ramp-delay = <6250>;
};

reg_IMX1V35: sw3a { /* IMX1V35 */
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <3300000>;
//regulator-always-on;
regulator-ramp-delay = <6250>;
};

reg_C3V30: sw3b { /* C3V30 */
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <3300000>;
//regulator-always-on;
regulator-ramp-delay = <6250>;
};

vref_reg: vrefddr { /* VREF_DDR */
regulator-boot-on;
//regulator-always-on;
};

reg_vgen4_1v8: vgen4 { /* WLAN_1V80 */
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
//regulator-always-on;
};

reg_vgen5: vgen5 { /* IMX_VDDHIGH */
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
//regulator-always-on;
};

reg_vgen6: vgen6 { /* IMX2V50 */
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
//regulator-always-on;
};
};
};
};

&reg_arm {
vin-supply = <&reg_IMX1V20>;
};
&reg_soc {
vin-supply = <&reg_VDDSOC>;
};

How to support ldo-bypass mode?

Best Regards

0 Kudos
3 Replies

1,293 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mohamed

 

what board and bsp used in the case. One can refer to below nxp documentation for ldo configuration:

 

1.jpg

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

uboot ldo discussion:

https://lists.denx.de/pipermail/u-boot/2015-February/204788.html

 

Best regards
igor

0 Kudos

1,290 Views
mohamed-ali_fod
Contributor I

Hello Igor,

I am using a specific board based on CPU: Freescale i.MX6Q rev1.5 at 792 MHz, the kernel is linux-fslc 5.4.119 on yocto dunfell.

I am still using U-Boot 2014.07 that enables ldo-bypass before loading the kernel.

Thanks,

Mohamed Ali

0 Kudos

1,286 Views
igorpadykov
NXP Employee
NXP Employee

linux-fslc is community kernel, one can post issue on meta-fsl-arm mailing list

https://lists.yoctoproject.org/g/meta-freescale

Difference between NXP (`linux-imx`) and community kernels described for example on

https://lists.yoctoproject.org/g/meta-freescale/topic/imx6dl_dunfell_and_kernel/80897983?p=,,,20,0,0...

 

 

Best regards
igor

0 Kudos